两侧同时换到之前的修订记录 前一修订版 | |
digi:arm-embedded:ccmp2:mipiwifi [2025/07/08 08:42] – robin | digi:arm-embedded:ccmp2:mipiwifi [2025/07/08 09:02] (当前版本) – robin |
---|
| |
gst-launch-1.0 v4l2src device=/dev/video2 ! image/jpeg,width=640,height=480 ! queue max-size-buffers=2 leaky=downstream ! jpegparse ! jpegdec ! videoconvert ! autovideosink | gst-launch-1.0 v4l2src device=/dev/video2 ! image/jpeg,width=640,height=480 ! queue max-size-buffers=2 leaky=downstream ! jpegparse ! jpegdec ! videoconvert ! autovideosink |
| |
| 上面不行,JPEG可能是为了静态抓图,而不是mjpg, 设置回YUYV |
| |
| gst-launch-1.0 v4l2src device=/dev/video2 ! "video/x-raw,format=YUYV,width=640,height=480" ! videoconvert ! video/x-raw,format=I420 ! autovideosink |
| |
| gst-launch-1.0 v4l2src device=/dev/video2 ! capsfilter caps="video/x-raw,format=YUYV,width=640,height=480" ! videoconvert ! autovideosink |
| |
| 尝试mjpg,还是要设置回jpeg |
| gst-launch-1.0 v4l2src device=/dev/video2 ! image/jpeg,width=640,height=480 ! jpegdec ! videoconvert ! autovideosink |
| |
</code> | </code> |
| 上面不行,就用专用转换方案 |
| <code> |
| gst-launch-1.0 v4l2src device=/dev/video2 ! v4l2convert ! video/x-raw,format=YUYV,width=640,height=480 ! videoconvert ! autovideosink |
| </code> |
| |
********旧资料 | ********旧资料 |