diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-07 22:36:18 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-07 22:36:23 +0530 |
commit | d7a1aa00c65dd516c70c10bd070113b87b96d1c8 (patch) | |
tree | 0b7c797896275983c6b6460842908bb2973d7ad0 | |
parent | 5747d4f4e864348c28eb6de4159bcfd7b8e6ddec (diff) | |
download | hypervideo-pre-d7a1aa00c65dd516c70c10bd070113b87b96d1c8.tar.lz hypervideo-pre-d7a1aa00c65dd516c70c10bd070113b87b96d1c8.tar.xz hypervideo-pre-d7a1aa00c65dd516c70c10bd070113b87b96d1c8.zip |
Run `FFmpegFixupM3u8PP` for live-streams if needed
Closes #3669
-rw-r--r-- | yt_dlp/YoutubeDL.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 3946311cd..de34b8bd7 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -3194,7 +3194,8 @@ class YoutubeDL: downloader = downloader.__name__ if downloader else None if info_dict.get('requested_formats') is None: # Not necessary if doing merger - ffmpeg_fixup(downloader == 'HlsFD', + live_fixup = info_dict.get('is_live') and not self.params.get('hls_use_mpegts') + ffmpeg_fixup(downloader == 'HlsFD' or live_fixup, 'Possible MPEG-TS in MP4 container or malformed AAC timestamps', FFmpegFixupM3u8PP) ffmpeg_fixup(info_dict.get('is_live') and downloader == 'DashSegmentsFD', |