Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:add-ons:vim4-mipi-camera

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim4:add-ons:vim4-mipi-camera [2024/09/23 22:14]
nick
products:sbc:vim4:add-ons:vim4-mipi-camera [2024/09/24 03:46] (current)
nick [Preview video on ubuntu desktop]
Line 147: Line 147:
  
 ```shell ```shell
-gst-launch-1.0 -e v4l2src device=/dev/video50 io-mode=mmap  ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! videoconvert ! waylandsink+gst-launch-1.0 v4l2src device=/dev/video50 io-mode=mmap  ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! videoconvert ! waylandsink
 ``` ```
  
Line 160: Line 160:
 You can use gstreamer ''clutterautovideosink'' to preview the video on Ubuntu Wayland desktop: You can use gstreamer ''clutterautovideosink'' to preview the video on Ubuntu Wayland desktop:
  
 +```shell
 +gst-launch-1.0 v4l2src device=/dev/video50 io-mode=mmap ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! clutterautovideosink
 +```
  
 +You can use the command below to check display fps:
  
 +```shell
 +gst-launch-1.0 -v v4l2src device=/dev/video50 io-mode=mmap ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! fpsdisplaysink video-sink=clutterautovideosink sync=false text-overlay=true
 +```
  
-</tabbox> +You press ''Alt + F7'' and then move mouse to move the windown.
- +
- +
  
 +</tabbox>
  
 ===== Android ===== ===== Android =====
Last modified: 2024/09/23 22:14 by nick