Is there any way (via a script or preferably some parameter when calling ffmpeg that I skipped) to extract frames from the avi file and ignore consecutive duplicate frames , thereby having the ability to go through photos that look only on deltas / changes?
I often have to record meetings at work and many times, the screen of the client that I am viewing does not change when we talk on the phone. At the end of the meeting, I need to use these images as part of our documentation and specifications.
I know that I can simply output each frame and run them through any given utility to remove duplicate files, but this will delete ALL duplicate frames. So, if the extracted frames look like this:
A, A, A, B, B, B, B, C, C, A, A, C, C, C, B, B, B ...
Running them through a typical duplicate file deletion, I would get: A, B, C
I would like: A, B, C, A, C, B
The command I'm currently using to retrieve the images:
ffmpeg.exe -i file.avi -ss 0 -sameq -f image2 -r 1 images% 5d.png
I received each frame in advance (deleting -r 1 from above), but this generated too many frames for work, since these online meetings can work for several hours, so at the moment I get one frame per second from the file.
Windows, , , , .
.