View Full Version : MEncoder/x264 encoding doubt
Weltall
24th April 2008, 21:37
Hello! I was recently using Real Anime 6 to convert my video files, but since it wont be updated anymore and x264/mencoder will, I've moved to Mediacoder, since I didnt find a better batch encoder. I liked BENCOS/RA6 cause they encode using mencoder.exe and not x264.exe, and this didnt give me any delays (I dont know why).
I didnt use MC before cause this process didnt work, it worked only with x264 (I had to give a delay, like -100ms, but this wasn't exact), but now is working with mencoder too! Anyway, here is my doubt:
Which is the difference? Is like mencoder has a built in x264 encoder? If this is true, how can I know which build is, since I cant find anywhere? I know which x264.exe build I get on x264.nl cause they show, but info about mencoder seems scarce on the net. Could someone please enlight me? I wanna know if I'm doing right, if there is a way for no delay with x264.exe, if MEncoder's x264 built in is as newer as x264.exe, and if there is a difference between MEncoder's 11MB+ Sherpya's build and 3MB* Media Coder's (which are they?). Please, I'm so lost.
One more: Is there something different on r800+ x264 build config than r600-700, I mean, some new options I should now or something I could be selecting that isn't that good anymore, if some names have changed.
I wait your answer, thank you!
Dark Shikari
24th April 2008, 21:39
Mencoder's version of x264 is whatever it was compiled with. This, potentially, could be a very old version.
Not much config-wise has changed since the r600s; there's new features such as AQ but that's on by default. Most changes have been speed optimizations.
Weltall
25th April 2008, 21:07
How could I know which version is that? How can I get rid of the delay using x264.exe? Could you help me? Or this problem is already fixed?
Thanks
Dark Shikari
25th April 2008, 21:10
Have you tried MeGUI?
Weltall
26th April 2008, 02:56
For Batch Encoding? :'(
Pleeeease
Edit.: I can't go and create jobs for every videos I have, this would take an eternity. That's why I need something more practical, not for dvdrip.
Dark Shikari
26th April 2008, 03:11
For Batch Encoding? :'(
Pleeeease
Edit.: I can't go and create jobs for every videos I have, this would take an eternity. That's why I need something more practical, not for dvdrip.I'm pretty sure MeGUI has batch functionality...
roozhou
26th April 2008, 09:00
and if there is a difference between MEncoder's 11MB+ Sherpya's build and 3MB* Media Coder's (which are they
MediaCoder's is packed by UPX.
Mencoder's version of x264 is whatever it was compiled with. This, potentially, could be a very old version.
Mencoder in latest MediaCoder build is compiled with x264 r819. And MediaCoder can use Mencoder as a frameserver that pipes raw YV12 to x264.exe
Weltall
27th April 2008, 06:11
Has it? As far as I know, I had to enqueue each file, one by one, then start the process, I didnt know drag and drop worked like on MC and RA6, how can I do this pls tell me!
roozhou, its the same process Real Anime does? Cause I didnt have delays when mencoder encoded instead of x264.exe (I mean on process list). Then its safe using MC's Mencoder to encode my files, I'll have the same quality as if I was using x264.exe from x264.nl? Where did you get these informations about latest build of mencoder, could you get me the exact link please?
Thanks for you support till now guys!
roozhou
28th April 2008, 07:40
Has it? As far as I know, I had to enqueue each file, one by one, then start the process, I didnt know drag and drop worked like on MC and RA6, how can I do this pls tell me!
roozhou, its the same process Real Anime does? Cause I didnt have delays when mencoder encoded instead of x264.exe (I mean on process list). Then its safe using MC's Mencoder to encode my files, I'll have the same quality as if I was using x264.exe from x264.nl? Where did you get these informations about latest build of mencoder, could you get me the exact link please?
Thanks for you support till now guys!
No exact link but just get it yourself. Encode a short clip with Mencoder and open the encoded file with hexeditor. You can easily find the revision number by searching "x264".
When encoding with Mencoder, MC stupidly pipes raw YV12 from one Mencoder to another Mencoder. So i suggest you use batch files for encoding with Mencoder instead of using MC.
BTW Mencoder can use x264vfw.dll. Grab the latest x264vfw build (r826?) from SF and put it in your mplayer/mencoder folder. So you don't need to wait for the latest mencoder build.
Weltall
29th April 2008, 19:56
Thank you roozhou, that hexeditior, I never thought about that :D. How can I use these batch files for encoding with mencoder? You mean command line? Don't have a clue.
I wanted to use mencoder for encoding cause using x264.exe gave me delays, and mencoder didnt, that's why. Btw, what would happen when mc does that piping? Is it slow or what? It's the same process Real Anime 6 and BENCOS do? Could you tell me this? Cause if it is, it didnt give sound delays, like using x264.exe (Real Anime 5, MeGUI and older MC using x264.exe, I didnt test x264.exe on it yet, I'll try now).
Sorry if I mispell some words, I'm always in learning process :)
roozhou
30th April 2008, 06:06
Thank you roozhou, that hexeditior, I never thought about that :D. How can I use these batch files for encoding with mencoder? You mean command line? Don't have a clue.
I wanted to use mencoder for encoding cause using x264.exe gave me delays, and mencoder didnt, that's why. Btw, what would happen when mc does that piping? Is it slow or what? It's the same process Real Anime 6 and BENCOS do? Could you tell me this? Cause if it is, it didnt give sound delays, like using x264.exe (Real Anime 5, MeGUI and older MC using x264.exe, I didnt test x264.exe on it yet, I'll try now).
Sorry if I mispell some words, I'm always in learning process :)
Sorry i've never used Real Anime or BENCOS. Piping has small affect on speed. The only thing lost in piping is timestamp for each frame which may cause A/V async in some cases. Both MC and MeGUI do video and audio encoding separately and mux them later. If the same frameserver is used (mencoder for MC and avs for MeGUI), you should get same audio-delay no matter mencoder or x264.exe is used for video encoding.
Weltall
30th April 2008, 10:01
Then I can't understand why with RA6 I didnt get this delay. Also, isnt this a preocupation of everyone which encode to h264? Is it only me that have this problem? o.O
roozhou
30th April 2008, 11:15
I don't think the audio-delay has anything related to x264. If mplayer plays your source video without A/V async, mencoder would encode to a correct file. If you do have A/V sync problem when playing in mplayer, just demux audio stream to a file and cut or add silence at the head of it before remuxing or reencoding.
stattik
30th April 2008, 21:34
BTW Mencoder can use x264vfw.dll. Grab the latest x264vfw build (r826?) from SF and put it in your mplayer/mencoder folder. So you don't need to wait for the latest mencoder build.
Will this work with a version of mencoder that's compiled with x264 support? I dropped the x264vfw.dll in the same folder as mencoder.exe but only the compiled version of x264 was used.
roozhou
30th April 2008, 22:58
Will this work with a version of mencoder that's compiled with x264 support? I dropped the x264vfw.dll in the same folder as mencoder.exe but only the compiled version of x264 was used.
You should use" -ovc vfw -xvfwopts codec=x264vfw.dll:compdata=dialog". A x264vfw configuaration dialog will popup. You can also use vfw2menc.exe to make setting files, e.g. "pass1.mcf", and change "compdata=dialog" to "compdata=pass1.mcf".
Weltall
6th May 2008, 20:59
I've tested MediaCoder with MENCODER encoding source and both MENCODER (compiled x264) and x264.exe encoders, I coudn't notice any delays anymore, which I had before using x264.exe, specially on megui (cause of ffdshow source) :D
I can be wrong, I would need more opinions from friends... I'll be testing from now on. Ok then, I'll stick with MC+x264.exe =D
I'm happy again! Almost, I mean... I will be testing settings now +__+
Excuse me...
Haha, thanks guys.
stax76
11th May 2008, 15:48
I'm pretty sure MeGUI has batch functionality...
Actually MeGUI don't support batch processing, you are confusing batch processing with job processing here, batch processing is when you have let's say 1000 source files and you want to encode them painlessly. You would make some settings or load a template/profile/preset with settings and let the application encode every source with these settings without further user input. Bencos, Super, MediaCoder and RipBot264 do it I think. StaxRip beta has probably the most complete automation support, it won't auto detect field processing settings as it's impossible to do this perfectly so batch processing is only recommended for identical sources like a TV series season.
Weltall
23rd May 2008, 17:09
That's it. No batch on megui is what Ive said.
Btw, that's what I encode, tv series and animes. I delete movies I've already watched.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.