Author Topic: The existing frame and get the matched frame time  (Read 789 times)

davestephans

  • Newbie
  • *
  • Posts: 1
The existing frame and get the matched frame time
« 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.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3406
Re: The existing frame and get the matched frame time
« Reply #1 on: September 29, 2017, 03:23:58 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.

Quote
But 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.