xingmux

xingmux

Types and Values

struct 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

Functions

Types and Values

struct GstXingMux

struct GstXingMux;

Opaque data structure.