mp2enc

mp2enc — MPEG-1/2 audio encoder

Properties

guint bitrate Read / Write
gboolean crc Read / Write
guint layer Read / Write
gboolean vcd Read / Write

Types and Values

struct GstMp2enc

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstElement
                ╰── GstProcTrans
                    ╰── GstMp2enc

Description

Performs MPEG-1 layer I/II encoding by means of the mp2enc tool from the mjpegtools suite (used as a runtime child process). Note that mp2enc needs input in WAV format, so you will typicall have to precede this element by wavenc.


Element Information

plugin

y4m

author

Mark Nauwelaerts <mnauw@users.sourceforge.net>, Andrew Stevens

class

Codec/Encoder/Audio

Functions

Types and Values

struct GstMp2enc

struct GstMp2enc;

Property Details

The “bitrate” property

  “bitrate”                  guint

Compressed audio bitrate (kbps).

Flags: Read / Write

Allowed values: <= 10240

Default value: 224


The “crc” property

  “crc”                      gboolean

Use CRC error protection.

Flags: Read / Write

Default value: FALSE


The “layer” property

  “layer”                    guint

MPEG-1 layer.

Flags: Read / Write

Allowed values: [1,2]

Default value: 2


The “vcd” property

  “vcd”                      gboolean

Force VCD compatible output; restricts the possibilities for bitrate and sample rate must be 44.1 kbps.

Flags: Read / Write

Default value: FALSE