GstVideo - Extensible Format Registry?
Vanista Herion
vanista at gmail.com
Fri Oct 7 16:34:23 UTC 2016
I'm developing applications to process raw camera feeds in high bit depth
and very high resolutions. I wish I could use the GstVideo facilities for
caps handling but the existing formats fall very short of my needs (BAYER,
RGB and RGBA in 8, 10, 12 or 16 bits, bit packed or byte aligned).
I started patching the base library to add my formats but I think there has
to be a better way to do this... So I'd like to open a discussion on this
subject, is there any way to extend the format list? Maybe instead of a
static list there could be a factory of formats, and plugins could register
their own formats by providing the appropriate pixel pack/unpack method.
The big interest is in being able to convert video caps into the
GstVideoInfo structure to get relevant properties.
I understand that GstVideo provides a limited set of formats and anything
other than that should convert to the closest matching, the problem is that
this adds a tremendous overhead that often cannot be afforded in real time
applications.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161007/63fd4626/attachment.html>
More information about the gstreamer-devel
mailing list