enable multithreading for server side transcodes

This commit is contained in:
j 2012-03-12 13:24:11 +01:00
parent 7e36dfb7eb
commit 0284635805
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ def stream(video, target, profile, info):
audio_settings = ['-an']
ffmpeg = FFMPEG2THEORA.replace('2theora', '')
cmd = [ffmpeg, '-y', '-i', video] \
cmd = [ffmpeg, '-y', '-i', video, '-threads', '4'] \
+ audio_settings \
+ video_settings