Skip to content

Commit

Permalink
fix: Typo on refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowtter committed Jul 16, 2022
1 parent 47bda12 commit 2afde5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/crispy/utils/ffmpeg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def extract_images(video_path: str,
(
ffmpeg
.input(video_path)
.filter("framerate", fps=f"1/{round(1 / framerate, 5)}")
.filter("fps", fps=f"1/{round(1 / framerate, 5)}")
.crop(x=899, y=801, width=122, height=62)
# .overlay(ffmpeg.input(DOT_PATH))
.output(os.path.join(save_path, "%8d.bmp"), start_number=0)
Expand Down Expand Up @@ -94,7 +94,7 @@ def segment_video(video_path: str, save_path: str,
ss=f"{start}",
to=f"{end}")
.overwrite_output()
.run(quiet=False)
.run(quiet=True)
) # yaPf: disable


Expand Down

0 comments on commit 2afde5c

Please sign in to comment.