Le jeudi 11 juin 2020 à 03:54 -0500, Myzhar a écrit :
> Hi all,
> I'm going to write a source plugin for a device that has multiple video
> sources.
>
> I thought to use "GstPushSrc" but I'm not sure that it can support a pad for
> each video source.
GstBaseSrc and GstPushSrc are design for single pad (it's a limitation
of it's threading model). You'll have to build on top of GstElement or
implement multiple GstPushSrc (e.g. with a shared context/singleton).
>
> The plugin is for a stereo camera and it should stream Left RGB image, Right
> RGB image and the Depth map.
>
> Any suggestion?
In GStreamer, stereo image are stored in a single GstBuffer. Split
allocation views can be express as a top/bottom placement and two
GstMemory stored in GstBuffer.
https://gstreamer.freedesktop.org/documentation/additional/design/stereo-multiview-video.html?gi-language=c_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel