05-04-2004, 07:41 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Incredible
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 %videoa%.avi -o %videoa%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 %videoa%.avi -o %videoa%.m2v
|
2 pass encoding line must contain "-include xxx.conf" if xxx.conf is:
Code:
of=rawvideo=1
ovc=lavc=1
nosound=1
sws=2
lavcopts=vcodec=mpeg1video:vrc_eq=tex:vmax_b_frames=2:vrc_maxrate=2500:aspect=1.3333:keyint=24:vrc_buf_size=917:preme=2:precmp=2:vstrict=-1:autoaspect=1:scplx_mask=0.3:vqblur=0:mbqmin=1:vqmin=1:mbqmin=1:lmin=1:intra_matrix=(notch matrix)
ofps=25
or all necessary information is in first "%videoa%.m2v " created?
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
05-04-2004, 07:48 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
05-04-2004, 09:17 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Why when i try to run a batch encode with besweet included, encoding stop at first pass?
|
05-04-2004, 09:27 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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:
Originally Posted by Incredible
Code:
REM ---------------------------- Setting Variables ------------------------
Set videoa="G:\TOY_STORY\toystory1"
Set videob="G:\TOY_STORY\toystory2"
Set videoc="G:\TOY_STORY\monsterinc"
Set audioa="G:\TOY_STORY\toystory AC3 T02 3_2ch 384Kbps DELAY 0ms"
Set audiob="G:\TOY_STORY\toystory2 AC3 T02 3_2ch 384Kbps DELAY 0ms"
Set audioc="G:\TOY_STORY\monsterinc AC3 T02 3_2ch 384Kbps DELAY 0ms"
REM --------------------------- Videoencoding Part -----------------------
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 %videoa%.avi -o %videoa%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 %videoa%.avi -o %videoa%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 %videob%.avi -o %videob%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 %videob%.avi -o %videob%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=1 %videoc%.avi -o %videoc%.m2v
mencoder -include C:\Programme\MPlayer\templates\MakeAVISnew.conf -lavcopts vbitrate=2000:vpass=2 %videoc%.avi -o %videoc%.m2v
REM --------------------------- Audioencoding Part* -----------------------
"C:\Programme\_Video Encoding&Editing\!New Besweet & AC3MAchine\BeSweet.exe" -core( -input %audioa%.ac3 -output %audioa%new.ac3* -substream SubS ) -azid( -L -3db ) -ac3enc( -b 256 ) -profile( The AC3Machine v0.4 )
"C:\Programme\_Video Encoding&Editing\!New Besweet & AC3MAchine\BeSweet.exe" -core( -input %audiob%.ac3 -output %audiob%new.ac3* -substream SubS ) -azid( -L -3db ) -ac3enc( -b 256 ) -profile( The AC3Machine v0.4 )
"C:\Programme\_Video Encoding&Editing\!New Besweet & AC3MAchine\BeSweet.exe" -core( -input %audioc%.ac3 -output %audioc%new.ac3* -substream SubS ) -azid( -L -3db ) -ac3enc( -b 256 ) -profile( The AC3Machine v0.4 )
REM --------------------------- Switch Computer off* -----------------------
shutdown -u
|
You see the logic?
|
05-04-2004, 10:06 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?)
|
05-04-2004, 11:10 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|
05-05-2004, 04:38 AM
|
Free Member
|
|
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
05-05-2004, 07:23 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by digitall.doc
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
|
It wasn't a besweet issue.
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.
|
05-05-2004, 09:05 AM
|
Free Member
|
|
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Prodater64
It was't a besweet issue.
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.
|
A mencodeme issue then  .
You could post this "too high vbitrate" issue in mencodeme bugs thread
|
05-05-2004, 09:18 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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??
|
05-05-2004, 09:25 AM
|
Free Member
|
|
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
05-05-2004, 10:06 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ahhhh yes ...
I did read "mencoder issue" instead of "mencodeME"
|
05-05-2004, 10:49 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by digitall.doc
...
And I guess that is the vbitrate that mencoder uses to encode.
|
Exactly, but it is not a bug as you can set it for yourself (only need think in that and to see this high value in its box, and then to change it.)
|
05-05-2004, 03:33 PM
|
Free Member
|
|
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
All times are GMT -5. The time now is 08:56 PM — vBulletin © Jelsoft Enterprises Ltd
|