Quantcast Mencoder: Mencoder for Windows - digitalFAQ.com Forums [Archives]
  #1  
01-18-2004, 05:13 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Edit-I moved this topic from KDVD to ffmpeg. I forgotten where I had written it...Sorry guys

Hi guys,
@all windows users
I've recently found ffmpeg/mplayer/mencoder and after some tests I can say we could get some really good results with it.
You can find some topics about it in our forums but I cannot find any information on windows users only.
From what I have learnt until now this (m)encoder is a very powerful command line tool only lacking
compatibility with avisynth scripts and dvd2avi projects. We can only do AVI (including DivX/XviD) and VOB files to name the more popular...
But still, I think we should try more than we did so far and I think we should post our doubts, workarounds and results with it.
There's no point in making comparisons with tmpgenc, cce or mce because these are script compatible.
@all linux users
Hey, you guys have a script made up by russiansexpat. Why don't you give us some help and advise?

Here are some links:

mencoder for windows - http://armory.nicewarrior.org/projects/cygmp/

Home for mplayer project - http://www.mplayerhq.hu/

I suspect I still don't know how to use the arguments (especially vrc_buf_size, scale and expand) but here is the latest command line I used for KVCD notch matrix on MPEG2 704x576:
Code:
mencoder -sws 2 -vf denoise3d,eq2,scale=704:-3,expand=0:576 -ofps 25 -forceidx -of mpeg -nosound -ovc lavc -lavcopts vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79:inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44:mbd=2:vbitrate=2200:vrc_minrate=300:vrc_maxrate=3000:vrc_buf_size=917:keyint=25:vlelim=-4:vcelim=7:lumi_mask=0.05:dark_mask=0.01 'D:\BTTF\VOBS\VTS_01_1.vob' -o 'd:\bttf\m2v\encoded.mpg'
__________________
Rui
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-18-2004, 05:50 AM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
Wow
This is (almost) exactly what i was lookin for. Thx RDS. I'm no mencoder expert, but in near future I'll doo some test and experiments with this.
Still big inconvenience is lack of using AVS scripts. Maybe someone find another solution for this (mayby another type of script). I was wondering if it is possible to use VD frame server as input for mencoder. Any ideas?
__________________
Go for SECAM =)
Reply With Quote
  #3  
01-18-2004, 09:21 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi Hydeus,
In fact it is a big inconvenience the avs thing.
But I think that the guys are not giving it the attention it deserves.
I remember Karl on his toes when he first tried ffmpegx on his Mac. By then he was all excited.
The same goes for a lot of guys when they first tried ffmpeg for windows compiled by Karl. The talking endured for weeks.
But things got going and after a few months we get to see the community divided because of this M$ vs *nix, mine is bi**er than yours thing...
You know, they're not excited anymore and you can see that Phil raised a question on how is the development right now and everybody started off-topic conversations.
The only guys that could give us some help right now because they're all turned on with it, are russiansexpat and the
*nix guys, but they don't waste much of their time thinking about how a M$ guy would solve his problem with M$ OS.
For them the guy simply should avoid M$ and he should join *nix brotherhood.
It's simply a shame because we really don't know how fast mencoder is against tmpg, cce or mce because it cannot read avs but we sure know it is a hell lot faster than those 3 when encoding from avi. And the quality is just great.
I guess I'm just going to keep using tmpg and having to wait 24H of encoding LOTR-TT to KDVD...
C ya
__________________
Rui
Reply With Quote
  #4  
01-18-2004, 05:46 PM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
VirtualDub frame server file vdr is not a valid input file for mencoder Does anybody know a diferent frame server, with read of AVS files?
I found one solution, "very simple but very stupid" :
create a uncompresed (or almost loseless compression) avi file, from source file, worked out by avs script, and then feed the mencoder with that avi file. :banghead: But who wants to play with that? I give you a hint -> not me
Beter search for another solution (like temporal ignorance of low quality ) ->
__________________
Go for SECAM =)
Reply With Quote
  #5  
