Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2:add-ons:edge2-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
products:sbc:edge2:add-ons:edge2-mipi-camera [2026/05/12 22:56]
nick
products:sbc:edge2:add-ons:edge2-mipi-camera [2026/05/12 23:03] (current)
nick
Line 80: Line 80:
 gst-launch-1.0 v4l2src device=/dev/video33 io-mode=dmabuf min-buffers=64 num-buffers=300 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! mpph264enc ! h264parse ! qtmux ! filesink location=/tmp/video33.mp4 gst-launch-1.0 v4l2src device=/dev/video33 io-mode=dmabuf min-buffers=64 num-buffers=300 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! mpph264enc ! h264parse ! qtmux ! filesink location=/tmp/video33.mp4
 ``` ```
 +
 +Preview:
 +
 +```shell
 +gst-launch-1.0 v4l2src device=/dev/video33 io-mode=dmabuf min-buffers=64 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! waylandsink
 +```
 +
 For 4K@60fps, framerate should be set 60/1 For 4K@60fps, framerate should be set 60/1
  
Line 87: Line 94:
 gst-launch-1.0 v4l2src device=/dev/video51 io-mode=dmabuf min-buffers=64 num-buffers=600 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=60/1 ! mpph264enc ! h264parse ! qtmux ! filesink location=/tmp/video51.mp4 gst-launch-1.0 v4l2src device=/dev/video51 io-mode=dmabuf min-buffers=64 num-buffers=600 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=60/1 ! mpph264enc ! h264parse ! qtmux ! filesink location=/tmp/video51.mp4
 ``` ```
 +
 +Preview:
 +
 +```shell
 +gst-launch-1.0 v4l2src device=/dev/video51 io-mode=dmabuf min-buffers=64 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! waylandsink
 +```
 +
  
 /* /*
Last modified: 2026/05/12 23:03 by nick