diff options
author | shirt <2660574+shirt-dev@users.noreply.github.com> | 2021-09-27 18:42:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 04:12:33 +0530 |
commit | 250a938de82fb6b023c09ce3d89471c5871ff830 (patch) | |
tree | 7075599dc860f857a4abf4a90a7995c6de82c736 | |
parent | f1d42a83ab47683ddbe7c66393130f63262aeca0 (diff) | |
download | hypervideo-pre-250a938de82fb6b023c09ce3d89471c5871ff830.tar.lz hypervideo-pre-250a938de82fb6b023c09ce3d89471c5871ff830.tar.xz hypervideo-pre-250a938de82fb6b023c09ce3d89471c5871ff830.zip |
[ffmpeg] Set max probesize to workaround AAC HLS stream issues (#1109)
Fixes: #618, #998, #1039
Authored by: shirt-dev
-rw-r--r-- | yt_dlp/postprocessor/ffmpeg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 679377aa6..ad330ab8e 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -262,7 +262,7 @@ class FFmpegPostProcessor(PostProcessor): oldest_mtime = min( os.stat(encodeFilename(path)).st_mtime for path, _ in input_path_opts if path) - cmd = [encodeFilename(self.executable, True), encodeArgument('-y')] + cmd = [encodeFilename(self.executable, True), encodeArgument('-y'), encodeArgument('-probesize'), encodeArgument('max')] # avconv does not have repeat option if self.basename == 'ffmpeg': cmd += [encodeArgument('-loglevel'), encodeArgument('repeat+info')] |