[ffmpeg] Set max probesize to workaround AAC HLS stream issues (#1109)

Fixes: #618, #998, #1039

Authored by: shirt-dev
pull/1112/head
shirt 3 years ago committed by GitHub
parent f1d42a83ab
commit 250a938de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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')]

Loading…
Cancel
Save