Send the original frame and a scaled version in a single buffer?

Nirbheek Chauhan nirbheek.chauhan at gmail.com
Tue Jul 23 06:49:52 UTC 2019


On Tue, Jul 23, 2019 at 1:10 AM Nicolas Dufresne <nicolas at ndufresne.ca> wrote:
> In absence of a defacto standard, what I may suggest is to create your
> down GstMeta, and attach the scaled down image to your original image
> as a meta. Then all you need is a library to create the meta when
> missing, that meta will simply ignored in elements that aren't aware of
> it.
>

To clarify, elements that passthrough the buffer like queue, tee,
imagefreeze, etc, will (or should) leave the meta as-is, but elements
that transform the buffer (encoders, converters, compositor, etc) may
drop it.

Cheers,
Nirbheek


More information about the gstreamer-devel mailing list