diff --git a/docs/cubie/a5e/accessories/camera-13m-214.md b/docs/cubie/a5e/accessories/camera-13m-214.md new file mode 100644 index 000000000..7134fe710 --- /dev/null +++ b/docs/cubie/a5e/accessories/camera-13m-214.md @@ -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 摄像头 + + + +## 预览摄像头 + +使用 GStreamer 预览摄像头画面。 + + + +```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 +``` + + + +### 3840x2160 (4K) + + + +```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 +``` + + diff --git a/docs/cubie/a5e/accessories/camera-4k.md b/docs/cubie/a5e/accessories/camera-4k.md new file mode 100644 index 000000000..02d26d9bc --- /dev/null +++ b/docs/cubie/a5e/accessories/camera-4k.md @@ -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 摄像头 + + + +## 预览摄像头 + +使用 GStreamer 预览摄像头画面。 + + + +```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 +``` + + + +### 4208x3120 (4K+) + + + +```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 +``` + + diff --git a/docs/cubie/a5e/accessories/camera-8m-219.md b/docs/cubie/a5e/accessories/camera-8m-219.md new file mode 100644 index 000000000..6b22e52f4 --- /dev/null +++ b/docs/cubie/a5e/accessories/camera-8m-219.md @@ -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 摄像头 + + + +## 预览摄像头 + +使用 GStreamer 预览摄像头画面。 + + + +```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 +``` + + diff --git a/docs/cubie/a7a/accessories/camera-13m-214.md b/docs/cubie/a7a/accessories/camera-13m-214.md index 3972ebb3b..a9f5d6b8a 100644 --- a/docs/cubie/a7a/accessories/camera-13m-214.md +++ b/docs/cubie/a7a/accessories/camera-13m-214.md @@ -20,7 +20,27 @@ import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx'; ```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 +``` + + + +### 3840x2160 (4K) + + + +```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 ``` diff --git a/docs/cubie/a7a/accessories/camera-4k.md b/docs/cubie/a7a/accessories/camera-4k.md index ef841ffe5..d1a2a9c76 100644 --- a/docs/cubie/a7a/accessories/camera-4k.md +++ b/docs/cubie/a7a/accessories/camera-4k.md @@ -20,7 +20,17 @@ import Camera4K from '../../../common/accessories/\_camera-4k.mdx'; ```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 +``` + + + +### 4208x3120 (4K+) + + + +```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 ``` diff --git a/docs/cubie/a7a/accessories/camera-8m-219.md b/docs/cubie/a7a/accessories/camera-8m-219.md index 19451d1ce..4a66e56d0 100644 --- a/docs/cubie/a7a/accessories/camera-8m-219.md +++ b/docs/cubie/a7a/accessories/camera-8m-219.md @@ -20,7 +20,17 @@ import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx'; ```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 ``` diff --git a/docs/cubie/a7s/accessories-use/camera-13m-214.md b/docs/cubie/a7s/accessories-use/camera-13m-214.md index 8b27955a8..424c4a1a4 100644 --- a/docs/cubie/a7s/accessories-use/camera-13m-214.md +++ b/docs/cubie/a7s/accessories-use/camera-13m-214.md @@ -36,7 +36,27 @@ import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx'; ```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 +``` + + + +### 3840x2160 (4K) + + + +```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 ``` diff --git a/docs/cubie/a7s/accessories-use/camera-4k.md b/docs/cubie/a7s/accessories-use/camera-4k.md index 12c79ad80..8ce77a29b 100644 --- a/docs/cubie/a7s/accessories-use/camera-4k.md +++ b/docs/cubie/a7s/accessories-use/camera-4k.md @@ -36,7 +36,17 @@ import Camera4K from '../../../common/accessories/\_camera-4k.mdx'; ```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 +``` + + + +### 4208x3120 (4K+) + + + +```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 ``` diff --git a/docs/cubie/a7s/accessories-use/camera-8m-219.md b/docs/cubie/a7s/accessories-use/camera-8m-219.md index 431b95b73..8e5569a53 100644 --- a/docs/cubie/a7s/accessories-use/camera-8m-219.md +++ b/docs/cubie/a7s/accessories-use/camera-8m-219.md @@ -36,7 +36,17 @@ import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx'; ```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 ``` diff --git a/docs/cubie/a7z/accessories/camera-13m-214.md b/docs/cubie/a7z/accessories/camera-13m-214.md index 32267dca6..50fe77d27 100644 --- a/docs/cubie/a7z/accessories/camera-13m-214.md +++ b/docs/cubie/a7z/accessories/camera-13m-214.md @@ -20,26 +20,27 @@ import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx'; ```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 ``` -## 已验证环境与常用管线 +### 1920x1080 (1080p) -以下说明基于 issue #1360 中确认过的 Cubie A7Z 实测结果整理,适合先做快速自检。 + -- 已验证镜像:`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 预览 + + +### 3840x2160 (4K) ```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 ``` @@ -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` -- 如需复现本文档中的已验证结果,建议优先使用上方两条已验证管线,不要一开始就切换到未验证的低分辨率参数 diff --git a/docs/cubie/a7z/accessories/camera-4k.md b/docs/cubie/a7z/accessories/camera-4k.md index d64e768e1..23dc83b06 100644 --- a/docs/cubie/a7z/accessories/camera-4k.md +++ b/docs/cubie/a7z/accessories/camera-4k.md @@ -20,7 +20,17 @@ import Camera4K from '../../../common/accessories/\_camera-4k.mdx'; ```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 +``` + + + +### 4208x3120 (4K+) + + + +```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 ``` diff --git a/docs/cubie/a7z/accessories/camera-8m-219.md b/docs/cubie/a7z/accessories/camera-8m-219.md index 57d6a7c90..399fdad04 100644 --- a/docs/cubie/a7z/accessories/camera-8m-219.md +++ b/docs/cubie/a7z/accessories/camera-8m-219.md @@ -20,7 +20,17 @@ import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx'; ```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 ``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a5e/accessories/camera-13m-214.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a5e/accessories/camera-13m-214.md new file mode 100644 index 000000000..59bf44d3f --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a5e/accessories/camera-13m-214.md @@ -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 + + + +## Preview the camera + +Use GStreamer to preview the camera image. + + + +```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 +``` + + + +### 3840x2160 (4K) + + + +```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 +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a5e/accessories/camera-4k.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a5e/accessories/camera-4k.md new file mode 100644 index 000000000..f38adcdbc --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a5e/accessories/camera-4k.md @@ -0,0 +1,36 @@ +--- +sidebar_position: 1 + +doc_kind: wrapper +source_of_truth: common +imports_resolve_to: + - i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-4k.mdx +--- + +import Camera4K from '../../../common/accessories/\_camera-4k.mdx'; + +# Radxa Camera 4K + + + +## Preview the camera + +Use GStreamer to preview the camera image. + + + +```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 +``` + + + +### 4208x3120 (4K+) + + + +```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 +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a5e/accessories/camera-8m-219.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a5e/accessories/camera-8m-219.md new file mode 100644 index 000000000..edd9c2711 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a5e/accessories/camera-8m-219.md @@ -0,0 +1,36 @@ +--- +sidebar_position: 1 + +doc_kind: wrapper +source_of_truth: common +imports_resolve_to: + - i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-8m-219.mdx +--- + +import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx'; + +# Radxa Camera 8M 219 + + + +## Preview the camera + +Use GStreamer to preview the camera image. + + + +```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-13m-214.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-13m-214.md index b48600afe..f4ad9f0b3 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-13m-214.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-13m-214.md @@ -20,7 +20,27 @@ Use GStreamer to preview the camera image. ```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 +``` + + + +### 3840x2160 (4K) + + + +```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 ``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-4k.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-4k.md index 67fdddbd8..0da8610ed 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-4k.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-4k.md @@ -20,7 +20,17 @@ Use GStreamer to preview the camera image. ```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 +``` + + + +### 4208x3120 (4K+) + + + +```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 ``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-8m-219.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-8m-219.md index 36bbf2d5a..a237fdb82 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-8m-219.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-8m-219.md @@ -20,7 +20,17 @@ Use GStreamer to preview the camera image. ```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 ``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-13m-214.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-13m-214.md index f9261ad10..dd2e15aa5 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-13m-214.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-13m-214.md @@ -36,7 +36,27 @@ Run the following command on the board to preview the camera stream. ```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 +``` + + + +### 3840x2160 (4K) + + + +```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 ``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-4k.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-4k.md index 50f3b678f..224a92097 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-4k.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-4k.md @@ -36,7 +36,17 @@ Run the following command on the board to preview the camera stream. ```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 +``` + + + +### 4208x3120 (4K+) + + + +```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 ``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-8m-219.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-8m-219.md index d18408999..299580ccd 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-8m-219.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7s/accessories-use/camera-8m-219.md @@ -36,7 +36,17 @@ Run the following command on the board to preview the camera stream. ```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 ``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-13m-214.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-13m-214.md index 90a0f2f9b..241c16a41 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-13m-214.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-13m-214.md @@ -20,26 +20,27 @@ Use GStreamer to preview the camera image. ```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 ``` -## Verified setup and common pipelines +### 1920x1080 (1080p) -The notes below summarize the Cubie A7Z results confirmed in issue #1360 and are intended as a quick validation baseline. + -- Verified image: `radxa-a733_bullseye_kde_r2.output_512.img.xz` -- Full-resolution preview: use `/dev/video1` at `4208x3120` with `en-largemode=1` -- 1080p preview: use `/dev/video0` at `1920x1080` with `en-largemode=0` -- Lower resolutions were not fully validated in that software flow; switching directly to smaller resolutions may still produce abnormal output +```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 preview + + +### 3840x2160 (4K) ```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 ``` @@ -48,4 +49,3 @@ DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! - If no `/dev/video*` nodes appear, first confirm that you are using a recent official image, then reseat the FPC cable and verify its orientation and latch state - To quickly confirm whether the camera has been detected by the kernel, run `v4l2-ctl --list-devices` -- To reproduce the validated behavior documented here, start with the two verified pipelines above before trying unvalidated lower-resolution settings diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-4k.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-4k.md index 44cab9dd5..e3894e158 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-4k.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-4k.md @@ -20,7 +20,17 @@ Use GStreamer to preview the camera image. ```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 +``` + + + +### 4208x3120 (4K+) + + + +```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 ``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-8m-219.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-8m-219.md index 5088645ec..802d64088 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-8m-219.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-8m-219.md @@ -20,7 +20,17 @@ Use GStreamer to preview the camera image. ```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 +``` + + + +### 1920x1080 (1080p) + + + +```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 ```