I’m having a problem with the framerate. I’m sending the frames through a custom camera with an FPGA, where I can control the line valid pause:
Controlling this Line Valid Pause time will directly influence the Frame pause. So lets put two real cases:
<b><u>Case 1</u></b> Framerate: 50fps Frame time: 20ms Line Valid pause: 11.76us Frame pause: 3.24ms <b><u>Case 2</u></b> Framerate: 50fps Frame time: 20ms Line Valid pause: 11.06us Frame pause: 4ms
With these two setups, Case 1 will be giving 50 fps in the TX2, and Case 2 will give half of it. Analyzing the frames in the TX2, it receives a frame and ignores next one, so it captures frames 0,2,4,6,8,10…
The bad point is that this is a custom test, where I’m able to modify the line valid pause time. In the original project I won’t be able to control this pause time.
Anyway, it makes no sense that increasing the frame pause will cause lost odd frames… I’m pretty sure it has something to do with some configuration, buffer overflow,…
I’ve read documentation about v4l2 and videobuf2, but I don’t see a way to relate this problem to the frameworks.
Any advice or suggestion on how to proceed with this problem?