This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:add-ons:new-vim4-mipi-camera [2024/08/05 08:22] nick [Record video via gstreamer] |
products:sbc:vim4:add-ons:new-vim4-mipi-camera [2025/09/01 01:45] (current) nick [Record video via gstreamer] |
||
---|---|---|---|
Line 17: | Line 17: | ||
==== Enable overlays ==== | ==== Enable overlays ==== | ||
+ | |||
+ | <WRAP important > | ||
+ | From version **1.7.5**, cameras are auto detected by default, no need any setup, you can just skip the overlay setup. | ||
+ | </ | ||
If you want to use the MIPI camera, you need to enable it in [[products: | If you want to use the MIPI camera, you need to enable it in [[products: | ||
Line 53: | Line 57: | ||
```shell | ```shell | ||
- | gst-launch-1.0 -e v4l2src device=/ | + | gst-launch-1.0 -e v4l2src device=/ |
``` | ``` | ||
Line 61: | Line 65: | ||
```shell | ```shell | ||
- | gst-launch-1.0 -e v4l2src device=/ | + | gst-launch-1.0 -e v4l2src device=/ |
``` | ``` | ||
Line 111: | Line 115: | ||
$ ffplay -f rawvideo -pixel_format nv12 -video_size 3840x2160 / | $ ffplay -f rawvideo -pixel_format nv12 -video_size 3840x2160 / | ||
``` | ``` | ||
+ | |||
+ | ==== Preview video on ubuntu desktop ==== | ||
+ | |||
+ | <tabbox Ubuntu 24.04> | ||
+ | |||
+ | You can use gstreamer '' | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 v4l2src device=/ | ||
+ | ``` | ||
+ | |||
+ | You can use the command below to check display fps: | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 -v v4l2src device=/ | ||
+ | ``` | ||
+ | |||
+ | <tabbox Ubuntu 22.04> | ||
+ | |||
+ | You can use gstreamer '' | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 v4l2src device=/ | ||
+ | ``` | ||
+ | |||
+ | You can use the command below to check display fps: | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 -v v4l2src device=/ | ||
+ | ``` | ||
+ | |||
+ | You press '' | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||