Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: AAC stream??

  1. #1
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,008

    AAC stream??

    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
    VB2.4 storage QNAP TS419p (NFS)
    Living Room - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
    Office - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom
    Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - Pi2+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
    Everything controlled by iPeng

  2. #2
    Senior Member toby10's Avatar
    Join Date
    Jul 2007
    Location
    USA (home of the bottomless credit card)
    Posts
    9,271
    Your SB Boom and SB3 cannot play AAC natively. Are you connected through LMS? LMS should transcode AAC to MP3 for those players.

  3. #3
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,008
    I have the following player types Boom, SB3, Radio and lots of Piís

    Yes all through LMS

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,027
    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#post968862
    Paul 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

  5. #5
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,008
    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 & SB3 -> Onkyo TS606 -> Celestion F20s
    Office - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom
    Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - Pi2+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
    Everything controlled by iPeng

  6. #6
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,318
    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

  7. #7
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,008
    Quote Originally Posted by bpa View Post
    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/lis...0000,any&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
    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=215410
    VB2.4 storage QNAP TS419p (NFS)
    Living Room - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
    Office - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom
    Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - Pi2+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
    Everything controlled by iPeng

  8. #8
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,318
    Quote Originally Posted by d6jg View Post
    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=215410

    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

  9. #9
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,318
    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

  10. #10
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,318
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •