Avidemux Forum

Avidemux => Windows => Topic started by: davestephans on September 29, 2017, 02:47:21 PM

Title: The existing frame and get the matched frame time
Post by: davestephans on September 29, 2017, 02:47:21 PM
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.
Title: Re: The existing frame and get the matched frame time
Post by: eumagga0x2a on September 29, 2017, 03:23:58 PM
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 (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 (https://stackoverflow.com/questions/843972/image-comparison-fast-algorithm) might give you some ideas how this could be implemented.