I have a video captured by a webcam which captures the video with variable framerate. While I am reading it with the VideoReader and read(video,frame_num) functions, I am reading each frame and showing it into gui inside a while loop by converting the time value to frame. But it is not correct to get the either value by multiplying or dividing with the framenumber since it is not constant.
Let say matlab says, video has 3000 frames and 15fps then it should be 200secs long but actual length is much longer than this while it uses less frame where the image is still.
How to get the frame number or time value from other. I am iterating over time, thus I need to get correct number.
Isn't there any chance to get frame number vs time value vector or struct whatever.
Thanks for reading.
QTWriter
class.