Noch ein Format dazu
This commit is contained in:
parent
f6be7dc724
commit
555bb562f2
1 changed files with 5 additions and 0 deletions
|
@ -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":
|
||||||
|
|
Loading…
Reference in a new issue