]> git.parisson.com Git - teleforma.git/commitdiff
update transcode params
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 21 Dec 2012 10:50:20 +0000 (11:50 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 21 Dec 2012 10:50:20 +0000 (11:50 +0100)
tools/trans/transcode.py

index 93cd92ef0bb109d9fa994df2279c6d9e184ace3a..1dab89dd3d0b5ac6f6b7c614014bc987aec9cb72 100755 (executable)
@@ -20,9 +20,9 @@ root_dir = sys.argv[-1]
 args = sys.argv[1:-1]
 source_format = 'webm'
 done = []
-ffmpeg_args = {'mp3' : ' -vn -acodec libmp3lame -aq 6 ',
+ffmpeg_args = {'mp3' : ' -vn -acodec libmp3lame -aq 6 -ac 1 ',
                'ogg' : ' -vn -acodec copy ',
-               'mp4' : ' -vcodec libx264 -r 24 -s 640x360 -b 512k -threads 4 -acodec libfaac -ar 48000 -ab 96k -ac 1 ',
+               'mp4' : ' -vcodec libx264 -r 24 -b 512k -threads 6 -acodec libfaac -ar 48000 -ab 96k -ac 1 ',
               }
 
 if os.path.exists(log_file):