multipartdemux

multipartdemux — Demuxer that takes a multipart digital stream as input and demuxes one or many digital streams from it.

Synopsis




                    GstMultipartDemux;

Object Hierarchy


  GObject
   +----GstObject
         +----GstOsxAudioSink
               +----GstMultipartDemux

Properties


  "autoscan"                 gboolean              : Read / Write
  "boundary"                 gchararray            : Read / Write / Construct

Description

MultipartDemux uses the Content-type field of incoming buffers to demux and push data to dynamic source pads. Most of the time multipart streams are sequential JPEG frames generated from a live source such as a network source or a camera.

Sample pipelines

Here is a simple pipeline to demux a multipart file muxed with GstMultipartMux containing JPEG frames:

gst-launch filesrc location=/tmp/test.multipart ! multipartdemux ! jpegdec ! ffmpegcolorspace ! ximagesink

The output buffers of the multipartdemux typically have no timestamps and are usually played as fast as possible (at the rate that the source provides the data).

the content in multipart files is separated with a boundary string that can be configured specifically with the "boundary" property otherwise it will be autodetected.

Element Information

plugin multipart
author Wim Taymans <wim@fluendo.com>, Sjoerd Simons <sjoerd@luon.net>
class Codec/Demuxer

Details

GstMultipartDemux

typedef struct _GstMultipartDemux GstMultipartDemux;

The opaque GstMultipartDemux structure.

Property Details

The "autoscan" property

  "autoscan"                 gboolean              : Read / Write

Try to autofind the prefix (deprecated unused, see boundary).

Default value: FALSE


The "boundary" property

  "boundary"                 gchararray            : Read / Write / Construct

The boundary string separating data, automatic if NULL.

Default value: NULL

See Also

GstMultipartMux