Line 227: |
Line 227: |
| *CAM0 preview(VEYE-MIPI-327,CS-MIPI-IMX307 @1080p mode) | | *CAM0 preview(VEYE-MIPI-327,CS-MIPI-IMX307 @1080p mode) |
| | | |
− | <code>gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! videoconvert ! fpsdisplaysink videosink=autovideosink sync=false text-overlay=false -v</code> | + | <code>gst-launch-1.0 v4l2src io-mode=dmabuf device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! v4l2convert capture-io-mode=dmabuf output-io-mode=dmabuf ! autovideosink sync=false -v</code> |
| | | |
| *CAM1 preview(VEYE-MIPI-327,CS-MIPI-IMX307 @1080p mode) | | *CAM1 preview(VEYE-MIPI-327,CS-MIPI-IMX307 @1080p mode) |
| | | |
− | <code>gst-launch-1.0 v4l2src device=/dev/video2 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! videoconvert ! fpsdisplaysink videosink=autovideosink sync=false text-overlay=false -v</code> | + | <code>gst-launch-1.0 v4l2src io-mode=dmabuf device=/dev/video2 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! v4l2convert capture-io-mode=dmabuf output-io-mode=dmabuf ! autovideosink sync=false -v</code> |
| === Source code compilation === | | === Source code compilation === |
| Please refer to: [[Build drivers from source for rpi]]. | | Please refer to: [[Build drivers from source for rpi]]. |