diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-07-30 04:24:38 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-07-30 04:24:46 +0530 |
commit | f73c11803579889dc8e1c99e25dba9a22fef39d8 (patch) | |
tree | d9b357cf8ee28e10caa94b7708ef9899ff777632 | |
parent | 546b2c28a106cf8101d481b215b676d1b091d276 (diff) | |
download | hypervideo-pre-f73c11803579889dc8e1c99e25dba9a22fef39d8.tar.lz hypervideo-pre-f73c11803579889dc8e1c99e25dba9a22fef39d8.tar.xz hypervideo-pre-f73c11803579889dc8e1c99e25dba9a22fef39d8.zip |
`FFmpegFixupM3u8PP` may need to run with ffmpeg
Bug in 62b5c94cadaa5f596dc1a7083db9db12efe357be
Closes #7725
-rw-r--r-- | yt_dlp/YoutubeDL.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index db5932c44..87bca5bbe 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -3450,10 +3450,11 @@ class YoutubeDL: postprocessed_by_ffmpeg = info_dict.get('requested_formats') or any(( isinstance(pp, FFmpegVideoConvertorPP) and resolve_recode_mapping(ext, pp.mapping)[0] not in (ext, None) - ) for pp in self._pps['post_process']) or fd == FFmpegFD + ) for pp in self._pps['post_process']) if not postprocessed_by_ffmpeg: - ffmpeg_fixup(ext == 'm4a' and info_dict.get('container') == 'm4a_dash', + ffmpeg_fixup(fd != FFmpegFD and ext == 'm4a' + and info_dict.get('container') == 'm4a_dash', 'writing DASH m4a. Only some players support this container', FFmpegFixupM4aPP) ffmpeg_fixup(downloader == 'hlsnative' and not self.params.get('hls_use_mpegts') |