xingmux

xingmux — Adds a Xing header to the beginning of a VBR MP3 file

Synopsis

                    GstXingMux;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstXingMux

Description

xingmux adds a Xing header to MP3 files. This contains information about the duration and size of the file and a seek table and is very useful for getting an almost correct duration and better seeking on VBR MP3 files.

This element will remove any existing Xing, LAME or VBRI headers from the beginning of the file.

Example launch line

1
2
3
gst-launch audiotestsrc num-buffers=1000 ! audioconvert ! lame ! xingmux ! filesink location=test.mp3
gst-launch filesrc location=test.mp3 ! xingmux ! filesink location=test2.mp3
gst-launch filesrc location=test.mp3 ! mp3parse ! xingmux ! filesink location=test2.mp3

Details

GstXingMux

typedef struct _GstXingMux GstXingMux;

Opaque data structure.