root@rk3566-buildroot:/# uname -a
root@rk3566-buildroot:/# lsusb
root@rk3566-buildroot:/# v4l2-ctl --list-devices
root@rk3566-buildroot:/# v4l2-ctl --list-formats-ext -d /dev/video10
root@rk3566-buildroot:/# v4l2-ctl -D -d /dev/video10
【卡顿】
gst-launch-1.0 v4l2src device=/dev/video10 ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080 ! waylandsink
gst-launch-1.0 v4l2src device=/dev/video10 ! image/jpeg,width=1920,height=1080 ! jpegdec ! videoconvert ! autovideosink
录像:【边路边播放】
gst-launch-1.0 v4l2src device=/dev/video10 num-buffers=300 ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080 ! tee name=t ! queue ! mpph264enc ! queue ! h264parse ! qtmux ! filesink location=1080p-yuv300.mp4 t. ! queue ! waylandsink
20250319在荣品的PRO-RK3566开发板的buildroot系统下使用1080p的USB摄像头出图
2025/3/19 17:56
缘起:在荣品的PRO-RK3566开发板的buildroot系统下,使用USB摄像头出图即可。
可以使用HOST1和HOST2,对于J27引脚的OTG0,需要将OTG模式切换为HOST模式。
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# uname -a
Linux rk3566-buildroot 5.10.198 #33 SMP Mon Jul 1 15:11:54 CST 2024 aarch64 GNU/Linux
root@rk3566-buildroot:/#
Z:\BaiduNetdiskDownload\20241223的cdrom_pro-rk3566-rk3568\04-镜像文件\RK3566\Linux-5.10\buildroot\update-rk356x-pro-rk3566-buildroot--20240702-102737.img
完整的LOG:
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# ll
total 108
drwxr-xr-x 23 root root 4096 Jan 1 21:17 ./
drwxr-xr-x 23 root root 4096 Jan 1 21:17 ../
drwxr-xr-x 4 root root 4096 Jan 1 20:57 .cache/
-rw-r--r-- 1 root root 0 Mar 19 2025 .resized
-rw-r--r-- 1 root root 0 Mar 13 2024 .skip_fsck
lrwxrwxrwx 1 root root 7 Jul 1 2024 bin -> usr/bin/
-rw-r--r-- 1 root root 489 May 21 2024 busybox.fragment
lrwxrwxrwx 1 root root 8 Jul 2 2024 data -> userdata/
drwxr-xr-x 15 root root 4880 Jan 1 21:17 dev/
drwxr-xr-x 25 root root 4096 Jan 1 20:57 etc/
drwxr-xr-x 2 root root 4096 Jul 2 2024 info/
lrwxrwxrwx 1 root root 7 Jul 1 2024 lib -> usr/lib/
lrwxrwxrwx 1 root root 3 Jul 1 2024 lib64 -> lib/
lrwxrwxrwx 1 root root 11 Jul 1 2024 linuxrc -> bin/busybox*
drwx------ 2 root root 16384 Jul 2 2024 lost+found/
drwxr-xr-x 11 root root 4096 Jul 1 2024 media/
drwxr-xr-x 5 root root 4096 Jul 2 2024 mnt/
drwxr-xr-x 2 root root 4096 Jul 1 2024 oem/
drwxr-xr-x 3 root root 4096 Jul 1 2024 opt/
dr-xr-xr-x 234 root root 0 Jan 1 21:17 proc/
drwxr-xr-x 16 root root 4096 Jul 2 2024 rockchip-test/
drwx------ 2 root root 4096 Mar 13 2024 root/
drwxr-xr-x 7 root root 4096 May 22 2024 rp_stress_test/
drwxr-xr-x 31 root root 4096 Jun 20 2024 rp_test/
drwxr-xr-x 11 root root 560 Jan 1 21:17 run/
lrwxrwxrwx 1 root root 8 Jul 1 2024 sbin -> usr/sbin/
lrwxrwxrwx 1 root root 10 Jul 2 2024 sdcard -> mnt/sdcard/
dr-xr-xr-x 15 root root 0 Jan 1 21:17 sys/
drwxr-xr-x 3 root root 4096 Jul 2 2024 system/
drwxrwxrwt 6 root root 280 Jan 1 21:17 tmp/
-rwxrwxrwx 1 root root 18608 Jun 11 2024 uart_test*
lrwxrwxrwx 1 root root 9 Jul 2 2024 udisk -> mnt/udisk/
drwxr-xr-x 3 root root 4096 Mar 19 2025 userdata/
drwxr-xr-x 8 root root 4096 Jul 2 2024 usr/
drwxr-xr-x 6 root root 4096 Jul 2 2024 var/
lrwxrwxrwx 1 root root 6 Jul 2 2024 vendor -> system/
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# uname -a
Linux rk3566-buildroot 5.10.198 #33 SMP Mon Jul 1 15:11:54 CST 2024 aarch64 GNU/Linux
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# lsusb
Bus 003 Device 001: ID 1d6b:0001
Bus 002 Device 002: ID 05e3:0610
Bus 001 Device 001: ID 1d6b:0002
Bus 008 Device 001: ID 1d6b:0003
Bus 004 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0002
Bus 007 Device 001: ID 1d6b:0002
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# /bin/list-iodomain.sh version: V1.0.1
Get CHIP ID: rk356x
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX PLEASE CHECK IO-DOMAIN !!!!!!!!!!!!!!!
XXXXXXXXXX 请务必检查IO电源域配置 !!!!!!!!!!!!!!!
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Get IO DOMAIN VALUE:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
注意事项:PMUIO1/PMUIO2 固定不可配
VCCIO2电平由硬件FLASH_VOL_SEL决定:
当VCCIo2供电是1.8V,则FLASH_VOL_SEL管脚必须保持为高电平;
当VCCIO2供电是3.3V,则FLASH_VOL_SEL管脚必须保持为低电平;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
pmuio2_vsel: 3.3V
vccio7_vsel: 3.3V
vccio6_vsel: 1.8V
vccio5_vsel: 3.3V
vccio4_vsel: 3.3V
vccio3_vsel: 3.3V
vccio2_vsel: 3.3V
vccio1_vsel: 3.3V
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# uname -a
Linux rk3566-buildroot 5.10.198 #33 SMP Mon Jul 1 15:11:54 CST 2024 aarch64 GNU/Linux
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# lsusb
Bus 003 Device 001: ID 1d6b:0001
Bus 002 Device 002: ID 05e3:0610
Bus 001 Device 001: ID 1d6b:0002
Bus 008 Device 001: ID 1d6b:0003
Bus 004 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0002
Bus 007 Device 001: ID 1d6b:0002
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# [ 144.308288] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 144.457324] usb 1-1: New USB device found, idVendor=2bdf, idProduct=0289, bcdDevice=33.00
[ 144.457412] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 144.457439] usb 1-1: Product: 1080P USB Camera
[ 144.457461] usb 1-1: Manufacturer: SN0002
[ 144.457481] usb 1-1: SerialNumber: 44434000_P030102_SN0002
[ 144.472119] uvcvideo: Found UVC 1.00 device 1080P USB Camera (2bdf:0289)
[ 144.534071] uvcvideo: Failed to query (GET_INFO) UVC control 12 on unit 2: -32 (exp. 1).
[ 144.600078] cdc_acm 1-1:1.4: ttyACM0: USB ACM device
[ 144.617776] hid-generic 0003:2BDF:0289.0001: hiddev96,hidraw0: USB HID v1.01 Device [SN0002 1080P USB Camera] on usb-fd800000.usb-1/input6
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# lsusb
Bus 003 Device 001: ID 1d6b:0001
Bus 002 Device 002: ID 05e3:0610
Bus 001 Device 001: ID 1d6b:0002
Bus 008 Device 001: ID 1d6b:0003
Bus 001 Device 002: ID 2bdf:0289
Bus 004 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0002
Bus 007 Device 001: ID 1d6b:0002
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# v4l2-ctl --list-devices
rkisp-statistics (platform: rkisp):
/dev/video8
/dev/video9
rkisp_mainpath (platform:rkisp-vir0):
/dev/video0
/dev/video1
/dev/video2
/dev/video3
/dev/video4
/dev/video5
/dev/video6
/dev/video7
/dev/media0
1080P USB Camera: 1080P USB Cam (usb-fd800000.usb-1):
/dev/video10
/dev/video11
/dev/media1
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# /bin/list-iodomain.sh version: V1.0.1
Get CHIP ID: rk356x
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX PLEASE CHECK IO-DOMAIN !!!!!!!!!!!!!!!
XXXXXXXXXX 请务必检查IO电源域配置 !!!!!!!!!!!!!!!
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Get IO DOMAIN VALUE:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
注意事项:PMUIO1/PMUIO2 固定不可配
VCCIO2电平由硬件FLASH_VOL_SEL决定:
当VCCIo2供电是1.8V,则FLASH_VOL_SEL管脚必须保持为高电平;
当VCCIO2供电是3.3V,则FLASH_VOL_SEL管脚必须保持为低电平;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
pmuio2_vsel: 3.3V
vccio7_vsel: 3.3V
vccio6_vsel: 1.8V
vccio5_vsel: 3.3V
vccio4_vsel: 3.3V
vccio3_vsel: 3.3V
vccio2_vsel: 3.3V
vccio1_vsel: 3.3V
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
v4l2-ctl --list-formats-ext -d /dev/video^C
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# v4l2-ctl --list-formats-ext -d /dev/video10
[ 255.766250] uvcvideo: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'YUYV' (YUYV 4:2:2)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1280x960
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.033s (30.000 fps)
[1]: 'MJPG' (Motion-JPEG, compressed)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 1280x960
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
[2]: 'NV12' (Y/CbCr 4:2:0)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1280x960
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.033s (30.000 fps)
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# v4l2-ctl -D -d /dev/video10
[ 266.188323] uvcvideo: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
Driver Info:
Driver name : uvcvideo
Card type : 1080P USB Camera: 1080P USB Cam
Bus info : usb-fd800000.usb-1
Driver version : 5.10.198
Capabilities : 0x84a00001
Video Capture
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : uvcvideo
Model : 1080P USB Camera: 1080P USB Cam
Serial : 44434000_P030102_SN0002
Bus info : usb-fd800000.usb-1
Media version : 5.10.198
Hardware revision: 0x00003300 (13056)
Driver version : 5.10.198
Interface Info:
ID : 0x03000002
Type : V4L Video
Entity Info:
ID : 0x00000001 (1)
Name : 1080P USB Camera: 1080P USB Cam
Function : V4L2 I/O
Flags : default
Pad 0x01000007 : 0: Sink
Link 0x0200000d: from remote pad 0x100000a of entity 'Processing 2' (Video Pixel Formatter): Data, Enabled, Immutable
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# /bin/list-iodomain.sh version: V1.0.1
Get CHIP ID: rk356x
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX PLEASE CHECK IO-DOMAIN !!!!!!!!!!!!!!!
XXXXXXXXXX 请务必检查IO电源域配置 !!!!!!!!!!!!!!!
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Get IO DOMAIN VALUE:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
注意事项:PMUIO1/PMUIO2 固定不可配
VCCIO2电平由硬件FLASH_VOL_SEL决定:
当VCCIo2供电是1.8V,则FLASH_VOL_SEL管脚必须保持为高电平;
当VCCIO2供电是3.3V,则FLASH_VOL_SEL管脚必须保持为低电平;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
pmuio2_vsel: 3.3V
vccio7_vsel: 3.3V
vccio6_vsel: 1.8V
vccio5_vsel: 3.3V
vccio4_vsel: 3.3V
vccio3_vsel: 3.3V
vccio2_vsel: 3.3V
vccio1_vsel: 3.3V
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# cd /dev
root@rk3566-buildroot:/dev#
root@rk3566-buildroot:/dev# ll video*
lrwxrwxrwx 1 root root 11 Jan 1 21:17 video-camera0 -> /dev/video0
-rw-r--r-- 1 root root 4 Jan 1 21:17 video-dec0
-rw-r--r-- 1 root root 4 Jan 1 21:17 video-enc0
crw-rw---- 1 root video 81, 0 Jan 1 21:17 video0
crw-rw---- 1 root video 81, 1 Jan 1 21:17 video1
crw-rw---- 1 root video 81, 13 Jan 1 21:20 video10
crw-rw---- 1 root video 81, 14 Jan 1 21:20 video11
crw-rw---- 1 root video 81, 2 Jan 1 21:17 video2
crw-rw---- 1 root video 81, 3 Jan 1 21:17 video3
crw-rw---- 1 root video 81, 4 Jan 1 21:17 video4
crw-rw---- 1 root video 81, 5 Jan 1 21:17 video5
crw-rw---- 1 root video 81, 6 Jan 1 21:17 video6
crw-rw---- 1 root video 81, 7 Jan 1 21:17 video7
crw-rw---- 1 root video 81, 8 Jan 1 21:17 video8
crw-rw---- 1 root video 81, 9 Jan 1 21:17 video9
root@rk3566-buildroot:/dev#
gst-launch-1.0 v4l2src device=/dev/video10 ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080 ! waylandsink
gst-launch-1.0 v4l2src device=/dev/video10 ! image/jpeg,width=1920,height=1080 ! jpegdec ! videoconvert ! autovideosink
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# cd /dev
root@rk3566-buildroot:/dev#
root@rk3566-buildroot:/dev# ll video*
lrwxrwxrwx 1 root root 11 Jan 1 21:17 video-camera0 -> /dev/video0
-rw-r--r-- 1 root root 4 Jan 1 21:17 video-dec0
-rw-r--r-- 1 root root 4 Jan 1 21:17 video-enc0
crw-rw---- 1 root video 81, 0 Jan 1 21:17 video0
crw-rw---- 1 root video 81, 1 Jan 1 21:17 video1
crw-rw---- 1 root video 81, 13 Jan 1 21:20 video10
crw-rw---- 1 root video 81, 14 Jan 1 21:20 video11
crw-rw---- 1 root video 81, 2 Jan 1 21:17 video2
crw-rw---- 1 root video 81, 3 Jan 1 21:17 video3
crw-rw---- 1 root video 81, 4 Jan 1 21:17 video4
crw-rw---- 1 root video 81, 5 Jan 1 21:17 video5
crw-rw---- 1 root video 81, 6 Jan 1 21:17 video6
crw-rw---- 1 root video 81, 7 Jan 1 21:17 video7
crw-rw---- 1 root video 81, 8 Jan 1 21:17 video8
crw-rw---- 1 root video 81, 9 Jan 1 21:17 video9
root@rk3566-buildroot:/dev#
root@rk3566-buildroot:/dev#
nvert ! video/x-raw,format=NV12,width=1920,height=1080 ! waylandsink0 ! videocon
Setting pipeline to PAUSED ...
[ 461.661753] uvcvideo: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
[21:25:22.289] seeing the first app
/bin/list-iodomain.sh version: V1.0.1
Get CHIP ID: rk356x
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX PLEASE CHECK IO-DOMAIN !!!!!!!!!!!!!!!
XXXXXXXXXX 请务必检查IO电源域配置 !!!!!!!!!!!!!!!
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Get IO DOMAIN VALUE:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
注意事项:PMUIO1/PMUIO2 固定不可配
VCCIO2电平由硬件FLASH_VOL_SEL决定:
当VCCIo2供电是1.8V,则FLASH_VOL_SEL管脚必须保持为高电平;
当VCCIO2供电是3.3V,则FLASH_VOL_SEL管脚必须保持为低电平;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
pmuio2_vsel: 3.3V
vccio7_vsel: 3.3V
vccio6_vsel: 1.8V
vccio5_vsel: 3.3V
vccio4_vsel: 3.3V
vccio3_vsel: 3.3V
vccio2_vsel: 3.3V
vccio1_vsel: 3.3V
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:01:59.087761173
Setting pipeline to NULL ...
Freeing pipeline ...
root@rk3566-buildroot:/dev#
root@rk3566-buildroot:/dev#
jpeg,width=1920,height=1080 ! jpegdec ! videoconvert ! autovideosinko10 ! image/
Setting pipeline to PAUSED ...
[ 594.535986] uvcvideo: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
/bin/list-iodomain.sh version: V1.0.1
Get CHIP ID: rk356x
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX PLEASE CHECK IO-DOMAIN !!!!!!!!!!!!!!!
XXXXXXXXXX 请务必检查IO电源域配置 !!!!!!!!!!!!!!!
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Get IO DOMAIN VALUE:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
注意事项:PMUIO1/PMUIO2 固定不可配
VCCIO2电平由硬件FLASH_VOL_SEL决定:
当VCCIo2供电是1.8V,则FLASH_VOL_SEL管脚必须保持为高电平;
当VCCIO2供电是3.3V,则FLASH_VOL_SEL管脚必须保持为低电平;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
pmuio2_vsel: 3.3V
vccio7_vsel: 3.3V
vccio6_vsel: 1.8V
vccio5_vsel: 3.3V
vccio4_vsel: 3.3V
vccio3_vsel: 3.3V
vccio2_vsel: 3.3V
vccio1_vsel: 3.3V
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:13.548760944
Setting pipeline to NULL ...
Freeing pipeline ...
root@rk3566-buildroot:/dev#
录像:
root@rk3566-buildroot:/dev#
Display all 1020 possibilities? (y or n)^C
root@rk3566-buildroot:/dev# cd /
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
300.mp4 t. ! queue ! waylandsink h264parse ! qtmux ! filesink location=1080p-yuv3
Setting pipeline to PAUSED ...
[ 901.261699] uvcvideo: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
rga_api version 1.10.0_[9]
Redistribute latency...
Redistribute latency...
[ 904.288187] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 904.288289] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 904.288320] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 904.288339] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 904.288361] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 904.288375] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 73, (nil), (nil), 0, 0]
[ 904.288403] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 904.288581] rga_job: request[19] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 904.288608] rga_job: rga request[19] commit failed!
This output the user parameters when rga call blit fail
[ 904.288626] rga: request[19] submit failed!
[ 906.778035] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 906.778130] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 906.778161] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 906.778181] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 906.778198] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 906.778212] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 92, (nil), (nil), 0, 0]
[ 906.778241] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 906.778387] rga_job: request[38] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 906.778413] rga_job: rga request[38] commit failed!
This output the user parameters when rga call blit fail
[ 906.778432] rga: request[38] submit failed!
[ 909.278875] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 909.278961] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 909.278990] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 909.279009] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 909.279025] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 909.279035] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 111, (nil), (nil), 0, 0]
[ 909.279063] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 909.279197] rga_job: request[57] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 909.279223] rga_job: rga request[57] commit failed!
This output the user parameters when rga call blit fail
[ 909.279242] rga: request[57] submit failed!
[ 911.774221] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 911.774319] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 911.774348] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 911.774367] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 911.774384] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 911.774395] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 130, (nil), (nil), 0, 0]
[ 911.774423] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 911.774563] rga_job: request[76] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 911.774699] rga_job: rga request[76] commit failed!
This output the user parameters when rga call blit fail
[ 911.774722] rga: request[76] submit failed!
[ 914.266371] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 914.266461] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 914.266489] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 914.266507] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 914.266523] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 914.266538] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 149, (nil), (nil), 0, 0]
[ 914.266565] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 914.266702] rga_job: request[95] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 914.266728] rga_job: rga request[95] commit failed!
This output the user parameters when rga call blit fail
[ 914.266747] rga: request[95] submit failed!
[ 916.758940] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 916.759027] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 916.759057] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 916.759074] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 916.759090] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 916.759106] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 168, (nil), (nil), 0, 0]
[ 916.759133] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 916.759279] rga_job: request[114] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 916.759306] rga_job: rga request[114] commit failed!
This output the user parameters when rga call blit fail
[ 916.759325] rga: request[114] submit failed!
[ 919.251365] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 919.251419] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 919.251443] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 919.251461] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 919.251476] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 919.251487] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 187, (nil), (nil), 0, 0]
[ 919.251514] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 919.251657] rga_job: request[133] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 919.251682] rga_job: rga request[133] commit failed!
This output the user parameters when rga call blit fail
[ 919.251700] rga: request[133] submit failed!
[ 921.754557] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 921.754704] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 921.754733] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 921.754751] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 921.754767] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 921.754778] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 206, (nil), (nil), 0, 0]
[ 921.754804] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 921.754948] rga_job: request[152] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 921.754976] rga_job: rga request[152] commit failed!
This output the user parameters when rga call blit fail
[ 921.754995] rga: request[152] submit failed!
[ 924.246827] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 924.246913] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 924.246942] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 924.246960] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 924.246976] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 924.246987] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 225, (nil), (nil), 0, 0]
[ 924.247014] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 924.247150] rga_job: request[171] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 924.247176] rga_job: rga request[171] commit failed!
This output the user parameters when rga call blit fail
[ 924.247196] rga: request[171] submit failed!
[ 926.738605] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 926.738695] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 926.738722] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 926.738742] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 926.738758] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 926.738769] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 244, (nil), (nil), 0, 0]
[ 926.738796] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 926.738934] rga_job: request[190] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 926.738960] rga_job: rga request[190] commit failed!
This output the user parameters when rga call blit fail
[ 926.738978] rga: request[190] submit failed!
[ 929.231033] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 929.231124] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 929.231153] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 929.231171] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 929.231188] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 929.231199] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 263, (nil), (nil), 0, 0]
[ 929.231349] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 929.231594] rga_job: request[209] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 929.231625] rga_job: rga request[209] commit failed!
This output the user parameters when rga call blit fail
[ 929.231644] rga: request[209] submit failed!
[ 931.726273] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 931.726367] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 931.726395] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 931.726413] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 931.726429] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 931.726440] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 282, (nil), (nil), 0, 0]
[ 931.726467] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 931.726602] rga_job: request[228] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 931.726629] rga_job: rga request[228] commit failed!
This output the user parameters when rga call blit fail
[ 931.726647] rga: request[228] submit failed!
[ 934.219121] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 934.219203] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 934.219232] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 934.219249] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 934.219265] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 934.219276] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 301, (nil), (nil), 0, 0]
[ 934.219302] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 934.219439] rga_job: request[247] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 934.219465] rga_job: rga request[247] commit failed!
This output the user parameters when rga call blit fail
[ 934.219484] rga: request[247] submit failed!
[ 936.710423] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 936.710516] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 936.710546] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 936.710565] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 936.710582] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 936.710593] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 320, (nil), (nil), 0, 0]
[ 936.710622] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 936.710760] rga_job: request[266] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 936.710787] rga_job: rga request[266] commit failed!
This output the user parameters when rga call blit fail
[ 936.710806] rga: request[266] submit failed!
[ 939.203106] rga_mm: RGA_MMU unsupported memory larger than 4G!
RgaBlit(1471) RGA_BLIT fail: Invalid argument
[ 939.203197] rga_mm: scheduler core[4] unsupported mm_flag[0x0]!
RgaBlit(1472) RGA_BLIT fail: Invalid argument
[ 939.203225] rga_mm: rga_mm_map_buffer map dma_buf error!
handl-fd-vir-phy-hnd-format[0, 33, (nil), (nil), 0, 0]
[ 939.203243] rga_mm: job buffer map failed!
rect[0, 0, 1920, 1080, 1920, 1080, 2560, 0]
[ 939.203259] rga_mm: src channel map job buffer failed!
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 939.203274] rga_mm: failed to map buffer
handl-fd-vir-phy-hnd-format[0, 339, (nil), (nil), 0, 0]
[ 939.203303] rga_job: rga_job_commit: failed to map job info
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
[ 939.203439] rga_job: request[285] task[0] job_commit failed.
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
[ 939.203466] rga_job: rga request[285] commit failed!
This output the user parameters when rga call blit fail
[ 939.203484] rga: request[285] submit failed!
Got EOS from element "pipeline0".
Execution ended after 0:00:40.311108134
Setting pipeline to NULL ...
Freeing pipeline ...
root@rk3566-buildroot:/# ll
total 9348
drwxr-xr-x 23 root root 4096 Jan 1 21:32 ./
drwxr-xr-x 23 root root 4096 Jan 1 21:32 ../
drwxr-xr-x 4 root root 4096 Jan 1 20:57 .cache/
-rw-r--r-- 1 root root 0 Mar 19 2025 .resized
-rw-r--r-- 1 root root 0 Mar 13 2024 .skip_fsck
-rw-r--r-- 1 root root 9460034 Jan 1 21:33
参考资料:
https://item.jd.com/10023348748826.html
海康威视(HIKVISION) 考研复试电脑台式机外置usb视频高清广角会议主播直播网课研究生面试 1080P 推荐降噪麦克线长1.5米 E12 摄像头