Skip to content

Commit

Permalink
removed fps_mode since it causes incompatibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
k4yt3x committed Aug 28, 2022
1 parent 44238ae commit 176ae90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion video2x/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(
self.decoder = subprocess.Popen(
ffmpeg.compile(
ffmpeg.input(input_path, r=frame_rate)["v"]
.output("pipe:1", format="rawvideo", pix_fmt="rgb24", fps_mode="cfr")
.output("pipe:1", format="rawvideo", pix_fmt="rgb24")
.global_args("-hide_banner")
.global_args("-nostats")
.global_args("-nostdin")
Expand Down
1 change: 0 additions & 1 deletion video2x/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ def __init__(
str(output_path),
vcodec="libx264",
scodec="copy",
fps_mode="cfr",
pix_fmt="yuv420p",
crf=17,
preset="veryslow",
Expand Down

0 comments on commit 176ae90

Please sign in to comment.