Quantcast
Viewing all articles
Browse latest Browse all 5127

Camera board • Re: Capturing image using ov5647 and yocto image

I did the following:

Code:

media-ctl --resetmedia-ctl --links "'ov5647 10-0036':0->'unicam-image':0[1]"media-ctl -d /dev/media0 -V "'unicam-image':0 [fmt:BG10/1920x1080] 'ov5647 10-0036':0 [fmt:BG10/1920x1080]"
last command failed:

Code:

Unable to setup formats: Invalid argument (22)
If I use v4l-ctl to display the available formats then I can see BG10 is also supported:

Code:

4l2-ctl --list-formats-ext -d /dev/video0 ioctl: VIDIOC_ENUM_FMTType: Video Capture[0]: 'YUYV' (YUYV 4:2:2)Size: Stepwise 16x16 - 16376x16376 with step 1/1[1]: 'UYVY' (UYVY 4:2:2)Size: Stepwise 16x16 - 16376x16376 with step 1/1[2]: 'YVYU' (YVYU 4:2:2)Size: Stepwise 16x16 - 16376x16376 with step 1/1[3]: 'VYUY' (VYUY 4:2:2)Size: Stepwise 16x16 - 16376x16376 with step 1/1[4]: 'RGBP' (16-bit RGB 5-6-5)Size: Stepwise 16x16 - 16376x16376 with step 1/1[5]: 'RGBR' (16-bit RGB 5-6-5 BE)Size: Stepwise 16x16 - 16376x16376 with step 1/1[6]: 'RGBO' (16-bit A/XRGB 1-5-5-5)Size: Stepwise 16x16 - 16376x16376 with step 1/1[7]: 'RGBQ' (16-bit A/XRGB 1-5-5-5 BE)Size: Stepwise 16x16 - 16376x16376 with step 1/1[8]: 'RGB3' (24-bit RGB 8-8-8)Size: Stepwise 16x16 - 16376x16376 with step 1/1[9]: 'BGR3' (24-bit BGR 8-8-8)Size: Stepwise 16x16 - 16376x16376 with step 1/1[10]: 'RGB4' (32-bit A/XRGB 8-8-8-8)Size: Stepwise 16x16 - 16376x16376 with step 1/1[11]: 'BA81' (8-bit Bayer BGBG/GRGR)Size: Stepwise 16x16 - 16376x16376 with step 1/1[12]: 'GBRG' (8-bit Bayer GBGB/RGRG)Size: Stepwise 16x16 - 16376x16376 with step 1/1[13]: 'GRBG' (8-bit Bayer GRGR/BGBG)Size: Stepwise 16x16 - 16376x16376 with step 1/1[14]: 'RGGB' (8-bit Bayer RGRG/GBGB)Size: Stepwise 16x16 - 16376x16376 with step 1/1[15]: 'pBAA' (10-bit Bayer BGBG/GRGR Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[16]: 'BG10' (10-bit Bayer BGBG/GRGR)Size: Stepwise 16x16 - 16376x16376 with step 1/1[17]: 'pGAA' (10-bit Bayer GBGB/RGRG Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[18]: 'GB10' (10-bit Bayer GBGB/RGRG)Size: Stepwise 16x16 - 16376x16376 with step 1/1[19]: 'pgAA' (10-bit Bayer GRGR/BGBG Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[20]: 'BA10' (10-bit Bayer GRGR/BGBG)Size: Stepwise 16x16 - 16376x16376 with step 1/1[21]: 'pRAA' (10-bit Bayer RGRG/GBGB Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[22]: 'RG10' (10-bit Bayer RGRG/GBGB)Size: Stepwise 16x16 - 16376x16376 with step 1/1[23]: 'pBCC' (12-bit Bayer BGBG/GRGR Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[24]: 'BG12' (12-bit Bayer BGBG/GRGR)Size: Stepwise 16x16 - 16376x16376 with step 1/1[25]: 'pGCC' (12-bit Bayer GBGB/RGRG Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[26]: 'GB12' (12-bit Bayer GBGB/RGRG)Size: Stepwise 16x16 - 16376x16376 with step 1/1[27]: 'pgCC' (12-bit Bayer GRGR/BGBG Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[28]: 'BA12' (12-bit Bayer GRGR/BGBG)Size: Stepwise 16x16 - 16376x16376 with step 1/1[29]: 'pRCC' (12-bit Bayer RGRG/GBGB Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[30]: 'RG12' (12-bit Bayer RGRG/GBGB)Size: Stepwise 16x16 - 16376x16376 with step 1/1[31]: 'pBEE' (14-bit Bayer BGBG/GRGR Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[32]: 'BG14' (14-bit Bayer BGBG/GRGR)Size: Stepwise 16x16 - 16376x16376 with step 1/1[33]: 'pGEE' (14-bit Bayer GBGB/RGRG Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[34]: 'GB14' (14-bit Bayer GBGB/RGRG)Size: Stepwise 16x16 - 16376x16376 with step 1/1[35]: 'pgEE' (14-bit Bayer GRGR/BGBG Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[36]: 'GR14' (14-bit Bayer GRGR/BGBG)Size: Stepwise 16x16 - 16376x16376 with step 1/1[37]: 'pREE' (14-bit Bayer RGRG/GBGB Packed)Size: Stepwise 16x16 - 16376x16376 with step 1/1[38]: 'RG14' (14-bit Bayer RGRG/GBGB)Size: Stepwise 16x16 - 16376x16376 with step 1/1[39]: 'GREY' (8-bit Greyscale)Size: Stepwise 16x16 - 16376x16376 with step 1/1[40]: 'Y10P' (10-bit Greyscale (MIPI Packed))Size: Stepwise 16x16 - 16376x16376 with step 1/1[41]: 'Y10 ' (10-bit Greyscale)Size: Stepwise 16x16 - 16376x16376 with step 1/1[42]: 'Y12P' (12-bit Greyscale (MIPI Packed))Size: Stepwise 16x16 - 16376x16376 with step 1/1[43]: 'Y12 ' (12-bit Greyscale)Size: Stepwise 16x16 - 16376x16376 with step 1/1[44]: 'Y14P' (14-bit Greyscale (MIPI Packed))Size: Stepwise 16x16 - 16376x16376 with step 1/1[45]: 'Y14 ' (14-bit Greyscale)Size: Stepwise 16x16 - 16376x16376 with step 1/1
So I am not sure what is the Problem,
Any quick hints for that

Statistics: Posted by bou6 — Mon Mar 18, 2024 5:27 pm



Viewing all articles
Browse latest Browse all 5127

Trending Articles