Mencoder: Mencoder two-pass encoding questions
Quote:
Code:
of=rawvideo=1 |
The first encoding command line does output the fist encoded m2v!
During encoding that first m2v the mencoder engine creates a "divx2pass.log" in the mencoder folder. So the second pass (second m2v encoding) refers to that generated "divx2pass.log" while it overwrites the first m2v |
Why when i try to run a batch encode with besweet included, encoding stop at first pass?
|
:?:
What got besweet to do when talking about mencoders 2 passes? Or did I misunderstand you? http://www.kvcd.net/forum/viewtopic....weet&start=212 Quote:
You see the logic? :wink: |
I was see that thread, but when i try to do batch encoding, and I write a batch file as:
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 temp.avi -o temp.m2v mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 temp.avi -o temp.m2v "C:\Programme\_Video Encoding&Editing\!My Besweet & AC3MAchine\BeSweet.exe" -core( -input %audioa%.ac3 -output %audioa%new.ac3 -substream SubS ) -azid( -L -3db ) -ac3 mencoder.exe stops after first pass. (Maybe I don't have besweet last version. will be it?) |
a) Did you set the varaibles in the .bat right, like I did above?
b) You're still using a -include-link to my "MakeAVISnew.conf" I did create for my own needings (contained some special cropping resizing params). So do watch out you point to an existing one like in Mencoders Template folder (now its called another way! in VM's new version, but you will see the logic). The issue cant be a wrong besweet version as your batch wont even reach the audio encoding part but stops after the first pass video encoding. So I do assume you should just update the name of the -include file! |
Prodater, try as Inc advises, but I'm not completely sure the problem is in the .conf file, since it's the same used in first pass, and it seems first pass finishes well...
Does first pass complete well?. Do you get a .m2v file with all the film encoded?. And do you get a big divx2pass.log file?. Try putting a pause command after first pass and after second pass. Then you can see if first pass finishes really well without an error, and see if second pass gives an error... I think Inc is right when says that doesn't look the problem is in besweet, since it seems you don't arrive there |
Quote:
I used for my test a short clip and bat file generated for mencodeme (I used it) had a vbitrate > 50000 as it would want fill 1CD80. Now fixed. |
Quote:
You could post this "too high vbitrate" issue in mencodeme bugs thread |
I do not understand...
Which vbitrate=xxxx is given to mencoder when using MencoderME (or if set manually in the command line)??? ... as I understand you mean the resulted AVG bitrate after encoding?? |
Inc,
in mencodeme, when you load a file to be encoded, and set the destination (1cd KVCD i.e.), it automatically calculates the bitrate (average bitrate), that changes according to film length. If the film is too short, the bitrate calculated may be really high. And I guess that is the vbitrate that mencoder uses to encode. |
Ahhhh yes ...
I did read "mencoder issue" instead of "mencodeME" ;-) |
Quote:
|
Well, Prodater, don't call it a bug. But I think it'll be "easy" for VM to make mencodeme check the value in bitrate box, and if vbitrate>vrc_maxrate then vbitrate=vrc_maxrate...
... or whatever. It would make "automatic mode" work better. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.