[mythtv-users] another mythencode.pl error

mOjO mojospam at thegeekclub.net
Sat Jun 28 08:02:01 EDT 2003


what about the de-interlace option?  is it really necessary to perform 
that twice? could it be harmful to do that twice?

the mplayer documentation is nice but if it answered all my questions it 
would be 5x longer!!  haha...

mOjO

p.s. i guess this transcoding stuff is coming out soon so this may all 
be a moot point...

Rob Snow wrote:

> Oops, looks like thats a bug (vpass1/2).  I'll get a patch to fix it as soon 
> as we get the next patch via CVS.  Robert was away this week and was going 
> to apply the patch this weekend.
> 
> vhq/v4mv: Actually, I'm not 100% certain either way.  From reading the 
> mplayer/mencoder lists it appears you should include them in the first pass 
> in some questing/replies and not in others.  I don't have a definative 
> answer, but my intuition tells me (possibly wrongly :) that you want the 
> statistics from a pass that matches what you are going to be encoding with.
> 
> -Rob
> 
> 
> On Fri, 27 Jun 2003 03:11:11 -0500, mOjO wrote
> 
>>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 --
>>
>>_______________________________________________
>>mythtv-users mailing list
>>mythtv-users at snowman.net
>>http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list