Can someone help me?
As things are quiet I thought I’d try and get an internet radio station going. However although my plan was to stream in 320kbps mp3 the server providers have actually implemented a 320kbps AAC stream for my station which is accessible via the following URL which even mentions mp3 but is I fact AAC
The problem is that none of my SB devices can play it. That is none apart from iPeng in player mode.
My LMS file types settings are default. I haven’t mucked about with them at all. Other AAC streams play OK as far as I can tell so can someone with more technical knowledge explain what is wrong with this stream. It won’t play in VLC either. Only iPeng can play it. It does play ok via a web widget but that’s not what I’m looking to implement.
There is only test content (7am-11pm UK) at present and it’s nowhere near launch stage but if anyone can help I’d be very grateful
https://samcloud.spacial.com/api/lis...0000,any&m=pls
Results 1 to 10 of 19
Thread: AAC stream??
-
2020-04-02, 02:10 #1
- Join Date
- Feb 2011
- Location
- Cheshire, UK
- Posts
- 5,441
AAC stream??
VB2.4 storage QNAP TS419p (NFS)
Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
Dining Room SB Boom
Kitchen UE Radio (upgraded to SB Radio)
Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
Everything controlled by iPeng & Material on iOS
-
2020-04-02, 02:43 #2
Your SB Boom and SB3 cannot play AAC natively. Are you connected through LMS? LMS should transcode AAC to MP3 for those players.
-
2020-04-02, 03:01 #3
- Join Date
- Feb 2011
- Location
- Cheshire, UK
- Posts
- 5,441
I have the following player types Boom, SB3, Radio and lots of Pi’s
Yes all through LMS
-
2020-04-02, 03:15 #4
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 3,605
Could it be the same issue as was discussed in the "ByGolly" thread recently?
It resulted in a change to LMS and I think MySqueezebox to accommodate it.
https://forums.slimdevices.com/showt...l=1#post968862Paul Webster
http://dabdig.blogspot.com
Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland
-
2020-04-02, 03:23 #5
- Join Date
- Feb 2011
- Location
- Cheshire, UK
- Posts
- 5,441
This is what I get from a Pi4 connected to a Pi4 Logitech Media Server Version: 8.0.0 - 1584980762 @ Mon Mar 23 17:54:54 CET 2020
[20-04-02 11:19:42.3239] Slim::Player::Squeezebox2::statHandler (149) Error: dc:a6:32:64:8f:3f: Decoder does not support file format, code 0
[20-04-02 11:19:42.9980] Slim::Utils::Misc::msg (1256) Warning: [11:19:42.9973] Error: Unable to read at least 6273 bytes from file (only read 800).
[20-04-02 11:19:42.9989] Slim::Utils::Misc::msg (1256) Warning: [11:19:42.9984] Error: Unable to read at least 4331 bytes from file.
[20-04-02 11:19:42.9999] Slim::Utils::Misc::msg (1256) Warning: [11:19:42.9992] Error: Unable to read at least 7739 bytes from file.
[20-04-02 11:19:43.0007] Slim::Utils::Misc::msg (1256) Warning: [11:19:43.0002] Error: Unable to read at least 6272 bytes from file.
[20-04-02 11:20:48.0767] Slim::Player::Squeezebox2::statHandler (149) Error: dc:a6:32:64:8f:3f: Decoder does not support file format, code 0
[20-04-02 11:20:48.7785] Slim::Player::Squeezebox2::statHandler (149) Error: dc:a6:32:64:8f:3f: Decoder does not support file format, code 0
[20-04-02 11:21:44.2855] Slim::Player::Squeezebox2::statHandler (149) Error: dc:a6:32:64:8f:3f: Decoder does not support file format, code 0
[20-04-02 11:21:45.2869] Slim::Player::Squeezebox2::statHandler (149) Error: dc:a6:32:64:8f:3f: Decoder does not support file format, code 0
The MAC in question is definitely the Pi I am trying to play to,VB2.4 storage QNAP TS419p (NFS)
Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
Dining Room SB Boom
Kitchen UE Radio (upgraded to SB Radio)
Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
Everything controlled by iPeng & Material on iOS
-
2020-04-02, 03:24 #6
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,090
It seems to have an unsupported AAC variation (which I have never seen before) and i tialso in mono.
from ffplay "aac (LTP), mono, fltp, 61 kb/s"
The URL seems odd as well
https://samcloud.spacial.com/api/listen?sid=116970&rid=215410&f=mp3,any&br=320000,a ny&m=pls
I woudl not have expected a" &f=mp3,any" this sort of param usually means "pick MP3 first"
Also br=320000 doesn'tmatch the 61kbps .
edit:
Is this stream for real - the metadata
Metadata:
icy-name : Juke Radio
icy-description : 1st April - no fooling!!
icy-url : http://spacial.com
icy-genre :
icy-br : 320
-
2020-04-02, 03:37 #7
- Join Date
- Feb 2011
- Location
- Cheshire, UK
- Posts
- 5,441
Yes that is for real.
I haven't changed today's description yet !!
Thanks. You have confirmed what I thought - the stream is not what it should be at all.
The providers have offered the following URL variants - I can't get any to work with LMS or VLC and since VLC won't work that said stream. Weird that iPeng does though.
https://samcloud.spacial.com/api/lis...0000,any&m=m3u
https://samcloud.spacial.com/api/lis...0000,any&m=pls
https://samcloud.spacial.com/api/lis...20000,any&m=sc
https://samcloud.spacial.com/api/lis...=sc&rid=215410VB2.4 storage QNAP TS419p (NFS)
Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
Dining Room SB Boom
Kitchen UE Radio (upgraded to SB Radio)
Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
Everything controlled by iPeng & Material on iOS
-
2020-04-02, 03:40 #8
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,090
Guess the use of the URL paramters.
1. m= - this is the format of the playlist or just perhaps the playlist extesntion and perhasp the associated MIME.
2.br = the bitrate
3.f= - the preferred format.
I would concentrate on the f= and stop using "mp3,any" - which seems to be nonsense.
What format do you supply the audio data ?Last edited by bpa; 2020-04-02 at 03:41. Reason: typo on format URL
-
2020-04-02, 03:45 #9
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,090
AFAICT the playlist URL parameters do nothing except the "m=" which changes the MIME for the playlist.
The undlerying encoding of the stream is done elswhere - the MIME is audio/aacp but the stream is not a standrad 44.1kHz 2 channel 16 bit AAC LC or HE
-
2020-04-02, 03:51 #10
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,090
I analysed the AAC header.
The audio stream is
ADTS Frame 11111111 11111011 11100010 01000100
Object-type 3 Sample rate 8 Channels 1
Object Type AAC LTP Sample rate 16kHz
edit
Interesting comment in a wiki page. The stream is an AAC ADTS and not an MPEG-4 AAC
"MPEG-4 AAC LTP
MPEG-4 AAC-LC plus a less computationally intensive frequency domain prediction tool. This flavor is rarely seen in the wild. Despite being an MPEG-4 only flavor it can be embedded in an ADTS stream."Last edited by bpa; 2020-04-02 at 03:55.