forked from 0x2620/pandora
enable multithreading for server side transcodes
This commit is contained in:
parent
7e36dfb7eb
commit
0284635805
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue