Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions docs/cubie/a5e/accessories/camera-13m-214.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
sidebar_position: 1

doc_kind: wrapper
source_of_truth: common
imports_resolve_to:
- docs/common/accessories/_camera-13m-214.mdx
---

import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx';

# 瑞莎 13M 214 摄像头

<Camera13M214 product='瑞莎 Cubie A5E' interface='31-Pin 0.3 mm 间距 SMD 卧式 FPC 接口' connect='翻盖式,下接触' pins='31-Pin' pitch='0.3mm 间距' orientation='异面' board='cubie-a5e'/>

## 预览摄像头

使用 GStreamer 预览摄像头画面。

<NewCodeBlock tip='radxa@cubie-a5e$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=I420,width=4208,height=3120,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 1920x1080 (1080p)

<NewCodeBlock tip='radxa@cubie-a5e$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=I420,width=1920,height=1080,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 3840x2160 (4K)

<NewCodeBlock tip='radxa@cubie-a5e$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=I420,width=3840,height=2160,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
36 changes: 36 additions & 0 deletions docs/cubie/a5e/accessories/camera-4k.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
sidebar_position: 1

doc_kind: wrapper
source_of_truth: common
imports_resolve_to:
- docs/common/accessories/_camera-4k.mdx
---

import Camera4K from '../../../common/accessories/\_camera-4k.mdx';

# 瑞莎 4K 摄像头

<Camera4K product='瑞莎 Cubie A5E' interface='31-Pin 0.3 mm 间距 SMD 卧式 FPC 接口' connect='翻盖式,下接触' pins='31-Pin' pitch='0.3mm 间距' orientation='异面' board='cubie-a5e' enable_camera='Enable Radxa Camera 4K'/>

## 预览摄像头

使用 GStreamer 预览摄像头画面。

<NewCodeBlock tip='radxa@cubie-a5e$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=I420,width=3840,height=2160,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 4208x3120 (4K+)

<NewCodeBlock tip='radxa@cubie-a5e$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=I420,width=4208,height=3120,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
36 changes: 36 additions & 0 deletions docs/cubie/a5e/accessories/camera-8m-219.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
sidebar_position: 1

doc_kind: wrapper
source_of_truth: common
imports_resolve_to:
- docs/common/accessories/_camera-8m-219.mdx
---

import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx';

# 瑞莎 8M 219 摄像头

<Camera8M219 product='瑞莎 Cubie A5E' interface='31-Pin 0.3 mm 间距 SMD 卧式 FPC 接口' connect='翻盖式,下接触' pins='31-Pin' pitch='0.3mm 间距' orientation='同面' board='cubie-a5e' />

## 预览摄像头

使用 GStreamer 预览摄像头画面。

<NewCodeBlock tip='radxa@cubie-a5e$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=I420,width=3280,height=2464,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 1920x1080 (1080p)

<NewCodeBlock tip='radxa@cubie-a5e$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=I420,width=1920,height=1080,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
22 changes: 21 additions & 1 deletion docs/cubie/a7a/accessories/camera-13m-214.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,27 @@ import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx';
<NewCodeBlock tip='radxa@cubie-a7a$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=24/1 ! xvimagesink
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 1920x1080 (1080p)

<NewCodeBlock tip='radxa@cubie-a7a$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 3840x2160 (4K)

<NewCodeBlock tip='radxa@cubie-a7a$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
12 changes: 11 additions & 1 deletion docs/cubie/a7a/accessories/camera-4k.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,17 @@ import Camera4K from '../../../common/accessories/\_camera-4k.mdx';
<NewCodeBlock tip='radxa@cubie-a7a$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=24/1 ! xvimagesink
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 4208x3120 (4K+)

<NewCodeBlock tip='radxa@cubie-a7a$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
12 changes: 11 additions & 1 deletion docs/cubie/a7a/accessories/camera-8m-219.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,17 @@ import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx';
<NewCodeBlock tip='radxa@cubie-a7a$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=3280,height=2464,framerate=24/1 ! xvimagesink
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=3280,height=2464,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 1920x1080 (1080p)

<NewCodeBlock tip='radxa@cubie-a7a$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
22 changes: 21 additions & 1 deletion docs/cubie/a7s/accessories-use/camera-13m-214.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,27 @@ import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx';
<NewCodeBlock tip="radxa@cubie-a7s$" type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=24/1 ! xvimagesink
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 1920x1080 (1080p)

