News:

--

Main Menu

The existing frame and get the matched frame time

Started by davestephans, September 29, 2017, 02:47:21 PM

Previous topic - Next topic

davestephans

Hi,

Can somebody help me with this requirement, pls?

The ultimate idea is to get the start and end time of a clip from a full length video.
Start time can be noted manually by playing the video. But the frame of end time clip should be compared with an existing frame and the accurate end time should be given automatically.

Right now it is stressful to forward the video by 1 frame/sec and watch the clip to identify the end time of the specific part of video.

Thanks in advance.

eumagga0x2a

Quote from: davestephans on September 29, 2017, 02:47:21 PM
Start time can be noted manually by playing the video.

Or just press Ctrl+Shift+C which copies the PTS of the current frame to the clipboard.

QuoteBut the frame of end time clip should be compared with an existing frame and the accurate end time should be given automatically.

Maybe https://stackoverflow.com/questions/31061807/match-an-image-to-a-specific-frame-within-a-video-with-ffmpeg and https://stackoverflow.com/questions/843972/image-comparison-fast-algorithm might give you some ideas how this could be implemented.