Noch ein Format dazu

This commit is contained in:
Stefan Bethke 2011-11-26 13:59:03 +00:00
parent f6be7dc724
commit 555bb562f2

View file

@ -21,6 +21,11 @@ def transcode(src, tgt, fmt):
transcode_opts.extend(["-s", "1280x720"]) transcode_opts.extend(["-s", "1280x720"])
transcode_opts.extend(["-b", "4000k"]) transcode_opts.extend(["-b", "4000k"])
transcode_opts.append(tgt) transcode_opts.append(tgt)
elif fmt == "hdsmall":
transcode_opts.extend(["-s", "640x360"])
transcode_opts.extend(["-b", "1000k"])
transcode_opts.extend(["-vsync", "1"])
transcode_opts.append(tgt)
else: else:
transcode_opts.extend(["-b", "900k", "-bt", "900k"]) transcode_opts.extend(["-b", "900k", "-bt", "900k"])
if str(fmt) == "169": if str(fmt) == "169":