This commit is contained in:
pukkandan 2022-04-12 19:57:08 +05:30
parent 66cf3e1001
commit 743f39750c
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -187,8 +187,7 @@ class FFmpegPostProcessor(PostProcessor):
yield from ('-dn', '-ignore_unknown')
if copy:
yield from ('-c', 'copy')
# For some reason, '-c copy -map 0' is not enough to copy subtitles
if ext in ('mp4', 'mov'):
if ext in ('mp4', 'mov', 'm4a'):
yield from ('-c:s', 'mov_text')
def get_audio_codec(self, path):