mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:47:08 -05:00 
			
		
		
		
	fix ffmpeg metadatapp
This commit is contained in:
		
				
					committed by
					
						
						Jaime Marquínez Ferrándiz
					
				
			
			
				
	
			
			
			
						parent
						
							149254d0d5
						
					
				
				
					commit
					39c68260c0
				
			@@ -464,7 +464,11 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
 | 
			
		||||
        filename = info['filepath']
 | 
			
		||||
        temp_filename = prepend_extension(filename, 'temp')
 | 
			
		||||
 | 
			
		||||
        if info['ext'] == u'm4a':
 | 
			
		||||
            options = ['-vn', '-acodec', 'copy']
 | 
			
		||||
        else:
 | 
			
		||||
            options = ['-c', 'copy']
 | 
			
		||||
 | 
			
		||||
        for (name, value) in metadata.items():
 | 
			
		||||
            options.extend(['-metadata', '%s=%s' % (name, value)])
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user