1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-13 14:27:25 +08:00

Changed comments

This commit is contained in:
Andrei Troie 2014-12-27 02:29:19 +02:00
parent 1605371fcb
commit 6e11a64452

View File

@ -521,10 +521,9 @@ class FFmpegMergerPP(FFmpegPostProcessor):
filename = info['filepath']
args = ['-c', 'copy', '-map', '0:v:0', '-map', '1:a:0', '-shortest']
self._downloader.to_screen('[ffmpeg] Merging formats into "%s"' % filename)
#first attempt to merge them as normal but if a merge error happens attempt to eat it and try again with mkv output
#attempt to merge the files into the filename that the upstream methods have determined
#there's little point to try to guess from the start which video format will be compatible with which audio
#if the standard merge fails, fallback to mkv instead
#so instead just try merging with what we have and see what happens
try:
self.run_ffmpeg_multiple_files(info['__files_to_merge'], filename, args)
except FFmpegPostProcessorError as fpe: