This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Increase the frame rate of v4l2 capture

Hi, all

 

I want to know how to increase the frame rate of v4l2 capture. I use the method ioctl() call to set VIDIOC_S_PARM parameters. But driver does not support it. Is there any other methods to increase the frame rate?

  • Pu,

    Capture frame rates are effective;y throttled by the input media ( sensor or the NTSC/PAL/HD decoder ).  There is no mechanism to increase beyond the fps support of the sensor/decoder. What is th frame rate of your decoder/sensor and wha you want  to increase it to?

     

    Also, another important point to note is that the effective frame rate might sometimes decrease based on how heavy your video ap is ( does it do a lot of memcopies?/does it take a lot of time processing the captured frame/?) - the thumbrule is that the total processing time you app takes should be less than a frame/field time so as to maximize the CCDC framerate.

     

     

    -Manjunath Hadli

  • Hi,  Manjunath Hadli

     

          I receive video signal from video input, the input source is camera. So the frame rate is decided by the camera? I want to use ioctl() control the frame rate, but driver does not support.

     

    thanks!

     

     

     

     

     

     

     

  • Assuming you are connecting the camera to the video input if you are taking the input from the camera, and assuming that the camera is NTSC, the frame rate is 30 frames or 60 fields per second.

    Do you want to decrease or increase the frame rate? increase is not possible, and decrease should be possible by dropping frames.

     -Manjunath

  • my camera is PAL , and frame rate is 25. So, the max frame rate I can achieve is 25?

     

    thanks

  • yes. 25 frames or 50 fields per second.