From 02846358052fc7be5e3bb4731ecd3ab3bc600378 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 12 Mar 2012 13:24:11 +0100 Subject: [PATCH] enable multithreading for server side transcodes --- pandora/archive/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index 15d65755d..3e5a52f1a 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -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