waveking
31st March 2007, 14:28
Somehow my 3 pass encoding is not working as expected with Mencoder. The frameno.avi file has the audio in the correct format as expected(0x0055 MPEG-1 Layer 3 128 kbps), but the end movie has audio in a different format(0x0050 MPEG-1 Layer 2 224 kbps) altogether! Later analysis showed me that the final movie was getting the audio dirctly from the original source mpg, which has audio in MPEG-1 layer 2 format. I also tried adding the -audiofile option inthe two passes to point to the frameno.avi, and that adding an audio track with the correct format, but there was no content in the audio track :( Please help people!
Can anybody detect any thing i missed from my syntax below? Any other improvements to the encoding options i chose? I am converting recorded PAL TV shows to xvid for archiving.
Thanks.
REM rip audio track (bitrate: 128)
mencoder -oac mp3lame -lameopts mode=2:cbr:br=128:vol=3 -ovc frameno -o frameno.avi %input%
REM video track (pass: 1)
mencoder -sws 2 -oac copy -ovc xvid -xvidencopts pass=1:turbo -vf yadif,crop=704:560:4:6,scale=704:576 input.mpg -o output.avi
REM video track (pass: 2)
mencoder -sws 2 -oac copy -ovc xvid -xvidencopts pass=2:bitrate=%bitrate% -vf yadif,crop=704:560:4:6,scale=704:576 input.mpg -o output.avi
Can anybody detect any thing i missed from my syntax below? Any other improvements to the encoding options i chose? I am converting recorded PAL TV shows to xvid for archiving.
Thanks.
REM rip audio track (bitrate: 128)
mencoder -oac mp3lame -lameopts mode=2:cbr:br=128:vol=3 -ovc frameno -o frameno.avi %input%
REM video track (pass: 1)
mencoder -sws 2 -oac copy -ovc xvid -xvidencopts pass=1:turbo -vf yadif,crop=704:560:4:6,scale=704:576 input.mpg -o output.avi
REM video track (pass: 2)
mencoder -sws 2 -oac copy -ovc xvid -xvidencopts pass=2:bitrate=%bitrate% -vf yadif,crop=704:560:4:6,scale=704:576 input.mpg -o output.avi