I have following script to convert one vob to one avi with dual pass.
Code:
#!/bin/sh
corename=`echo $1 | sed 's/[.].*$//'`
targetname=`echo $corename.avi`
echo "1st Pass"
echo $1
mencoder $1 -ovc xvid -oac mp3lame -xvidencopts pass=1 -o /dev/null
echo "2nd Pass"
echo $targetname
mencoder $1 -ovc xvid -oac mp3lame -xvidencopts pass=2:bitrate=1800 -o $targetname
It should work, however, now I have some serials where one take is in two VOBs - how do I need to modify my script so that I get the result I want?
I found something like cat *.vob | mencoder ... after a search but trying to adapt this into my script I get:
$ cat *.vob | mencoder -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=850:vhq:vqmin=2:vqmax=10:keyint=240 -vop scale=640:480 -oac mp3lame -lameopts cbr:br=128:vol=2 -o film.avi
mencoder: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking
MEncoder SVN-r33713-4.6.1 (C) 2000-2011 MPlayer Team
-vop has been removed, use -vf instead.
Here I tried directly some other options in an example I found but using my xvid options the message is the same...