@veye_xumm 好的吧,感谢
1
Posts made by 123
-
请问 IMX327 如何跟 FFmpeg 协同工作
树莓派 4B,IMX327,64bit PiOS,log 如下
pi@raspberrypi:~/Desktop $ ffmpeg -i /dev/video0 ffmpeg version 4.3.4-0+deb11u1+rpt3 Copyright (c) 2000-2021 the FFmpeg developer s built with gcc 10 (Debian 10.2.1-6) [video4linux2,v4l2 @ 0x55b4005fa0] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device [video4linux2,v4l2 @ 0x55b4005fa0] Time per frame unknown [video4linux2,v4l2 @ 0x55b4005fa0] ioctl(VIDIOC_STREAMON): Invalid argument /dev/video0: Invalid argument
pi@raspberrypi:~/Desktop $ ffmpeg -f v4l2 -list_formats all -i /dev/video0 ffmpeg version 4.3.4-0+deb11u1+rpt3 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10 (Debian 10.2.1-6) [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : yuyv422 : YUYV 4:2:2 : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : uyvy422 : UYVY 4:2:2 : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : Unsupported : YVYU 4:2:2 : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : Unsupported : VYUY 4:2:2 : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : rgb565le : 16-bit RGB 5-6-5 : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : rgb565be : 16-bit RGB 5-6-5 BE : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : rgb555le : 16-bit A/XRGB 1-5-5-5 : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : rgb555be : 16-bit A/XRGB 1-5-5-5 BE : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : rgb24 : 24-bit RGB 8-8-8 : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : bgr24 : 24-bit BGR 8-8-8 : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : 0rgb : 32-bit A/XRGB 8-8-8-8 : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : bayer_bggr8 : 8-bit Bayer BGBG/GRGR : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : bayer_gbrg8 : 8-bit Bayer GBGB/RGRG : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : bayer_grbg8 : 8-bit Bayer GRGR/BGBG : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : bayer_rggb8 : 8-bit Bayer RGRG/GBGB : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @ 0x55bf2b9fa0] Raw : Unsupported : 10-bit Bayer BGBG/GRGR Packed : {16-16376, 1}x{16-16376, 1} [video4linux2,v4l2 @
-
OpenCV 无法找到摄像头
按照官方教程 进行测试,到 Gstreamer 应用范例 部分都还测试正常工作。然后测试到 用 opencv 获取图像 时,三个示例都报错,未找到摄像头设备,报错情况如下:
请问一下,这是什么原因呢?