Skip to content

Commit

Permalink
Merge pull request k4yt3x#629 from snixon/ffmpeg_subs_crash
Browse files Browse the repository at this point in the history
ffmpeg can crash if source title has subtitles
  • Loading branch information
k4yt3x authored Apr 9, 2022
2 parents f2b2e11 + 51c0c38 commit f976bdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions video2x/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def __init__(
*[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,
Expand Down

0 comments on commit f976bdc

Please sign in to comment.