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.

SK-AM62A-LP: 120 fps video streaming not working properly using gstreamer

Part Number: SK-AM62A-LP

Tool/software:

Hello Team,

We are working on video streaming in that our camera sensor has support to give 120fps and based on that I am trying to tcp video stream using gstreamer command.
In that, I am getting video like ghost frame and frame loss. after that, I have checked different fps like 120,100,80,90. in that 60 and below 60 fps stream working fine.

So, any idea why 120 fps video streaming not working well. is there any limitation with ISP or v4l2jpegenc for fps ? 

I am attaching video here.

Thanks,

Jaimin

 

  • Hi Jaimin,

    As long as your total throughput is less than 315MPixel/s, ISP can handle that.

    Would you mind sharing your gstreamer pipeline? There may be some room for optimization.

    Regards,

    Jianzhong

  • Gstreamer pipeline:

    gst-launch-1.0 -v v4l2src device=/dev/video-rpi-cam0 io-mode=dmabuf-import ! video/x-bayer, width=1920, height=1200, framerate=120/1, format=rggb10 ! tiovxisp sink_0::device=/dev/v4l-rpi-subdev0 sensor-name="SENSOR_SONY_IMX219_RPI" dcc-isp-file=/opt/imaging/ar0235/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/ar0235/dcc_2a.bin format-msb=9 ! video/x-raw, format=NV12, width=1920, height=1200, framerate=120/1 ! v4l2jpegenc output-io-mode=dmabuf-import ! tcpserversink host=172.25.4.208 port=5000

  • Hi Jaimin,

    Does your display support 120fps?

    Please try the following and see if it helps? I added a few queue elements to decouple the pipeline processing:

    gst-launch-1.0 -v v4l2src device=/dev/video-rpi-cam0 io-mode=dmabuf-import ! queue max-size-buffers=1 leaky=2 ! \
    video/x-bayer, width=1920, height=1200, framerate=120/1, format=rggb10 ! tiovxisp sink_0::device=/dev/v4l-rpi-subdev0 sensor-name="SENSOR_SONY_IMX219_RPI" dcc-isp-file=/opt/imaging/ar0235/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/ar0235/dcc_2a.bin format-msb=9 ! \
    video/x-raw, format=NV12, width=1920, height=1200, framerate=120/1 !  queue ! \
    v4l2jpegenc output-io-mode=dmabuf-import ! tcpserversink host=172.25.4.208 port=5000

    Regards,

    Jianzhong