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
Next revision
Previous revision
Next revision Both sides next revision
products:sbc:edge2:add-ons:edge2-mipi-camera [2023/07/05 01:58]
nick
products:sbc:edge2:add-ons:edge2-mipi-camera [2024/01/10 04:17]
jacobe
Line 9: Line 9:
  
 Please follow the [[products:sbc:edge2:configurations:upgrade-system|documentation ]]to upgrade your system to latest version. Please follow the [[products:sbc:edge2:configurations:upgrade-system|documentation ]]to upgrade your system to latest version.
 +
 +For new kernel(5.10.160)
 +```
 +$ sudo apt istall camera-engine-rkaiq
 +$ sudo reboot
 +```
  
 ==== Video Node ==== ==== Video Node ====
Line 14: Line 20:
 You can find the video nodes from the table below. You can find the video nodes from the table below.
  
-|        ^  Video Node    ^ +|        ^  Video Node(5.10.66)    ^  Video Node(5.10.160)   
-^  CAM1  |  /dev/video33 +^  CAM1  |  /dev/video33   /dev/video42  | 
-^  CAM2  |  /dev/video24 +^  CAM2  |  /dev/video24   /dev/video33  | 
-^  CAM3  |  /dev/video42  |+^  CAM3  |  /dev/video42   /dev/video51  |
  
 ==== Record Video with Gstreamer ==== ==== Record Video with Gstreamer ====
Line 24: Line 30:
  
 ```shell ```shell
-gst-launch-1.0 v4l2src device=/dev/video33 io-mode=mmap num-buffers=300 ! mpph264enc ! h264parse ! qtmux ! filesink location=/tmp/video33.mp4+gst-launch-1.0 v4l2src device=/dev/video33 io-mode=dmabuf num-buffers=300 ! mpph264enc ! h264parse ! qtmux ! filesink location=/tmp/video33.mp4
 ``` ```
  
Line 30: Line 36:
  
 ```shell ```shell
-gst-launch-1.0 v4l2src device=/dev/video24 io-mode=mmap num-buffers=300 ! mpph264enc ! h264parse ! qtmux ! filesink location=/tmp/video24.mp4+gst-launch-1.0 v4l2src device=/dev/video24 io-mode=dmabuf num-buffers=300 ! mpph264enc ! h264parse ! qtmux ! filesink location=/tmp/video24.mp4
 ``` ```
  
Line 36: Line 42:
  
 ```shell ```shell
-gst-launch-1.0 v4l2src device=/dev/video42 io-mode=mmap num-buffers=300 ! mpph264enc ! h264parse ! qtmux ! filesink location=/tmp/video42.mp4+gst-launch-1.0 v4l2src device=/dev/video42 io-mode=dmabuf num-buffers=300 ! mpph264enc ! h264parse ! qtmux ! filesink location=/tmp/video42.mp4
 ``` ```
 /* /*
Last modified: 2024/01/11 01:51 by jacobe