Browse Source

fix ffmpeg metadatapp

master
pulpe 11 years ago
committed by Jaime Marquínez Ferrándiz
parent
commit
39c68260c0
1 changed files with 5 additions and 1 deletions
  1. 6
      youtube_dl/postprocessor/ffmpeg.py

6
youtube_dl/postprocessor/ffmpeg.py

@ -464,7 +464,11 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
filename = info['filepath']
temp_filename = prepend_extension(filename, 'temp')
options = ['-c', 'copy']
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)])

Loading…
Cancel
Save