From: Sergey M Date: Mon, 28 Jan 2019 15:59:00 +0000 (+0700) Subject: [postprocessor/ffmpeg] Disable "Last message repeated" messages which cause non-zero... X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=1397a790ffe17472a818c99d85a049253b91116c;hp=-c;p=youtube-dl [postprocessor/ffmpeg] Disable "Last message repeated" messages which cause non-zero exit status (#19025) --- 1397a790ffe17472a818c99d85a049253b91116c diff --combined youtube_dl/postprocessor/ffmpeg.py index fff2021ff,8ef03f43b..33dbcad9f --- a/youtube_dl/postprocessor/ffmpeg.py +++ b/youtube_dl/postprocessor/ffmpeg.py @@@ -218,6 -218,7 +218,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)]) @@@ -407,9 -408,6 +408,9 @@@ class FFmpegEmbedSubtitlePP(FFmpegPostP # Don't copy the existing subtitles, we may be running the # postprocessor a second time '-map', '-0:s', + # Don't copy Apple TV chapters track, bin_data (see #19042, #19024, + # https://trac.ffmpeg.org/ticket/6016) + '-map', '-0:d', ] if information['ext'] == 'mp4': opts += ['-c:s', 'mov_text']