mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:07:07 -05:00 
			
		
		
		
	[ffmpeg] Improve format merging (Closes #3935)
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user