This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
products:sbc:vim4:add-ons:new-vim4-mipi-camera [2023/09/24 21:35] nick |
products:sbc:vim4:add-ons:new-vim4-mipi-camera [2023/09/28 08:30] nick |
||
---|---|---|---|
Line 42: | Line 42: | ||
The video node is ''/ | The video node is ''/ | ||
+ | |||
+ | ==== Record video via gstreamer ==== | ||
+ | |||
+ | <WRAP important > | ||
+ | Only for 5.15 kernel. | ||
+ | </ | ||
+ | |||
+ | |||
+ | Record video and perform '' | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 v4l2src device=/ | ||
+ | |||
+ | ``` | ||
+ | |||
+ | Record video and perform '' | ||
+ | |||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 v4l2src device=/ | ||
+ | |||
+ | ``` | ||
==== Get Frames via Mediactl API ==== | ==== Get Frames via Mediactl API ==== | ||
Line 88: | Line 110: | ||
```shell | ```shell | ||
$ ffplay -f rawvideo -pixel_format nv21 -video_size 3840x2160 / | $ ffplay -f rawvideo -pixel_format nv21 -video_size 3840x2160 / | ||
- | ``` | ||
- | |||
- | ==== Record video via gstreamer ==== | ||
- | |||
- | <WRAP important > | ||
- | Only for 5.15 kernel. | ||
- | </ | ||
- | |||
- | |||
- | Record video and perform '' | ||
- | |||
- | ```shell | ||
- | gst-launch-1.0 v4l2src device=/ | ||
- | |||
- | ``` | ||
- | |||
- | Record video and perform '' | ||
- | |||
- | |||
- | ```shell | ||
- | gst-launch-1.0 v4l2src device=/ | ||
- | |||
``` | ``` | ||