Commit 0b594926 authored by fred's avatar fred

create-sound-files: tell ffmpeg to ignore video streams

parent d71bc585
......@@ -125,7 +125,7 @@ class Command(BaseCommand):
vorbis_q = min((i, vorbis_q))
break
cmd = ['ffmpeg', '-y', '-i', soundfile.file.path]
cmd = ['ffmpeg', '-y', '-i', soundfile.file.path, '-vn']
if format == 'ogg':
cmd.extend(['-q:a', str(vorbis_q)])
elif format == 'mp3':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment