[libcamera-devel] libcamera on pinephone
Pavel Machek
pavel at ucw.cz
Sun Jul 3 17:58:00 CEST 2022
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
--
People of Russia, stop Putin before his war on Ukraine escalates.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20220703/910912bb/attachment.sig>
More information about the libcamera-devel
mailing list