deepstream-test3读串口USB和GMSL相机很卡?ERROR from element src_elem: Internal data stream error. handled EOS

1,输入指令查看输入图像的分辨率以及帧率

v4l2-ctl -d /dev/video1 --list-formats-ext

查到参数以后,为deepstream-test3.c里cap的参数填写正确

2,参考链接

How to run deepstream-test3 with usb camera

Use YUY2 format as input

Do you run ‘v4l2-ctl’ command to get all modes? ‘848x480 YUYV 30fps’
is an example and you have to adapt it to your camera output.

numbuffer-> none,如果这个设有值的话,就会出现读取一段时间后自动跳转。
用指令查看相机输出的通道格式,并进行设置,但是我代码里直接设置的是NV12也是可以的。

Your code worked in my environment! I had changed some
properties(numbuffer-> none, UYVY->YUY2 a

猜你喜欢

转载自blog.csdn.net/pvmsmfchcs/article/details/132577004