multipartmux

multipartmux — Muxer that takes one or several digital streams and muxes them to a single multipart stream.

Synopsis

                    GstMultipartMux;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstMultipartMux

Properties

  "boundary"                 gchar*                : Read / Write

Description

Sample pipelines

MultipartMux uses the GstCaps of the sink pad as the Content-type field for incoming buffers when muxing them to a multipart stream. Most of the time multipart streams are sequential JPEG frames.

Here is a simple pipeline to mux 5 JPEG frames per second into a multipart stream stored to a file :

gst-launch videotestsrc ! video/x-raw-yuv, framerate=(fraction)5/1 ! jpegenc ! multipartmux ! filesink location=/tmp/test.multipart

Synopsis

Element Information

plugin

multipart

author

Wim Taymans <wim@fluendo.com>

class

Codec/Muxer

Element Pads

name

sink_%d

direction

sink

presence

request

details

ANY

name

src

direction

source

presence

always

details

multipart/x-mixed-replace

Details

GstMultipartMux

typedef struct _GstMultipartMux GstMultipartMux;

The opaque GstMultipartMux structure.

Property Details

The "boundary" property

  "boundary"                 gchar*                : Read / Write

Boundary string.

Default value: "ThisRandomString"