Hello
I'm new to both Bonsai and high speed camera tracking & codec, and I have some confusion about video frame rate. Hope somebody can answer this question.
So I'm trying to do high speed camera tracking with a Pointgrey camera. I have a simple work flow with PointgreyCamera->image->VideoWriter. I'm using FMP4 as codec and saving as avi file. The camera is set at 300FPS.
My question is, when I set the video frame rate (in the VideoWriter) at 300FPS, then the resulting video doesn't seem to have all the frames (temporal resolution looks bad). However, if i use a much lower FPS in the VideoWriter, then the video is slowed downed, but I can now see all the frames. What's confusing is that if I open the two video files in MATLAB, they both have the same number of frames. What is going on here? Is video displayed not the real representation of the actual raw data in the file itself?
Jay