Re: [FFmpeg-user] Finding matching frames in a single video

2024-05-31 Thread Paul B Mahol
On Fri, May 31, 2024 at 6:48 PM Sean Grider via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote: > I'm trying to use ffmpeg to find timestamps of a video where a given > screenshot can be found. > > Let's say of 30m video, there's a title card at 00:07:00, so I extract > that frame as an image with: >

[FFmpeg-user] Finding matching frames in a single video

2024-05-31 Thread Sean Grider via ffmpeg-user
I'm trying to use ffmpeg to find timestamps of a video where a given screenshot can be found. Let's say of 30m video, there's a title card at 00:07:00, so I extract that frame as an image with: ffmpeg -i INPUT -qmin 1 -qscale:v 1 -vframes 00:07:00 -f image2 match.png Now I want to find any fra