01-18-2004, 06:29 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi Hydeus,
It's seams that nothing will work: VFAPI, VDub, makeAVIS.
Tried with the above 3 and it didn't work.
But that doesn't mean that there is no way we can make it work.
TMPGEnc didn't work also but someone built ReadAVS.dll and we started playing.
From my point of view tmpgenc is not an option. I know that the average PC is a 1,5Ghz CPU nowadays but I must remind us all that some guys are still stuck with <=1Ghz PCs, they use mencoder and *nix and they have superior MPEG files for their KVCDs faster than tmpgenc on M$.
More, FFMPEG and Mencoder are both free.
There's got to be a way for us to use AVS scripts with Mencoder...
Will someone help us here?
__________________
Rui
Reply With Quote
  #6  
01-18-2004, 07:07 PM
Dano Dano is offline
Free Member
 
Join Date: Apr 2003
Location: Brockton, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
This might help people on their way to mencoder on windows.

GuiMencoder

http://www.vdsworld.com/~vuks/bin2/gulmencoder.cab
__________________
-Dano
Reply With Quote
  #7  
01-18-2004, 07:19 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Thanks a lot Dano
I think I'll d/l it right now and tell you how it went tomorrow.
Cheers

Hey Hydeus,
Wanna play with me?
I swear I only mean with mencoder gui
__________________
Rui
Reply With Quote
  #8  
01-19-2004, 09:58 AM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
Ok What are the rules of the game?
I just downloaded gui file but in couple of hours I'll have not time to test it.

BTW: Did you noticed that I've been avanced to moderator by B2H
__________________
Go for SECAM =)
Reply With Quote
  #9  
01-19-2004, 02:25 PM
tuco1979 tuco1979 is offline
Free Member
 
Join Date: Aug 2002
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
The problem with makeavis is that ffvfw codec is not recongised by mencoder. I have been reading the man_page that came with mencoder and the filters mencoder have are pretty good. I do more tv captures than anything else and with tmpgenc, I would only need to use fluxsmooth and resize from avisynth. Denoise3d is very similar to fluxsmooth and gives me excellent results. I haven't experimented much with the other filters but it seems that the quality of filters are very similar to avisynth. I am going to try out the gui later.
__________________
tuco
Reply With Quote
  #10  
01-19-2004, 07:00 PM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
Thx Tuco for a hint. I'll keep that in mind.
__________________
Go for SECAM =)
Reply With Quote
  #11  
01-20-2004, 01:53 PM
tuco1979 tuco1979 is offline
Free Member
 
Join Date: Aug 2002
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
I tried the gui out but I am confused about how to input a text file so I could just make some preset text files. It is a good first effort though. I probably need to muck around with it some more.
__________________
tuco
Reply With Quote
  #12  
01-20-2004, 05:00 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hya all
I'm having the same problem as you tuco but then it may be that I need to grab my pillow for about 8 hours or so...
I feel like I can't get up from my chair...
See you guys tomorrow.
__________________
Rui
Reply With Quote
  #13  
01-20-2004, 05:31 PM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
I don't know how you guys, but I think I don't fully understand how this gui works With video codec -ovc lavc and parametr -lavcopts vcodec=mpeg1video I get avi mpeg1 file, which of cource is not a valid mpeg file Any small sugestion to move forward?
And could you explain me exacly what for are this text files you want to input?
__________________
Go for SECAM =)
Reply With Quote
  #14  
01-21-2004, 07:45 AM
russiansexpat russiansexpat is offline
Free Member
 
Join Date: Nov 2003
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
Both mplayer and mencoder sources can be file, device, network stream or pipe.
Mplayer can output into pipe (frame serve) for any other encoder, so initially I used mplayer to feed mpeg2enc
which is Linux variant of tmpgenc, see
http://dvdripping-guid.berlios.de/fo...opic.php?t=157
Mplayer/mencoder can process suntitles and vob, but I don't have experince with these, cause I don't do DVD authoring.
Also, mplayer has very powerful TV out support.
Unfortunately, mplayer/menocder man page and documentation are lacking explanation of many important parameters, so I had to test all parameters of my script and can explain them now.

Mencoder can be feed from pipe
(how it is called in windoze - bills vortex )
so most likely you can do pre-processing for mencoder by your tools.
__________________
are you ready for year 2038?
x+2038-1970 > (2^31+1)/(365.25*24*3600)
/dev/mem < /dev/null
Reply With Quote
  #15  
01-21-2004, 08:35 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi Russian friend.
Welcome to our humble M$ Mencoder topic

Quote:
Originally Posted by russiansexpat
...
Mplayer/mencoder can process suntitles and vob, but I don't have experince with these, cause I don't do DVD authoring.
Do know if I followed you correctly: did you mean suntitles or subtitles?
Because what I'm really doing is KDVD and DVD.
Quote:
Originally Posted by russiansexpat
Also, mplayer has very powerful TV out support.
On both Linux and M$ version or only for Penguins
Quote:
Originally Posted by russiansexpat
Unfortunately, mplayer/menocder man page and documentation are lacking explanation of many important parameters, so I had to test all parameters of my script and can explain them now.
Gee! I really would like to get my hands on that man page you refer.
Anyway I can call it by cmd line arguments in M$ (like mencoder -h)?
Quote:
Originally Posted by russiansexpat
Mencoder can be feed from pipe
(how it is called in windoze - bills vortex )
so most likely you can do pre-processing for mencoder by your tools.
Now I got completely lost
You mean "bills vortex" is the same as pipe?
Hell, I don't even know what is pipe but I think it should be like "|" in M$ batch files, is it?
So I could I use DVD2AVI and/or Avisynth for pre-processing?
Using pipe/bills vortex?
Could you give us some more hints my friend?
Because I believe only you "Penguin" guys can bail us out on this one...
Hope to hear from you guys soon.
C ya
__________________
Rui
Reply With Quote
  #16  
01-21-2004, 09:32 AM
tuco1979 tuco1979 is offline
Free Member
 
Join Date: Aug 2002
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
You can find the man_page here at http://www2.mplayerhq.hu/MPlayer/rel.../man_page.html. You should have had it when you downloaded mplayer I think. This should help you understand some of the filters more. For now I just make a .bat file with my presets since the GUI doesn't really do the things I would like it to.[/url]
__________________
tuco
Reply With Quote
  #17  
01-21-2004, 04:10 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Nice going tuco
Unfortunately I won't have much time to test it before the weekend but I'll take a look at it as soon as I can.
Thks
__________________
Rui
Reply With Quote
  #18  
01-21-2004, 05:28 PM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
Unfortunately putting avs script directly to mplayer for bill vortex (great name ) is not as simple as it seems Or maybe I don't know some rule to do this work. It says LMLM4 stream format not found, no mater if it is avi source or d2v source in script.
One good plugin, only one .... is it so much to ask
__________________
Go for SECAM =)
Reply With Quote
  #19  
01-21-2004, 11:25 PM
russiansexpat russiansexpat is offline
Free Member
 
Join Date: Nov 2003
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
Pipe is same as "|" in ms batch files. You can't put the code (script) through the pipe but you can put the result of your script into pipe and out of pipe to mencoder.
Consider pipe as virtual temporary file - one prorgram output into the pipe, and other program takes input from the pipe.

I briefly checked windoze mplayer/mencoder man page - your http link http://www2.mplayerhq.hu/MPlayer/rel.../man_page.html
and it looks the same as Lunix man page.
__________________
are you ready for year 2038?
x+2038-1970 > (2^31+1)/(365.25*24*3600)
/dev/mem < /dev/null
Reply With Quote
  #20  
01-21-2004, 11:36 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by russiansexpat
and it looks the same as Lunix man page.
Is that a new distro Lunix
Just kidding

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mencoder para Windows, último lanzamiento (pre6). Prodater64 Convertir y Codificar Video (Español) 6 12-24-2004 10:26 PM
MeWig - new mencoder GUI for Windows Hydeus Video Encoding and Conversion 8 11-09-2004 10:32 AM
Mencoder para Windows com suporte de scripts Avisynth rds_correia Conversão e Codificação de Vídeo (Português) 3 05-16-2004 06:58 PM
Mencoder process Priority limits in Windows? Jellygoose Video Encoding and Conversion 4 04-30-2004 02:32 AM
MEncoder under Windows 98 / 98SE / ME ? vhelp Video Encoding and Conversion 51 04-29-2004 05:08 AM

Thread Tools



 
All times are GMT -5. The time now is 11:09 PM  —  vBulletin © Jelsoft Enterprises Ltd