avimux

avimux — Muxes audio and video into an avi stream

Synopsis

                    GstAviMux;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstAviMux

Implemented Interfaces

GstAviMux implements GstTagSetter.

Properties

  "bigfile"                  gboolean              : Read / Write

Description

Example launch line

Muxes raw or compressed audio and/or video streams into an AVI file.

(write everything in one line, without the backslash characters)

gst-launch-0.10 videotestsrc num-buffers=250 \
! 'video/x-raw-yuv,format=(fourcc)I420,width=320,height=240,framerate=(fraction)25/1' \
! queue ! mux. \
audiotestsrc num-buffers=440 ! audioconvert \
! 'audio/x-raw-int,rate=44100,channels=2' ! queue ! mux. \
avimux name=mux ! filesink location=test.avi

This will create an .AVI file containing an uncompressed video stream with a test picture and an uncompressed audio stream containing a test sound.

(write everything in one line, without the backslash characters)

gst-launch-0.10 videotestsrc num-buffers=250 \
! 'video/x-raw-yuv,format=(fourcc)I420,width=320,height=240,framerate=(fraction)25/1' \
! xvidenc ! queue ! mux. \
audiotestsrc num-buffers=440 ! audioconvert ! 'audio/x-raw-int,rate=44100,channels=2' \
! lame ! queue ! mux. \
avimux name=mux ! filesink location=test.avi

This will create an .AVI file containing the same test video and sound as above, only that both streams will be compressed this time. This will only work if you have the necessary encoder elements installed of course.

Synopsis

Element Information

plugin

avi

author

Ronald Bultje <rbultje@ronald.bitfreak.net>

class

Codec/Muxer

Element Pads

name

video_%d

direction

sink

presence

request

details

video/x-raw-yuv, format=(fourcc){ YUY2, I420 }, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

image/jpeg, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-divx, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ], divxversion=(int)[ 3, 5 ]

video/x-xvid, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-3ivx, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-msmpeg, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ], msmpegversion=(int)[ 41, 43 ]

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

video/x-h263, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-h264, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-dv, width=(int)720, height=(int){ 576, 480 }, framerate=(fraction)[ 0/1, 2147483647/1 ], systemstream=(boolean)false

video/x-huffyuv, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-dirac, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

name

audio_%d

direction

sink

presence

request

details

audio/x-raw-int, endianness=(int)1234, signed=(boolean){ true, false }, width=(int){ 8, 16 }, depth=(int){ 8, 16 }, rate=(int)[ 1000, 96000 ], channels=(int)[ 1, 2 ]

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

audio/mpeg, mpegversion=(int)4, rate=(int)[ 1000, 96000 ], channels=(int)[ 1, 2 ]

audio/x-ac3, rate=(int)[ 1000, 96000 ], channels=(int)[ 1, 2 ]

audio/x-alaw, rate=(int)[ 1000, 48000 ], channels=(int)[ 1, 2 ]

audio/x-mulaw, rate=(int)[ 1000, 48000 ], channels=(int)[ 1, 2 ]

name

src

direction

source

presence

always

details

video/x-msvideo

Details

GstAviMux

typedef struct _GstAviMux GstAviMux;

Property Details

The "bigfile" property

  "bigfile"                  gboolean              : Read / Write

Support for openDML-2.0 (big) AVI files.

Default value: TRUE