Plan the FFmpeg arguments that detect a video file's scene cuts with the scdet filter and write each cut to a report, which readAutoMovieVideoSceneCuts reads.
scdet scores how much each frame differs from the one before, from 0 to 100, and marks a frame whose score reaches threshold as the first frame of a new scene; FFmpeg's default threshold is 10. The metadata filters keep only marked frames and print each one's time and score to report. The decoded frames go to the null muxer, so nothing else is written. The report path is escaped for both levels of FFmpeg's filter-graph syntax, so a drive letter or a comma in it stays part of the path.
Plan the FFmpeg arguments that detect a video file's scene cuts with the
scdetfilter and write each cut to a report, whichreadAutoMovieVideoSceneCutsreads.scdetscores how much each frame differs from the one before, from 0 to 100, and marks a frame whose score reachesthresholdas the first frame of a new scene; FFmpeg's default threshold is 10. Themetadatafilters keep only marked frames and print each one's time and score toreport. The decoded frames go to the null muxer, so nothing else is written. The report path is escaped for both levels of FFmpeg's filter-graph syntax, so a drive letter or a comma in it stays part of the path.It throws for a threshold outside 0 to 100.