1 | initial version |
I suppose that source stream has a fixed FPS.
You could reopen the video file, read the frames and save them into a new file with right FPS.. this will introduce big overhead specially for big videos
You could catch your video stream for a couple of seconds to measure source frame rate. Create your video file using measured frame rate. Sincerely 2 or 3 frame should be enough
finally if your process is slower than source frame rate you have to take some countermeasure because you can going into buffer overflow
2 | No.2 Revision |
I suppose that source stream has a fixed FPS.
You could reopen the video file, read the frames and save them into a new file with right FPS.. this will introduce big overhead specially for big videos
You could catch your video stream for a couple of seconds to measure source frame rate. Create your video file using measured frame rate. Sincerely 2 or 3 frame should be enough
finally if your process is slower than source frame rate you have to take some countermeasure because you can going into buffer overflow