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,并没有明确的指向某个功能。我想这应该是一个共同的原因引起的,您有什么建议吗?
-
@毛宪历
这个板子上,请使用如下命令进行测试先:python3 ./v4l2dev_2_opencv_show_grey.py --width 2432 --height 2048 --fps 50 --i2c 7
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login