<NewCodeBlock tip="radxa@cubie-a7s$" type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 3840x2160 (4K)

<NewCodeBlock tip="radxa@cubie-a7s$" type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
12 changes: 11 additions & 1 deletion docs/cubie/a7s/accessories-use/camera-4k.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,17 @@ import Camera4K from '../../../common/accessories/\_camera-4k.mdx';
<NewCodeBlock tip="radxa@cubie-a7s$" type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=24/1 ! xvimagesink
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 4208x3120 (4K+)

<NewCodeBlock tip="radxa@cubie-a7s$" type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
12 changes: 11 additions & 1 deletion docs/cubie/a7s/accessories-use/camera-8m-219.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,17 @@ import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx';
<NewCodeBlock tip="radxa@cubie-a7s$" type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=3280,height=2464,framerate=24/1 ! xvimagesink
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=3280,height=2464,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 1920x1080 (1080p)

<NewCodeBlock tip="radxa@cubie-a7s$" type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
20 changes: 10 additions & 10 deletions docs/cubie/a7z/accessories/camera-13m-214.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,27 @@ import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx';
<NewCodeBlock tip='radxa@cubie-a7z$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=24/1 ! xvimagesink
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

## 已验证环境与常用管线
### 1920x1080 (1080p)

以下说明基于 issue #1360 中确认过的 Cubie A7Z 实测结果整理,适合先做快速自检。
<NewCodeBlock tip='radxa@cubie-a7z$' type="device">

- 已验证镜像:`radxa-a733_bullseye_kde_r2.output_512.img.xz`
- 全分辨率预览:使用 `/dev/video1`,分辨率 `4208x3120`,并保持 `en-largemode=1`
- 1080p 预览:使用 `/dev/video0`,分辨率 `1920x1080`,并使用 `en-largemode=0`
- 当前软件流中,更低分辨率未在该 issue 对应环境下完成验证;如果直接切到更低分辨率,可能出现画面异常
```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! xvimagesink
```

### 1080p 预览
</NewCodeBlock>

### 3840x2160 (4K)

<NewCodeBlock tip='radxa@cubie-a7z$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! xvimagesink
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
Expand All @@ -48,4 +49,3 @@ DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 !

- 如果系统中没有出现 `/dev/video*` 节点,请先确认使用的是最新可用官方镜像,再重新插拔并检查 FPC 排线是否压紧、方向是否正确
- 如果需要先确认摄像头是否已经被内核识别,可运行 `v4l2-ctl --list-devices`
- 如需复现本文档中的已验证结果,建议优先使用上方两条已验证管线,不要一开始就切换到未验证的低分辨率参数
12 changes: 11 additions & 1 deletion docs/cubie/a7z/accessories/camera-4k.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,17 @@ import Camera4K from '../../../common/accessories/\_camera-4k.mdx';
<NewCodeBlock tip='radxa@cubie-a7z$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=24/1 ! xvimagesink
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 4208x3120 (4K+)

<NewCodeBlock tip='radxa@cubie-a7z$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
12 changes: 11 additions & 1 deletion docs/cubie/a7z/accessories/camera-8m-219.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,17 @@ import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx';
<NewCodeBlock tip='radxa@cubie-a7z$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=3280,height=2464,framerate=24/1 ! xvimagesink
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=3280,height=2464,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 1920x1080 (1080p)

<NewCodeBlock tip='radxa@cubie-a7z$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
sidebar_position: 1

doc_kind: wrapper
source_of_truth: common
imports_resolve_to:
- i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-13m-214.mdx
---

import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx';

# Radxa Camera 13M 214

<Camera13M214 product='Radxa Cubie A5E' interface='31-Pin 0.3 mm pitch SMD horizontal FPC connector' connect='Flip type, bottom contact' pins='31-Pin' pitch='0.3mm pitch' orientation='opposite side' board='cubie-a5e' />

## Preview the camera

Use GStreamer to preview the camera image.

<NewCodeBlock tip='radxa@cubie-a5e$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=I420,width=4208,height=3120,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 1920x1080 (1080p)

<NewCodeBlock tip='radxa@cubie-a5e$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=I420,width=1920,height=1080,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>

### 3840x2160 (4K)

<NewCodeBlock tip='radxa@cubie-a5e$' type="device">

```bash
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=I420,width=3840,height=2160,framerate=30/1 ! xvimagesink
```

</NewCodeBlock>
Loading
Loading