[libcamera-devel] libcamera on pinephone
Rafael Diniz
rafael at riseup.net
Sun Jul 3 21:24:49 CEST 2022
Hey, got it working!!
qcam -r gles -spixelformat=SBGGR8,width=1280,height=720 -platform xcb
: ))
On 7/3/22 16:17, Rafael Diniz via libcamera-devel wrote:
> tks Pavel, but still I get wrong pictures displayed...
> :/
>
>
> On 7/3/22 12:58, Pavel Machek wrote:
>> Hi!
>>
>>> I have some problems with GL, but using "-s pixelformat=YUYV" image
>>> appears
>>> on screen! But totally garbled some stripes, image doubled in the
>>> screen -
>>> clearly the colorspace conversion is not correct.
>>
>> Yep, some resolutions are broken.
>>
>> I suggest you try:
>>
>> build/src/qcam/qcam -r gles -spixelformat=SBGGR8,width=1280,height=720
>> -c /base/i2c-csi/rear-camera at 4c
>>
>> That should work for higher resolutions, too. YUYV should work for
>> 1280x720 and lower resolutions:
>>
>> build/src/cam/cam -c /base/i2c-csi/rear-camera at 4c
>> -spixelformat=YUYV,width=640,height=480 --sdl -C600
>>
>> Best regards,
>> Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20220703/1643f0f0/attachment.sig>
More information about the libcamera-devel
mailing list