]> code.delx.au - transcoding/blobdiff - encode.py
Readded better fixmux option
[transcoding] / encode.py
index 3aa3785f9a3da814b6cc5400827754b3a0611eff..d265dc50ac9c206fecbe9cfdf23f21ecc41f7e24 100755 (executable)
--- a/encode.py
+++ b/encode.py
@@ -417,6 +417,7 @@ def parse_args():
 
        parser = optparse.OptionParser(usage="%prog [options] input [output]")
        parser.add_option("--dvd", action="store", dest="dvd")
+       parser.add_option("--fixmux", action="store_true", dest="fixmux")
        parser.add_option("--deinterlace", action="store_true", dest="deinterlace")
        parser.add_option("--detelecine", action="store_true", dest="detelecine")
        parser.add_option("--mc", action="store", dest="mc", type="float")
@@ -475,7 +476,7 @@ def main():
 
                try:
                        commands = []
-                       if opts.detelecine:
+                       if opts.fixmux or opts.detelecine:
                                profile.commands.insert(0, MencoderLossless)
                        for CommandClass in profile.commands:
                                if Command in CommandClass.__bases__: