[libcamera-devel] libcamera on pinephone
Pavel Machek
pavel at ucw.cz
Mon Jun 20 14:22:27 CEST 2022
Hi!
> > I'd like to get video recording to work on pinephone. I had solution
> > with gstreamer (https://gitlab.com/tui/tui/-/tree/master/cam), but
> > gstreamer stopped working (claims colorspace problems and refusees to
> > source data) so I'm looking at other solutions.
>
>
> The support for colorspace in gstreamer plugin is well under active
> development.
> We have a Google Summer of Code intern who is working on this
> > specifically.
Would someone have an idea how to workaround that?
mobian at mobian:~/g/tui/pp$ time gst-launch-1.0 v4l2src device=/dev/video2 num-buffers=15 \! video/x-raw,width=1280,height=720,format=UYVY,framerate=15/1 \! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video2' does not support 2:0:0:0 colorimetry
New clock: GstSystemClock
Additional debug info:
../sys/v4l2/gstv4l2object.c(4105): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Device wants 2:0:0:0 colorimetry
Execution ended after 0:00:00.001219340
Setting pipeline to NULL ...
I tried various permutations, but could not get past "Device '/dev/video2' does not sup\
port 2:0:0:0 colorimetry" message with newer gstreamer.
I know libcamerasrc might be able to workaround that, but I have
trouble getting that to work, too :-(.
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/20220620/7006c853/attachment.sig>
More information about the libcamera-devel
mailing list