From: James Bunton Date: Mon, 18 Oct 2010 07:33:49 +0000 (+1100) Subject: Readded better fixmux option X-Git-Url: https://code.delx.au/transcoding/commitdiff_plain/6154660d0dfb7ff2a891ef97c4c412d0ee2ac899 Readded better fixmux option --- diff --git a/encode.py b/encode.py index 3aa3785..d265dc5 100755 --- 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__: