vcsi icon indicating copy to clipboard operation
vcsi copied to clipboard

Support ffmpeg scene detection filters to select thumbnails

Open sjuxax opened this issue 5 years ago • 1 comments

ffmpeg has a scene detection filter that will try to predict when a scene has changed rather than just selecting frames at different intervals. It'd be great if we could set up vcsi to utilize that and get a quick summary of substantial differences in the image, especially for long videos that don't have much movement (e.g., surveillance feeds).

sjuxax avatar Feb 11 '20 01:02 sjuxax

Thank you for suggesting that. I was not aware of this ffmpeg feature.

I believe you are referring to the "scene" feature as showcased in this Stackoverflow answer: https://stackoverflow.com/questions/35675529/using-ffmpeg-how-to-do-a-scene-change-detection-with-timecode ?

If yes, then it may be implemented for sure. The scene parameter (value between 0 and 1) could be an argument and it could be used as:

vcsi --scene 0.4 video.mkv

I will try and implement that at some point.

amietn avatar Feb 13 '20 15:02 amietn