Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ffmpeg scene detection filters to select thumbnails #72

Open
sjuxax opened this issue Feb 11, 2020 · 1 comment
Open

Support ffmpeg scene detection filters to select thumbnails #72

sjuxax opened this issue Feb 11, 2020 · 1 comment

Comments

@sjuxax
Copy link

sjuxax commented Feb 11, 2020

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).

@amietn
Copy link
Owner

amietn commented Feb 13, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants