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
products:sbc:edge2:add-ons:edge2-mipi-camera [2025/09/02 04:01]
gray
products:sbc:edge2:add-ons:edge2-mipi-camera [2026/05/12 23:03] (current)
nick
Line 67: Line 67:
 gst-launch-1.0 v4l2src device=/dev/video42 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/video42.mp4 gst-launch-1.0 v4l2src device=/dev/video42 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/video42.mp4
 ``` ```
 +
 +Preview:
 +
 +```shell
 +gst-launch-1.0 v4l2src device=/dev/video42 io-mode=dmabuf min-buffers=64 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! waylandsink
 +```
 +
  
 Record video from ''CAM2'': Record video from ''CAM2'':
Line 73: 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 80: 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
 +```
 +
  
 /* /*
Line 201: Line 222:
  
 <tabbox IMX415> <tabbox IMX415>
-|        ^  CAM2 2lane, connect one camera separately ^ CAM2 2lane, connect three camera simultaneously ^ CAM2 4lane, connect one camera separately ^ CAM2 4lane, connect three camera simultaneously ^ CMA2 4lane, connect 2 cameras to CAM3 and CAM2 separately +  * connect one camera separately
-^  CAM1  |                  4K@30fps                                       4K@30fps                                   4K@30fps                                       4K@25fps                   |       -       + 
-^  CAM2  |                  4K@30fps                                       4K@30fps                                   4K@60fps                                       4K@50fps                   |    4K@60fps   +|       CAM2 2lane       CAM2 4lane (only V13 or later version support)    
-^  CAM3                   4K@60fps                                       4K@60fps                                   4K@60fps                                       4K@60fps                      4K@60fps   |+^  CAM1  |       4K@30fps                 4K@30fps          | 
 +^  CAM2  |       4K@30fps                 4K@60fps          | 
 +^  CAM3  |       4K@60fps        |          4K@60fps          | 
 + 
 +  * connect two cameras to CAM3 and CAM2 simultaneously 
 + 
 +|    ^    CAM2 2lane    ^    CAM2 4lane (only V13 or later version support)    ^ 
 +^  CAM2  |       4K@30fps                 4K@60fps          | 
 +^  CAM3  |       4K@60fps                 4K@60fps          | 
 + 
 +  * connect three camera simultaneously: 
 + 
 +|    ^    CAM2 2lane    ^    CAM2 4lane (only V13 or later version support)    ^ 
 +^  CAM1  |       4K@30fps        |          4K@25fps          
 +^  CAM2        4K@30fps                 4K@50fps          | 
 +^  CAM3        4K@60fps                 4K@60fps          | 
 <tabbox OS08A10> <tabbox OS08A10>
-|        ^  CAM2 2lane, connect one camera separately ^ CAM2 2lane, connect three camera simultaneously ^ CAM2 4lane, connect one camera separately ^ CAM2 4lane, connect three camera simultaneously ^ CMA2 4lane, connect 2 cameras to CAM3 and CAM2 separately +  * connect one camera separately
-^  CAM1  |                  4K@30fps                                       4K@30fps                                   4K@30fps                                       4K@30fps                   |       -       + 
-^  CAM2  |                  4K@30fps                                       4K@30fps                                   4K@46fps                                       4K@46fps                   |    4K@46fps   +|       CAM2 2lane       CAM2 4lane (only V13 or later version support)    
-^  CAM3                   4K@60fps                                       4K@46fps                                   4K@60fps                                       4K@46fps                      4K@46fps   |+^  CAM1  |       4K@30fps                 4K@30fps          | 
 +^  CAM2  |       4K@30fps                 4K@46fps          | 
 +^  CAM3  |       4K@60fps        |          4K@60fps          | 
 + 
 +  * connect two cameras to CAM3 and CAM2 simultaneously 
 + 
 +|    ^    CAM2 2lane    ^    CAM2 4lane (only V13 or later version support)    ^ 
 +^  CAM2  |       4K@30fps                 4K@46fps          | 
 +^  CAM3  |       4K@46fps                 4K@46fps          | 
 + 
 +  * connect three camera simultaneously: 
 + 
 +|    ^    CAM2 2lane    ^    CAM2 4lane (only V13 or later version support)    ^ 
 +^  CAM1  |       4K@30fps        |          4K@30fps          
 +^  CAM2        4K@30fps                 4K@46fps          | 
 +^  CAM3        4K@46fps                 4K@46fps          | 
 <tabbox IMX585> <tabbox IMX585>
-|        ^  CAM2 2lane, connect one camera separately ^ CAM2 2lane, connect three camera simultaneously ^ CAM2 4lane, connect one camera separately ^ CAM2 4lane, connect three camera simultaneously ^ CMA2 4lane, connect 2 cameras to CAM3 and CAM2 separately +  * connect one camera separately
-^  CAM1  |                  4K@30fps                                       4K@18fps                                   4K@30fps                                       4K@15fps                   |       -       + 
-^  CAM2  |                  4K@30fps                                       4K@23fps                                   4K@60fps                                       4K@30fps                   |    4K@60fps   +|       CAM2 2lane       CAM2 4lane (only V13 or later version support)    
-^  CAM3                   4K@60fps                                       4K@60fps                                   4K@60fps                                       4K@60fps                      4K@60fps   |+^  CAM1  |       4K@30fps                 4K@30fps          | 
 +^  CAM2  |       4K@30fps                 4K@60fps          | 
 +^  CAM3  |       4K@60fps        |          4K@60fps          | 
 + 
 +  * connect two cameras to CAM3 and CAM2 simultaneously 
 + 
 +|    ^    CAM2 2lane    ^    CAM2 4lane (only V13 or later version support)    ^ 
 +^  CAM2  |       4K@30fps                 4K@60fps          | 
 +^  CAM3  |       4K@60fps                 4K@60fps          | 
 + 
 +  * connect three camera simultaneously: 
 + 
 +|    ^    CAM2 2lane    ^    CAM2 4lane (only V13 or later version support)    ^ 
 +^  CAM1  |       4K@18fps        |          4K@15fps          
 +^  CAM2        4K@23fps                 4K@30fps          | 
 +^  CAM3        4K@60fps                 4K@60fps          | 
 <tabbox IMX678> <tabbox IMX678>
-|        ^  CAM2 2lane, connect one camera separately ^ CAM2 2lane, connect three camera simultaneously ^ CAM2 4lane, connect one camera separately ^ CAM2 4lane, connect three camera simultaneously ^ CMA2 4lane, connect 2 cameras to CAM3 and CAM2 separately +  * connect one camera separately
-^  CAM1  |                  4K@30fps                                       4K@30fps                                   4K@30fps                                       4K@25fps                   |       -       + 
-^  CAM2  |                  4K@30fps                                       4K@30fps                                   4K@60fps                                       4K@50fps                   |    4K@60fps   +|       CAM2 2lane       CAM2 4lane (only V13 or later version support)    
-^  CAM3                   4K@60fps                                       4K@60fps                                   4K@60fps                                       4K@60fps                      4K@60fps   |+^  CAM1  |       4K@30fps                 4K@30fps          | 
 +^  CAM2  |       4K@30fps                 4K@60fps          | 
 +^  CAM3  |       4K@60fps        |          4K@60fps          | 
 + 
 +  * connect two cameras to CAM3 and CAM2 simultaneously 
 + 
 +|    ^    CAM2 2lane    ^    CAM2 4lane (only V13 or later version support)    ^ 
 +^  CAM2  |       4K@30fps                 4K@60fps          | 
 +^  CAM3  |       4K@60fps                 4K@60fps          | 
 + 
 +  * connect three camera simultaneously: 
 + 
 +|    ^    CAM2 2lane    ^    CAM2 4lane (only V13 or later version support)    ^ 
 +^  CAM1  |       4K@30fps        |          4K@25fps          
 +^  CAM2        4K@30fps                 4K@50fps          | 
 +^  CAM3        4K@60fps                 4K@60fps          |
  
 </tabbox> </tabbox>
Last modified: 2025/09/02 04:01 by gray