- 积分
- 83
贡献65
飞刀18 FD
注册时间2011-3-17
在线时间34 小时
扫一扫,手机访问本帖
|
通过v4l2-ctl --list-formats-ext -d /dev/video1命令查看摄像头设备信息,如下
- ioctl: VIDIOC_ENUM_FMT
- Type: Video Capture Multiplanar
- [0]: 'YUYV' (YUYV 4:2:2)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [1]: '422P' (Planar YVU 4:2:2)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [2]: 'NV16' (Y/CbCr 4:2:2)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [3]: 'NV61' (Y/CrCb 4:2:2)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [4]: 'YM16' (Planar YUV 4:2:2 (N-C))
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [5]: 'NV21' (Y/CrCb 4:2:0)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [6]: 'NV12' (Y/CbCr 4:2:0)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [7]: 'NM21' (Y/CrCb 4:2:0 (N-C))
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [8]: 'NM12' (Y/CbCr 4:2:0 (N-C))
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [9]: 'YU12' (Planar YUV 4:2:0)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [10]: 'YM24' (Planar YUV 4:4:4 (N-C))
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [11]: 'RGGB' (8-bit Bayer RGRG/GBGB)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [12]: 'GRBG' (8-bit Bayer GRGR/BGBG)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [13]: 'GBRG' (8-bit Bayer GBGB/RGRG)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [14]: 'BA81' (8-bit Bayer BGBG/GRGR)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [15]: 'RG10' (10-bit Bayer RGRG/GBGB)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [16]: 'BA10' (10-bit Bayer GRGR/BGBG)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [17]: 'GB10' (10-bit Bayer GBGB/RGRG)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [18]: 'BG10' (10-bit Bayer BGBG/GRGR)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [19]: 'RG12' (12-bit Bayer RGRG/GBGB)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [20]: 'BA12' (12-bit Bayer GRGR/BGBG)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [21]: 'GB12' (12-bit Bayer GBGB/RGRG)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
- [22]: 'BG12' (12-bit Bayer BGBG/GRGR)
- Size: Stepwise 32x16 - 2112x1568 with step 8/8
复制代码
分辨率最高支持到2112x1568吗?
通过摄像头预览命令
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, format=NV12, width=640, height=480, framerate=30/1 ! waylandsink
其中width和height只能设置到1920,1080怎么回事? |
|