|
发表于 2022-5-23 09:20:52
只看该作者
7#
先确认抓帧时sensor是否工作了,mipi有数据过来吗
- firefly@firefly:~$ v4l2-ctl --verbose -d /dev/video0 --set-fmt-video=width=1280,height=1024,pixelformat='BG10' --stream-mmap=4 --set-selection=target=crop,flags=0,top=0,left=0,width=1280,height=1024 --stream-to=out.yuv
- VIDIOC_QUERYCAP: ok
- VIDIOC_G_FMT: ok
- VIDIOC_S_FMT: ok
- Format Video Capture Multiplanar:
- Width/Height : 1280/1024
- Pixel Format : 'BG10'
- Field : None
- Number of planes : 1
- Flags :
- Colorspace : Default
- Transfer Function : Default
- YCbCr Encoding : Default
- Quantization : Full Range
- Plane 0 :
- Bytes per Line : 2560
- Size Image : 2621440
- VIDIOC_G_SELECTION: ok
- VIDIOC_S_SELECTION: ok
- VIDIOC_REQBUFS: ok
- VIDIOC_QUERYBUF: ok
- VIDIOC_QUERYBUF: ok
- VIDIOC_QBUF: ok
- VIDIOC_QUERYBUF: ok
- VIDIOC_QBUF: ok
- VIDIOC_QUERYBUF: ok
- VIDIOC_QBUF: ok
- VIDIOC_QUERYBUF: ok
- VIDIOC_QBUF: ok
- VIDIOC_STREAMON: ok
复制代码 |
|