Log in

View Full Version : Mencoder doesn't take into account frameno.avi from fist pass !!!


TuRiSOft
31st July 2006, 21:45
As for the subject , anyone has an idea why ? I just started using mencoder and I'm really impressed with its power (coming from WinXP / AutGK ) and I read more than 20 guides !
All of them says about the 3 pass encode : "The audio from first pass from the frameno.avi file will be copied into final result of encoding" but it is not .
This is the line of the first encode pass :
mencoder dvd://2 -dvd-device /mnt/hda1/Root_Dir_Of_Ripped_DVD_Files \
-ovc frameno \
-oac mp3lame \
-lameopts br=112:abr:mode=1 \
-af resample=44100 \
-o frameno.avi
In second and third pass I use -oac copy and encode my movie , but it doesn't copy mp3 stream from frameno.avi (first pass output) as I expect , it copyes the original stream from VOBs.
Is it a deprecated way of doing it , am I missing something or what ???
Please , help a newbye , thanks !!!!

Lokean
31st July 2006, 22:14
So what do your second and third pass command line look like?

nm
31st July 2006, 23:04
There's a typo, use "-oac mp3lame", not "-oav ...". If it's just in this post and not your real command line, check that frameno.avi is really created and that it contains the MP3 audio track.

TuRiSOft
1st August 2006, 05:35
@ nm : Just a typo !!!

@ Loaken : 2nd line --> mencoder dvd://2 \
-dvd-device /mnt/hda1/Root_Dir_Of_Ripped_DVD_Files \
-oac copy \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=xxx:vpass=1 \
-vf kerndeint,crop=xxx:yyy:zz:kk,scale=xxx:zzz \
-o /dev/null
3rd line --> mencoder dvd://2 \
-dvd-device /mnt/hda1/Root_Dir_Of_Ripped_DVD_Files \
-oac copy \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=xxx:vpass=1 \
-vf kerndeint,crop=xxx:yyy:zz:kk,scale=xxx:zzz \
-o Final_File !!!