Skip to content

bugged -c and -c copy version. Adding some extra frames at the end #470

Open
@whatforiam

Description

@whatforiam

Description:

A few joints

  1. When the -c argument is used, the video analysis speed drops from 300fps to 200, although I don't think it should, because it only affects the render (I think it does -c copy for ffmpeg)
  2. I have already addressed you with the problem that when cutting an anime (23.976fps) video, it affects adjacent frames and adds one frame from the next moment to the last. So, with the -c key, this problem remained and reached a new level. Now literally every moment has a frame from the next one at the end. And considering that I have a hevc video, I have to use the icaros program to display previews of files, and the preview shows just the last frame from the future moment. And if you recode the video, then there is no such problem. (writing -a "-c copy" does not help. It only solved the problem with the rendering speed, and now it does other things with an extra couple of frames at the end)

Command:

scenedetect -i "input/%%~i" -d 4 -b pyav detect-adaptive -w 0.1 0.1 1.0 0.0 -c 34 -t 2.7 split-video -o "anime%folder%%%~ni" -с
(-b pyav added threshold as you recommended in my last report)

Output:

BUG_REPORT.txt

Environment:

System Info

OS Windows-10-10.0.19045-SP0
Python CPython 3.13.0rc1
Architecture 64bit + WindowsPE

Packages

av 13.1.0
click 8.1.7
cv2 4.10.0
imageio 2.36.0
imageio_ffmpeg 0.5.1
moviepy 2.1.1
numpy 2.1.3
platformdirs 4.3.6
scenedetect 0.6.5
tqdm 4.67.1

Tools

ffmpeg 7.1-full_build-www.gyan.dev
mkvmerge v45.0.0 ('Heaven in Pennies') 64-bit

Media/Files:

image
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions