I have a long video and I need to find approximate cutting points that match a particular image. Based on Finding frames in video that match an image I can find the cutting points I need, but this is takes too long time on my very long video.
Is there a way of finding matching key-frames only in a H264 video stream (MP4 container) and skip all non-keyframes for the comparison? I expect that this would speed up the process significantly. Also open to alternative solutions.