gst-plugins-good: multipartmux extensions
Robin Haberkorn
haberkorn at metratec.com
Fri Mar 11 19:34:50 UTC 2016
Hello,
for a proprietary product I'm working on, I had to extend the
multipartmux element from gst-plugins-good.
This product is far from being released to the public, so licensing
issues are not (yet) urgent. Nevertheless they have a significant impact
on project structures etc., so I would like to get them sorted out as
early as possible.
My extensions add additional multipart HTTP headers. Firstly, an
X-Timestamp header is added with the buffer timestamp. This is useful
in our case if the pipeline clock is a real-time system clock, so we
can put individual frames recorded using a live source and muxed using
multipartmux into chronological relation with other frames (possibly
recorded by independant live sources).
This header is currently always sent but it would be easy to make that
configurable using a new property.
Furthermore I implemented support for adding custom HTTP header fields
generated from metadata associated with GstBuffers. Ie. I have
defined a GstMeta implementation that allows you to add some
GstStructure to a GstBuffer as meta data. If the name of the structure
is "http-headers" (could be easily changed of course), one HTTP header
is added per GstStructure field with a gst_value_serialize'd value.
Due to licensing, it is clear that those changes must be released
to the public once a product using them is shipped.
My question is whether you are willing and interested to merge all of
those changes back into the upstream project.
If yes, it makes sense to keep my modifications as minimal as possible;
keeping the type and short name of the modified element etc.
If not, I will have to create an independent fork, ie. a public project
containing the derived multipartmux element and GstMeta implementation.
It then also makes sense to modify the element's name to avoid
conflicts with the upstream multipartmux element.
Best regards,
Robin Haberkorn
--
Robin Haberkorn
Developer
metraTec GmbH
Werner-Heisenberg-Str. 1
39106 Magdeburg
Germany
haberkorn at metratec.com
www.metratec.com
More information about the gstreamer-devel
mailing list