]> code.delx.au - transcoding/commitdiff
Improved MencoderDemux
authorJames Bunton <jamesbunton@fastmail.fm>
Wed, 15 Sep 2010 15:18:41 +0000 (01:18 +1000)
committerJames Bunton <jamesbunton@fastmail.fm>
Wed, 15 Sep 2010 15:18:41 +0000 (01:18 +1000)
encode.py

index 708cf6edc2adc14ca6276a6125f288cc5a575f08..a46a64226b5e1fb753cbce803871a7e556496df8 100755 (executable)
--- a/encode.py
+++ b/encode.py
@@ -336,7 +336,7 @@ class MencoderDemux(Command):
                p = self.profile
 
                cmd = ["mencoder", "-ovc", "copy", "-oac", "copy", o.output + ".avi"]
-               cmd += ["-noconfig", "all"]
+               cmd += ["-noconfig", "all", "-noskip", "-mc", "0"]
                self.do_exec(cmd + ["-of", "rawaudio", "-o", p.audio_tmp])
                self.do_exec(cmd + ["-of", "rawvideo", "-o", p.video_tmp])
                self.do_exec(["rm", "-f", o.output + ".avi"])