[mythtv] mythencode.pl script [PATCH]

Rob Snow lists at dympna.com
Mon Jul 14 11:28:28 EDT 2003


Thanks much for doing this Sean, I felt uneasy doing it without having a .nuv sitting 
around to check against.  I'll patchify this and subtmit it. 
 
-Rob 
 
On Mon, 14 Jul 2003 03:11:47 -0500, mojo wrote 
> as requested, my patch to mythencode.pl is attached... 
>  
> ok its not a patch exactly but here's the mythencode.pl that i use... 
> i added a few notes at the top and called it ver 1.2.1 
>  
> all i did was: 
>  
> 1.) changed the 'exec' calls to 'system' calls because exec() was  
> causing the script to be abandoned when $pass1 was executed so no  
> code after "exec $pass1;" would ever be executed (i.e. the "exec  
> $pass2" call) whereas the system() call returns to the script after executing. 
>  
> 2.) changed the $nicestr to be "nice -n $nice" instead of "nice - 
> $nice".  
>   (may break compatiblity with older versions of nice?) i dont know  
> much about older versions of nice so you may want to change it back. 
> 3.) added "vhq:v4mv" to the second pass so it would be identical to  
> the first. everything i've read indicates that they should be  
> identical except for "vpass=" value. oh and i added the "-noskip"  
> option which in most cases will do nothing and in very few may help  
> avoid A/V sync issues. 
>  
> well... there it is... do whatever you want with it... ;-) 
>  
> btw, you probably want to change the following lines back to  
> whatever they were before because i think mine are not typical to  
> most people's paths: 	use constant mythname => '/usr/bin/mythname.pl  
> -s -rep=_ '; 	use constant mencoder => '/usr/bin/mencoder'; maybe  
> one of these days i'll learn how to make one of those .diff files  
> but on second thought maybe i should actually learn to code first ;-) 
>  
> Thanks, 
> Sean 


More information about the mythtv-dev mailing list