Merge pull request #629 from snixon/ffmpeg_subs_crash

ffmpeg can crash if source title has subtitles
This commit is contained in:
K4YT3X 2022-04-09 05:16:27 -04:00 committed by GitHub
commit f976bdc1c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,6 +108,7 @@ class VideoEncoder(threading.Thread):
*[s for s in additional_streams if s is not None], *[s for s in additional_streams if s is not None],
str(self.output_path), str(self.output_path),
vcodec="libx264", vcodec="libx264",
scodec="copy",
vsync="cfr", vsync="cfr",
pix_fmt="yuv420p", pix_fmt="yuv420p",
crf=17, crf=17,