[libcamera-devel] Regarding libcamera guidance

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Jun 12 19:41:00 CEST 2023


On Mon, Jun 12, 2023 at 05:45:11PM +0100, Kieran Bingham via libcamera-devel wrote:
> Hi Aditya,
> 
> 
> Quoting Aditya Kulkarni (2023-06-08 17:45:36)
> > Hello Kieran,
> > 
> > We are working on RDK-C to validate the webRTC video streaming use case, in
> > that we would like to use the H264 video format using the R-Pi Hardware
> > encoder. Requesting to guide us on how to enable the same through libcamera.
> > Note: We are using Pipewire framework to interact with applications and
> > libcamera.
> 
> It may be worth asking on the pipewire channels and mailing list how
> they expect to connect to video encoders. Unfortuantely I haven't
> followed the 'standard' way to handle encoding in linux. I believe there
> are API's such as the VA-API, VDPAU, or frameworks like gstreamer that
> can be used.

There's also a move towards Vulkan Video for codecs, but that will
likely cover a subset of codecs only (at least for now, until Vulkan
makes it easier to develop an implementation without a GPU). I would
probably recommend exploring the GStreamer way.

> Raspberry Pi provide the encoders as V4L2 M2M devices. These work with
> the gstreamer v4l2h264enc element I believe, or it could be used
> directly with the V4L2 APIs.

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list