mp2enc
mp2enc — MPEG-1/2 audio encoder
|
|
Object Hierarchy
GObject
+----GstObject
+----GstElement
+----GstProcTrans
+----GstMp2enc
Properties
"bitrate" guint : Read / Write
"crc" gboolean : Read / Write
"layer" guint : Read / Write
"vcd" gboolean : Read / Write
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 |
Details
struct GstMp2enc
struct GstMp2enc;
Property Details
The "bitrate"
property
"bitrate" guint : Read / Write
Compressed audio bitrate (kbps).
Allowed values: <= 10240
Default value: 224
The "crc"
property
"crc" gboolean : Read / Write
Use CRC error protection.
Default value: FALSE
The "layer"
property
"layer" guint : Read / Write
MPEG-1 layer.
Allowed values: [1,2]
Default value: 2
The "vcd"
property
"vcd" gboolean : Read / Write
Force VCD compatible output; restricts the possibilities for bitrate and sample rate must be 44.1 kbps.
Default value: FALSE