Skip to content

Commit

Permalink
Merge pull request #225 from deldesir/deldesir-patch-10
Browse files Browse the repository at this point in the history
Remove the scene detection filter
  • Loading branch information
holta authored Jul 16, 2024
2 parents 8b5ebff + 0b55d0a commit 6ba8be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cps/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def generate_video_cover(tmp_file_path):
ffmpeg_args = [
ffmpeg_executable,
'-i', tmp_file_path,
'-vf', 'fps=1,thumbnail,select=gt(scene\,0.1),scale=-1:720', # apply filters to avoid black frames and scale
'-vf', 'fps=1,thumbnail,scale=-1:720', # apply filters to avoid black frames and scale
'-frames:v', '1', # extract only one frame
'-vsync', 'vfr', # variable frame rate
'-y', # overwrite output file if it exists
Expand Down

0 comments on commit 6ba8be7

Please sign in to comment.