matroskamux

matroskamux — Muxes video/audio/subtitle streams into a matroska stream

Synopsis

                    GstMatroskaMux;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstMatroskaMux
                           +----GstWebMMux

Implemented Interfaces

GstMatroskaMux implements GstTagSetter and GstTocSetter.

Properties

  "writing-app"              gchar*                : Read / Write
  "version"                  gint                  : Read / Write
  "min-index-interval"       gint64                : Read / Write
  "streamable"               gboolean              : Read / Write

Description

matroskamux muxes different input streams into a Matroska file.

Example launch line

1
gst-launch-1.0 -v filesrc location=/path/to/mp3 ! mpegaudioparse ! matroskamux name=mux ! filesink location=test.mkv  filesrc location=/path/to/theora.ogg ! oggdemux ! theoraparse ! mux.
This pipeline muxes an MP3 file and a Ogg Theora video into a Matroska file.
1
gst-launch-1.0 -v audiotestsrc num-buffers=100 ! audioconvert ! vorbisenc ! matroskamux ! filesink location=test.mka
This pipeline muxes a 440Hz sine wave encoded with the Vorbis codec into a Matroska file.

Synopsis

Element Information

plugin

matroska

author

GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>

class

Codec/Muxer

Element Pads

name

audio_%u

direction

sink

presence

request

details

audio/mpeg, mpegversion=(int)1, layer=(int)[ 1, 3 ], channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/mpeg, mpegversion=(int){ 2, 4 }, stream-format=(string)raw, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/x-ac3, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/x-eac3, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/x-dts, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/x-vorbis, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/x-flac, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/x-speex, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/x-raw, format=(string){ U8, S16BE, S16LE, S24BE, S24LE, S32BE, S32LE, F32LE, F64LE }, layout=(string)interleaved, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/x-tta, width=(int){ 8, 16, 24 }, channels=(int){ 1, 2 }, rate=(int)[ 8000, 96000 ]

audio/x-pn-realaudio, raversion=(int){ 1, 2, 8 }, channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/x-wma, wmaversion=(int)[ 1, 3 ], block_align=(int)[ 0, 65535 ], bitrate=(int)[ 0, 524288 ], channels=(int)[ 1, 2147483647 ], rate=(int)[ 1, 2147483647 ]

audio/x-alaw, channels=(int){ 1, 2 }, rate=(int)[ 8000, 192000 ]

audio/x-mulaw, channels=(int){ 1, 2 }, rate=(int)[ 8000, 192000 ]

name

subtitle_%u

direction

sink

presence

request

details

subtitle/x-kate

text/x-raw, format=(string)utf8

application/x-ssa

application/x-ass

application/x-usf

subpicture/x-dvd

application/x-subtitle-unknown

name

video_%u

direction

sink

presence

request

details

video/mpeg, mpegversion=(int){ 1, 2, 4 }, systemstream=(boolean)false, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-h264, stream-format=(string)avc, alignment=(string)au, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-divx, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-huffyuv, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-dv, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-h263, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-msmpeg, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

image/jpeg, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-theora

video/x-dirac, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-pn-realvideo, rmversion=(int)[ 1, 4 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-vp8, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-raw, format=(string){ YUY2, I420, YV12, UYVY, AYUV }, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

video/x-wmv, wmvversion=(int)[ 1, 3 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ]

name

src

direction

source

presence

always

details

video/x-matroska

video/x-matroska-3d

audio/x-matroska

Details

GstMatroskaMux

typedef struct _GstMatroskaMux GstMatroskaMux;

Property Details

The "writing-app" property

  "writing-app"              gchar*                : Read / Write

The name the application that creates the matroska file.

Default value: NULL


The "version" property

  "version"                  gint                  : Read / Write

This parameter determines what Matroska features can be used.

Allowed values: [1,2]

Default value: 2


The "min-index-interval" property

  "min-index-interval"       gint64                : Read / Write

An index entry is created every so many nanoseconds.

Allowed values: >= 0

Default value: 0


The "streamable" property

  "streamable"               gboolean              : Read / Write

If set to true, the output should be as if it is to be streamed and hence no indexes written or duration written.

Default value: FALSE