mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
Fix ffmpeg error with bin_data streams
Example YouTube ID: KaAdS8Oso9U Also disable "Last message repeated" messages which cause non-zero exit status
This commit is contained in:
parent
08250b69c2
commit
3d90b76f37
@ -190,6 +190,7 @@ class FFmpegPostProcessor(PostProcessor):
|
||||
encodeFilename(self._ffmpeg_filename_argument(path), True)
|
||||
])
|
||||
cmd = ([encodeFilename(self.executable, True), encodeArgument('-y')] +
|
||||
['-loglevel', 'repeat+info'] +
|
||||
files_cmd +
|
||||
[encodeArgument(o) for o in opts] +
|
||||
[encodeFilename(self._ffmpeg_filename_argument(out_path), True)])
|
||||
@ -379,6 +380,8 @@ class FFmpegEmbedSubtitlePP(FFmpegPostProcessor):
|
||||
# Don't copy the existing subtitles, we may be running the
|
||||
# postprocessor a second time
|
||||
'-map', '-0:s',
|
||||
# Don't copy Apple TV subtitles format, bin_data
|
||||
'-map', '-0:d',
|
||||
]
|
||||
if information['ext'] == 'mp4':
|
||||
opts += ['-c:s', 'mov_text']
|
||||
|
Loading…
x
Reference in New Issue
Block a user