[libcamera-devel] libcamera on pinephone
Pavel Machek
pavel at ucw.cz
Tue Jun 21 23:57:14 CEST 2022
Hi!
> > Could you print the length of all planes and see how they look like in
> > memory ? Also note that the two planes have the same fd so they
> > seem to be contiguous in memory if I'm not mistaken ?
That may be above my skill level (sorry).
> We really need data offset support for V4L2 buffer planes in the V4L2
> API :-S See http://lore.kernel.org/linux-media/20200804192939.2251988-3-helen.koike@collabora.com/
>
But I understood enough to realize that I420 is problematic, switched
to 1280x720-BA810x31384142 and now I have... something ;-).
I do have some captured files. It does _not_ end in success. I'd like
to see what I'm getting, and I guess viewfinder would be useful.
Dependency SDL2 found: YES 2.0.22 (cached)
Dependency SDL2_image found: YES 2.0.5 (cached)
Run-time dependency qt5 (modules: Core, Gui, Widgets) found: NO (tried pkgconfig)
README.rst does not mention sdl. I believe it should?
for cam: [optional]
libevent-dev
mobian at mobian:~/g/libcamera$ LIBCAMERA_LOG_FILE=/tmp/camera.log LIBCAMERA_LOG_LEVELS=*:DEBUG build/src/cam/c\
am -c 1 -I --capture=50 -S
Using camera /base/i2c-csi/rear-camera at 4c as cam0
0: 1280x720-SBGGR8
* Pixelformat: SBGGR8 (1280x720)-(1280x720)/(+1,+1)
- 1280x720
Unsupported pixel format SBGGR8
Failed to configure frame sink
Failed to start camera session
mobian at mobian:~/g/libcamera$
Hmm. Is SDL not able to display SBGGR8? Is there anything else I can
try before trying to play with gstreamer?
Thanks and 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: 195 bytes
Desc: not available
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20220621/15171442/attachment.sig>
More information about the libcamera-devel
mailing list