From 51c0c38b342e501586a5bc51dfa54b6948747229 Mon Sep 17 00:00:00 2001 From: Steve Nixon Date: Tue, 5 Apr 2022 23:26:31 -0700 Subject: [PATCH] ffmpeg can crash when a title has subs --- video2x/encoder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/video2x/encoder.py b/video2x/encoder.py index 4b77c01..e518109 100755 --- a/video2x/encoder.py +++ b/video2x/encoder.py @@ -108,6 +108,7 @@ class VideoEncoder(threading.Thread): *[s for s in additional_streams if s is not None], str(self.output_path), vcodec="libx264", + scodec="copy", vsync="cfr", pix_fmt="yuv420p", crf=17,