Welcome to Firefly
中文
Firefly文档中心
最近更新: 2026-12-02 14:46:25

GMSL2 使用

AIBOX-9075 提供 2 个 GMSL2 4Pin Mini FAKRA 接口,可用于接入 GMSL2 摄像头等设备。

比如摄像头模组:ZYG2-ISX031-E05A-H120,同一个端口接入 4 个。

export XDG_RUNTIME_DIR=/run/user/1000
export WAYLAND_DISPLAY=wayland-0

# 打开摄像头 0
gst-launch-1.0 -e qtiqmmfsrc camera=0 ! \
video/x-raw,format=NV12,width=1920,height=1536,framerate=30/1 ! \
videoconvert ! waylandsink sync=true

# 打开摄像头 1
gst-launch-1.0 -e qtiqmmfsrc camera=1 ! \
video/x-raw,format=NV12,width=1920,height=1536,framerate=30/1 ! \
videoconvert ! waylandsink sync=true

# 打开摄像头 2
gst-launch-1.0 -e qtiqmmfsrc camera=2 ! \
video/x-raw,format=NV12,width=1920,height=1536,framerate=30/1 ! \
videoconvert ! waylandsink sync=true

# 打开摄像头 3
gst-launch-1.0 -e qtiqmmfsrc camera=3 ! \
video/x-raw,format=NV12,width=1920,height=1536,framerate=30/1 ! \
videoconvert ! waylandsink sync=true

本页目录