[RFC] autoparse element

Andrey Utkin andrey.krieger.utkin at gmail.com
Thu Dec 5 13:14:24 PST 2013


I think i need such element, which allows to pass streams uniformly
(codec-independently) from demuxer to muxer, to provide easy remuxing.
For example:

udpsrc ! tsdemux name=demux
mpegtsmux name=mux ! udpsink
demux.video_0100 ! autoparse ! .mux
demux.audio_0101 ! autoparse ! .mux
demux.audio_0102 ! autoparse ! .mux

I think it should be GstBin subclass, and contain one of existing
parsers, chosen by incoming buf (or pad?) format. The choise probably
will be a large if-elseif-elseif... block.

Is the proposed plan valid? Any comments?
Thanks in advance.

-- 
Andrey Utkin


More information about the gstreamer-devel mailing list