[meta-openembedded] Enabling "libcamerasrc" as a source for gst-launch-1.0


punctuation
 

Dear community,

I am trying to build an image for a raspberry pi, that includes libcamera and gstreamer, such that I can set the streaming source:
gst-launch-1.0 libcamerasrc device=/dev/video0 ! video/x-raw,width=640,height=480 ! autovideosink

However, gst-launch is unable to find libcamerasrc.

How do I configure my build to do this?

I include libcamera using IMAGE_INSTALL and enable the libcamera gst PACKAGECONFIG.

Best regards


Jose Quaresma
 

Hi,

The gstreamer plugin is packed in different package so you need to install them

IMAGE_INSTALL += "libcamera-gst"

Jose


punctuation via lists.yoctoproject.org <sebastianpetersen84=yahoo.dk@...> escreveu no dia terça, 21/03/2023 à(s) 20:43:

Dear community,

I am trying to build an image for a raspberry pi, that includes libcamera and gstreamer, such that I can set the streaming source:
gst-launch-1.0 libcamerasrc device=/dev/video0 ! video/x-raw,width=640,height=480 ! autovideosink

However, gst-launch is unable to find libcamerasrc.

How do I configure my build to do this?

I include libcamera using IMAGE_INSTALL and enable the libcamera gst PACKAGECONFIG.

Best regards






--
Best regards,

José Quaresma