|
|
@ -464,7 +464,11 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
|
|
|
|
filename = info['filepath']
|
|
|
|
filename = info['filepath']
|
|
|
|
temp_filename = prepend_extension(filename, 'temp')
|
|
|
|
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():
|
|
|
|
for (name, value) in metadata.items():
|
|
|
|
options.extend(['-metadata', '%s=%s' % (name, value)])
|
|
|
|
options.extend(['-metadata', '%s=%s' % (name, value)])
|
|
|
|
|
|
|
|
|
|
|
|