fixed bug where several audio streams were muxed into the output

This commit is contained in:
Kjistóf 2017-01-16 01:17:25 +01:00
parent d4c5fd437b
commit daf033d355
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ print_opt('Done!')
print_opt('Muxing streams... ', end='', flush=True)
call(('/usr/bin/env', 'ffmpeg', '-i', FILES[File.LOOP],
'-i', FILES[Stream.AUDIO],
'-map', '0', '-map', '1',
'-map', '0:v:0', '-map', '1:a:0',
'-c', 'copy', FILES[File.OUTPUT]),
stdout=DEVNULL, stderr=DEVNULL)
print_opt('Done!')