我正在尝试在 dev board mini 上使用珊瑚相机获取图像,但是在构建正确的 gstreamer 管道时遇到了问题。我正在尝试这个
gst-launch-1.0 v4l2src device='/dev/video1' num_buffers=1 ! video/x-raw,format=YUY2,width=640,height=480,framerate=30/1 ! jpegenc ! filesink location=image.jpg
gst-launch-1.0 v4l2src device='/dev/video1' num_buffers=1 ! video/x-raw,format=YUY2,width=640,height=480,framerate=30/1 ! videoconvert !jpegenc ! filesink location=image.jpg
但我只得到绿色图像。如何构建合适的管道?