diff --git a/videos/templates/worker.py b/videos/templates/worker.py
index 00c283d4cb13077f468bd7d302dbed21390708bf..d8c0201007a0c9285eac9a4b215a99bf38f1337c 100644
--- a/videos/templates/worker.py
+++ b/videos/templates/worker.py
@@ -77,6 +77,7 @@ def render_master(task, tmpfiles=[]):
     ffmpeg_command  = ['ffmpeg', '-y', '-v', 'info', '-nostats']
     ffmpeg_command += ['-analyzeduration', '20000000']
     ffmpeg_command += ['-i', tmpfiles[0][1]]
+    ffmpeg_command += ['-max_muxing_queue_size', '1024']
 
     normalize_audio = False # disabled for now