multipartdemux

multipartdemux — demux multipart streams

Synopsis

                    GstMultipartDemux;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstMultipartDemux

Properties

  "autoscan"                 gboolean              : Read / Write
  "boundary"                 gchar*                : 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.

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.

Sample pipelines

gst-launch filesrc location=/tmp/test.multipart ! multipartdemux ! jpegdec ! ffmpegcolorspace ! ximagesink
a simple pipeline to demux a multipart file muxed with GstMultipartMux containing JPEG frames.

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"                 gchar*                : Read / Write / Construct

The boundary string separating data, automatic if NULL.

Default value: NULL

See Also

GstMultipartMux