mfmp3enc
This element encodes raw audio into MP3 compressed data.
Example pipelines
gst-launch-1.0 -v audiotestsrc ! mfmp3enc ! filesink location=test.mp3
This example pipeline will encode a test audio source to MP3 using Media Foundation encoder
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstAudioEncoder ╰──GstMFAudioEncoder ╰──mfmp3enc
Implemented interfaces
Factory details
Authors: – Seungha Yang
Classification: – Codec/Encoder/Audio
Rank – secondary
Plugin – mediafoundation
Package – GStreamer Bad Plug-ins
Pad Templates
sink
audio/x-raw:
format: S16LE
layout: interleaved
channels: [ 1, 2 ]
rate: { (int)8000, (int)11025, (int)12000, (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
src
audio/mpeg:
mpegversion: 1
layer: 3
channels: [ 1, 2 ]
rate: { (int)8000, (int)11025, (int)12000, (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
Properties
bitrate
“bitrate” guint
Bitrate in bit/sec, (0 = auto), valid values are { 0, 8000, 16000, 18000, 20000, 24000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 320000 }
Flags : Read / Write
Default value : 0
The results of the search are