youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 2aefb886faa855518292c4078eb04c40b55d4f90
parent 72961c2a8aebc84284bde7768defc2517ead1429
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Mon, 13 Oct 2014 10:12:43 +0200

[ffmpeg] Improve format merging (Closes #3935)

Diffstat:
Myoutube_dl/postprocessor/ffmpeg.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py @@ -487,7 +487,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor): class FFmpegMergerPP(FFmpegPostProcessor): def run(self, info): filename = info['filepath'] - args = ['-c', 'copy'] + args = ['-c', 'copy', '-map', '0:v:0', '-map', '1:a:0', '-shortest'] self._downloader.to_screen(u'[ffmpeg] Merging formats into "%s"' % filename) self.run_ffmpeg_multiple_files(info['__files_to_merge'], filename, args) return True, info