diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-11-27 19:20:39 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-11-27 19:21:47 +0530 |
commit | e04b003e6469db220131812b4894ac2a1d5ee083 (patch) | |
tree | f4385db34a7b3578ca068abb74f6f6bec7a1752f /yt_dlp/YoutubeDL.py | |
parent | 909b0d66f47c4fb73ee320f512f0c12502f16294 (diff) | |
download | hypervideo-pre-e04b003e6469db220131812b4894ac2a1d5ee083.tar.lz hypervideo-pre-e04b003e6469db220131812b4894ac2a1d5ee083.tar.xz hypervideo-pre-e04b003e6469db220131812b4894ac2a1d5ee083.zip |
[FixupM3u8] Fixup MPEG-TS in MP4 container
Closes #1701, https://github.com/ytdl-org/youtube-dl/issues/26410
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index b983b1775..3a409b652 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -2934,9 +2934,10 @@ class YoutubeDL(object): downloader = get_suitable_downloader(info_dict, self.params) if 'protocol' in info_dict else None downloader = downloader.__name__ if downloader else None ffmpeg_fixup(info_dict.get('requested_formats') is None and downloader == 'HlsFD', - 'malformed AAC bitstream detected', FFmpegFixupM3u8PP) - ffmpeg_fixup(downloader == 'WebSocketFragmentFD', 'malformed timestamps detected', FFmpegFixupTimestampPP) - ffmpeg_fixup(downloader == 'WebSocketFragmentFD', 'malformed duration detected', FFmpegFixupDurationPP) + 'Possible MPEG-TS in MP4 container or malformed AAC timestamps', + FFmpegFixupM3u8PP) + ffmpeg_fixup(downloader == 'WebSocketFragmentFD', 'Malformed timestamps detected', FFmpegFixupTimestampPP) + ffmpeg_fixup(downloader == 'WebSocketFragmentFD', 'Malformed duration detected', FFmpegFixupDurationPP) fixup() try: |