[mythtv-users] another mythencode.pl error

mOjO mojospam at thegeekclub.net
Fri Jun 27 04:11:11 EDT 2003


i probably shoulnt be saying "another" error... since the first one i 
posted was probably just specific to my version of NICE but this one 
looks like a plain old goof of the "i'm really too tired to be coding 
but i'm at it anyway variety"...

Please take a look at the code pasted at the bottom of this email.
notice the options for the second pass down below...
both passes are running with vpass=1

i'm not an expert on mencoder or anything but i read the docs and the 
second pass should say vpass=2 right?

i have a question also... if the vhq and v4mv options are being used on 
the second pass should they be getting used on the first pass too? or is 
that unneccessary?

thanks,
mOjO

p.s. i know this belongs on the dev mailing list but i'm not on that one 
so deal with it :-P

-- SNIP from mythtv-0.91/contrib/mythencode.pl --

} else {

                   print "Doing a two pass encode.\n";
                   $pass1="$nicestr $mencoder -idx $path$show.nuv -fps 
$fps -oac mp3lame -lameopts vbr=3:br=$aud_br -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=$vid_br:vpass=1 -vop lavcdeint,$scale -aspect 4:3 
-o $outname.avi";
                   $pass2="$nicestr $mencoder -idx $path$show.nuv -fps 
$fps -oac mp3lame -lameopts vbr=3:br=$aud_br -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=$vid_br:vhq:v4mv:vpass=1 -vop lavcdeint,$scale 
-aspect 4:3 -o $outname.avi";
                   print "\tPASS ONE=$pass1\n";
                   print "\tPASS TWO=$pass2\n";

                   if(!$test) {
                         exec $pass1;
                         exec $pass2;
                   }
}

exit(0);

-- EOF --



More information about the mythtv-users mailing list