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"             gchararray            : Read / Write

Description

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.

Sample pipelines

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

Element Information

plugin multipart
author Wim Taymans <wim@fluendo.com>
class Codec/Muxer

Details

GstMultipartMux

typedef struct _GstMultipartMux GstMultipartMux;

The opaque GstMultipartMux structure.

Properties

The "boundary" property

  "boundary"             gchararray            : Read / Write

Boundary string.

Default value: "ThisRandomString"