[FFmpeg-user] Segment at Scene Change

adam smith adamsmith79 at icloud.com
Thu Sep 24 00:13:48 EEST 2020


> I would like to segment and create a sequence of ts files that are split based on a scene change threshold, and have a separate ts file for each song.

You could probably do this in two passes. 
The first using the select filter to find the timing of each new image. 
The second pass using the durations of the timings found to output relevant segments using -ss to set the start and -t to set the duration. 




More information about the ffmpeg-user mailing list