[MPlayer-users] Mencoder wrapper script

Samuel Kesterson samuelk at datatrade.com
Sat Nov 17 02:21:06 CET 2001


Thus spake Samuel Kesterson on Friday 16 November 2001 01:08 pm:

> 	Included inline below is a PERL script I wrote to make sure I use the same
> command line switches for both passes. I included it because I seem to
> remember a couple of people wanting something like it. NOTE: I finished
> writing this in the very early hours of the morning. It seems to work fine
> for me but YMMV of course.  -- Enjoy!

	Oops! I forgot to include the -voc and -aoc flags in the above script. 
Find below a patch for it to include "-aoc mp3lame -voc divx4".  

	Any help with the -ss problem?

	Thanks :)

-------------------------------- SNIP -----------------------------
--- dvdrip      Fri Nov 16 18:58:42 2001
+++ dvdrip2     Fri Nov 16 19:01:22 2001
@@ -99,11 +99,11 @@

 if($quiet eq "y")
 {
-       $comm = $command . "-pass 1  2>&1 > /dev/null && " . $command ." -pass 2   2>&1 > /dev/null";
+       $comm = $command . " -ovc divx4 -oac mp3lame -pass 1  2>&1 > /dev/null && " . $command ." -oac mp3lame -ovc divx4 -pass 2   2>&1 > /dev/null";
 }
 else
 {
-       $comm = $command . "-pass 1 && " . $command ." -pass 2";
+       $comm = $command . " -oac mp3lame -ovc divx4 -pass 1 && " . $command ." -oac mp3lame -ovc divx4 -pass 2";
 }

 if($DAEMON eq "yes")
------------------------------- SNIP ------------------------------


~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Samuel Kesterson
skesterson at earthlink.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the MPlayer-users mailing list