From daf033d355c0875a63696283972258262b78b0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Mon, 16 Jan 2017 01:17:25 +0100 Subject: [PATCH] fixed bug where several audio streams were muxed into the output --- coub-dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coub-dl.py b/coub-dl.py index 486903c..fb80d2f 100644 --- a/coub-dl.py +++ b/coub-dl.py @@ -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!')