diff options
author | Florian Pritz <f-p@gmx.at> | 2009-07-07 10:25:21 +0200 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-07-07 10:25:21 +0200 |
commit | 1cf3e70331a9ad7681a9d1683ab41190b62d176b (patch) | |
tree | 1de27161bdeea9b35eb768637ae08e1d1cca6395 /convert2mp4 | |
parent | 75a56a34eda75758640948a8ff2ac023b5615b4a (diff) | |
download | bin-1cf3e70331a9ad7681a9d1683ab41190b62d176b.tar.gz bin-1cf3e70331a9ad7681a9d1683ab41190b62d176b.tar.xz |
use hq preset for higher quality
Diffstat (limited to 'convert2mp4')
-rwxr-xr-x | convert2mp4 | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/convert2mp4 b/convert2mp4 index 9df1494..87375ef 100755 --- a/convert2mp4 +++ b/convert2mp4 @@ -63,14 +63,18 @@ def main(): name_mp4 = p2.communicate()[0] + ".mp4" subprocess.Popen(merge( [["ffmpeg", "-i", name, - "-vcodec", "libx264", "-r", "25", - "-g", "250", "-keyint_min", "25", - "-coder", "ac", "-me_range", "16", - "-subq", "5", "-sc_threshold", "40", + "-vcodec", "libx264", +# "-r", "25", +# "-g", "250", "-keyint_min", "25", + "-vpre", "hq", +# "-coder", "ac", "-me_range", "16", +# "-subq", "5", "-sc_threshold", "40", "-acodec", "libfaac", "-ar", "44100", - "-cmp", "+chroma", "-partitions", "+parti4x4+partp8x8+partb8x8", - "-i_qfactor", "0.71", "-b_strategy", - "1", "-threads", "0", "-crf", "30", "-y"], +# "-cmp", "+chroma", "-partitions", "+parti4x4+partp8x8+partb8x8", +# "-i_qfactor", "0.71", "-b_strategy", "1", + "-threads", "0", +# "-crf", "30", + "-y"], ffmpeg_args, [name_mp4]] )).communicate()[0] subprocess.Popen(["qt-faststart", name_mp4, "done_"+name_mp4]).communicate()[0] |