GStreamer Base Plugins 0.10 Plugins Reference Manual | ||||
---|---|---|---|---|
The vorbisparse element will parse the header packets of the Vorbis stream and put them as the streamheader in the caps. This is used in the multifdsink case where you want to stream live vorbis streams to multiple clients, each client has to receive the streamheaders first before they can consume the vorbis packets.
This element also makes sure that the buffers that it pushes out are properly timestamped and that their offset and offset_end are set. The buffers that vorbisparse outputs have all of the metadata that oggmux expects to receive, which allows you to (for example) remux an ogg/vorbis file.
gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisparse ! fakesink
gst-launch filesrc location=sine.ogg ! oggdemux ! vorbisparse \ ! oggmux ! filesink location=sine-remuxed.ogg
Last reviewed on 2006-04-01 (0.10.4.1)
plugin | vorbis |
author | Thomas Vander Stichele <thomas at apestaart dot org> |
class | Codec/Parser/Audio |