From: Guillaume Pellerin Date: Fri, 21 Dec 2012 10:50:20 +0000 (+0100) Subject: update transcode params X-Git-Tag: 0.9-probarreau~218 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=12959363c2db69d8204a293a50584440576d8186;p=teleforma.git update transcode params --- diff --git a/tools/trans/transcode.py b/tools/trans/transcode.py index 93cd92ef..1dab89dd 100755 --- a/tools/trans/transcode.py +++ b/tools/trans/transcode.py @@ -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):