I am trying to write a program that will process a video file and will process a timer with it. Each video file has a file .txtnext to it, including the time when the video was shot (for example, 13:43:21) in real time, I want my program to read this file .txtand start the timer from this specific timestamp and checkmark, when it goes off in the video file.
So far I can read the file .txt, and I have a start time, which is stored in the variable string. Now I want to do it in order to create a timer that starts with the read string variable and marks how the video is played, so in my program I synchronize with the time marked in the video.
Edit: I am using OpenCV as a library.
source
share