linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* v4l2 mem2mem compose support?
@ 2019-02-16  0:16 Tim Harvey
  2019-02-16  9:42 ` Hans Verkuil
       [not found] ` <CAKQmDh_XOH7g2pibaSxHWVNxQwVoapzneE6vetZEA8V=ad3iSw@mail.gmail.com>
  0 siblings, 2 replies; 9+ messages in thread
From: Tim Harvey @ 2019-02-16  0:16 UTC (permalink / raw)
  To: linux-media, Hans Verkuil, Philipp Zabel, Steve Longerbeam,
	Nicolas Dufresne, Carlos Rafael Giani,
	Discussion of the development of and with GStreamer

Greetings,

What is needed to be able to take advantage of hardware video
composing capabilities and make them available in something like
GStreamer?

Philipp's mem2mem driver [1] exposes the IMX IC and GStreamer's
v4l2convert element uses this nicely for hardware accelerated
scaling/csc/flip/rotate but what I'm looking for is something that
extends that concept and allows for composing frames from multiple
video capture devices into a single memory buffer which could then be
encoded as a single stream.

This was made possible by Carlo's gstreamer-imx [2] GStreamer plugins
paired with the Freescale kernel that had some non-mainlined API's to
the IMX IPU and GPU. We have used this to take for example 8x analog
capture inputs, compose them into a single frame then H264 encode and
stream it. The gstreamer-imx elements used fairly compatible
properties as the GstCompositorPad element to provide a destination
rect within the compose output buffer as well as rotation/flip, alpha
blending and the ability to specify background fill.

Is it possible that some of this capability might be available today
with the opengl GStreamer elements?

Best Regards,

Tim

[1] https://patchwork.kernel.org/patch/10768463/
[2] https://github.com/Freescale/gstreamer-imx

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-02-22 19:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-16  0:16 v4l2 mem2mem compose support? Tim Harvey
2019-02-16  9:42 ` Hans Verkuil
2019-02-16  9:48   ` Hans Verkuil
2019-02-16 15:42     ` Nicolas Dufresne
2019-02-16 18:40       ` Hans Verkuil
2019-02-16 21:13         ` Nicolas Dufresne
2019-02-19 13:05           ` Jean-Michel Hautbois
2019-02-22 19:49           ` Tim Harvey
     [not found] ` <CAKQmDh_XOH7g2pibaSxHWVNxQwVoapzneE6vetZEA8V=ad3iSw@mail.gmail.com>
2019-02-16 15:30   ` Nicolas Dufresne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).