amrnbenc
AMR narrowband encoder based on the opencore codec implementation.
Example launch line
gst-launch-1.0 filesrc location=abc.wav ! wavparse ! audioconvert ! audioresample ! amrnbenc ! filesink location=abc.amr
Please note that the above stream misses the header, that is needed to play the stream.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstAudioEncoder ╰──amrnbenc
Factory details
Authors: – Wim Taymans
Classification: – Codec/Encoder/Audio
Rank – secondary
Plugin – gstamrnb
Package – GStreamer Ugly Plug-ins
Pad Templates
sink
audio/x-raw:
format: S16LE
layout: interleaved
rate: 8000
channels: 1
Properties
band-mode
“band-mode” GstAmrnbEncBandMode *
Encoding Band Mode (Kbps)
Flags : Read / Write / Construct
Default value : MR122 (7)
hard-resync
“hard-resync” gboolean
Perform clipping and sample flushing upon discontinuity
Flags : Read / Write
Default value : false
mark-granule
“mark-granule” gboolean
Apply granule semantics to buffer metadata (implies perfect-timestamp)
Flags : Read
Default value : false
perfect-timestamp
“perfect-timestamp” gboolean
Favour perfect timestamps over tracking upstream timestamps
Flags : Read / Write
Default value : false
tolerance
“tolerance” gint64
Consider discontinuity if timestamp jitter/imperfection exceeds tolerance (ns)
Flags : Read / Write
Default value : 40000000
Named constants
GstAmrnbEncBandMode
Members
MR475
(0) – MR475
MR515
(1) – MR515
MR59
(2) – MR59
MR67
(3) – MR67
MR74
(4) – MR74
MR795
(5) – MR795
MR102
(6) – MR102
MR122
(7) – MR122
MRDTX
(8) – MRDTX
The results of the search are