[MPlayer-users] AACplus (aka AAC HE) streaming support

Vaclav Dvorak wacd at volny.cz
Sat Jan 22 14:42:49 CET 2005


There's increasing number of radios webcasting in AACplus format in very
good quality (compared to MP3) at 48-64kb, but I can't get working any of them 
in MPlayer. It seems that the stream has feature (gain control?) that faad2 library 
can't handle. I have installed FAAD2 and FAAC mp4v2 libraries from CVS, and also
tried xmms, lamip and GMerlin players, unsuccessful, too.

Have anybody got working AACplus radio streams in Linux?

Vaclav Dvorak,
wacd at volny.cz

PS. Yes, I'd rather use OGG Vorbis streams at the same bitrates, but
for some obscure reasons these stations have decided to replace MP3
with AAC :-/ I hope this is only a temporal lack of common sense...

Detailed: Here's part of MPlayer output:
mplayer http://sc1.abacast.com:8015/
Playing http://sc1.abacast.com:8015/.
Filename for url is now http://sc1.abacast.com:8015/
Filename for url is now http://sc1.abacast.com:8015/
Resolving sc1.abacast.com for AF_INET6...
Couldn't resolve name for AF_INET6: sc1.abacast.com
Resolving sc1.abacast.com for AF_INET...
Connecting to server sc1.abacast.com[]:8015 ...
protocol:           [ICY]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [55]
 0 - icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winam
 1 - icy-notice2:SHOUTcast Distributed Network Audio Server/win32 v1.9.4<BR>
 2 - icy-name:Radio Paradise - DJ-mixed modern & classic rock, with world, elect
ronica & more 
 3 - icy-genre:eclectic
 4 - icy-url:http://www.orban.com
 5 - content-type:audio/aac
 6 - icy-pub:1
 7 - icy-br:48
Name   : Radio Paradise - DJ-mixed modern & classic rock, with world, electronic
a & more 
Website: http://www.orban.com
Public : yes
Bitrate: 48kbit/s
Cache size set to 256 KBytes
Connected to server: sc1.abacast.com
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill: 18,75% (49152 bytes)    
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)

Here's output of xmms with FAAD plugin:
AAC: error sample decoding
FAAD2 Warning Gain control not yet implemented
AAC: error sample decoding

And here's output of lamip player of which is written on audiocodec.org
that has AACplus streaming capability:
$ lamip soma.aac
reading configuration data from `/home/vd/.lamip/lamip.cfg' (cfg.c/294)
DEBUG: scanning .lamip/Plugins
DEBUG: scanning /usr/local/lib/lamip
WMA: configuration function (TODO)
MP4: configuration function (TODO)
ALSA: configuration (WORK IN PROGRESS)
OSS: configuration function (TODO)
CORE: plugin setup done.
input plugin 'LAMIP WMAv1/v2 audio input plugin' found
input plugin 'LAMIP mpg123(MAD) input plugin' found
input plugin 'LAMIP ogg/vorbis audio input plugin' found
input plugin 'LAMIP MP4 & MPEG2/4-AAC audio input plugin' found
output plugin 'alsa' found
output plugin 'oss' found
output plugin oss selected
WARNING: no control plugin found, put into NO-UI mode
PLAYTHREAD : -->Will play (0x807e220,0,0)
replay gain scale 1.000000
Playing file : soma.aac
MP4: mp4play
output with : 44100 Hz, 2 ch, (fmt 2), len:0
open really with : 44100 Hz, 2 ch (fmt 2 )
AAC: error sample decoding
AAC: FAAD2 Error Gain control not yet implemented
AAC: Use Psystrip.exe on the file to avoid the ADTS error
AAC: error sample decoding
Playing file ended: soma.aac
find_next_on_by_order failed to find any valid song
oss cleanup

And here's the list of radios I tested:
(more can be found in icecast and tuner2 directories)

More information about the MPlayer-users mailing list