[libcamera-devel] libcamera on pinephone

Eric Curtin ecurtin at redhat.com
Mon Jun 20 14:25:22 CEST 2022


On Mon, 20 Jun 2022 at 13:22, Pavel Machek via libcamera-devel
<libcamera-devel at lists.libcamera.org> wrote:
>
> 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?

Does cam without gstreamer satisfy your needs?

>
> 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.



More information about the libcamera-devel mailing list