UNSOLVED RAW-MIPI-SC535M格式取流设置问题
-
您好,
我使用了RAW-MIPI-SC535M这款相机执行preview_3588.sh脚本时遇到了问题。脚本的gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=GRAY8,width=$WIDTH,height=$HEIGHT ! autovideosink这一行在报错,完整的报错信息如下:
Just use 2432*2048@30fps, I2C bus is 7 as a sample. Please modify these values if needed.
Start MV Camera Preview!
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000110543
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
我希望知道报错的原因以及修改方式,感谢! -
@毛宪历 请问你使用的主板型号是什么?
-
@veye_xumm RK3588S-PC,firefly5.10,基于Ubuntu20.04。同时还有一个附带的情况,就是我在C++中使用系统调用(v4l2框架)连接/dev/video0时可以连接,但使用ioctl查询设备支持的模式时发现获取的v4l2_capability.capabilities = 0x84201000,并没有明确的指向某个功能。我想这应该是一个共同的原因引起的,您有什么建议吗?