WHAT IT IS
----------

gst-aacplus is GStreamer plug-in, that able to encode audio to
modern mp4 audiocodec: AAC+ and eAAC+. The specific mode
(SBR or SBR+PS) - is selected automatically, depending on channels
number, samplerate and bitrate of input stream.

The plug-in based on libaacplus library, that also depends on proprietary
3GPP's code, so you have to be very careful with this plug-ion usage,
because the encoding logic part is not free.

HOW TO USE IT
-------------

For example, you want to encode in AAC+:

$ gst-launch alsasrc ! audioconvert ! aacplus ! matroskamux ! \
filesink location=sine.mkv

If you want to set specific samplerate and channels number
(and it also automatically selects SBR or SBR+PS mode). Here
is minimal encoding parameters:

$ gst-launch alsasrc ! audioconvert ! audioresample ! \
'audio/x-raw-int,rate=32000,channels=1' ! aacplus bitrate=10000 ! \
matroskamux ! filesink location=radio.mkv

Or maximal parameters, that this libaacplus can encode:

$ gst-launch alsasrc ! audioconvert ! audioresample ! \
'audio/x-raw-int,rate=48000,channels=2' ! aacplus bitrate=72000 ! \
matroskamux ! filesink location=radio.mkv



If You want to transcode your radio-station stream and dump it into file, you may use
this sample:

$ gst-launch souphttpsrc user-agent="FooPlayer 0.99 beta" \
automatic-redirect=false location=http://<radio-ip>:8000/ ! \
queue ! mad ! audioconvert ! aacplus bitrate=64000 ! matroskamux ! \
filesink location=radio.mkv

