HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: 6u6d6 on 2021-05-09 21:30:17

Title: unable to play certain hls streams in v1.6.4
Post by: 6u6d6 on 2021-05-09 21:30:17
I believe these are AAC hls streams, but whenever I load the m3u8 in foobar they refuse to play. I have suppressed https checks for the website in question and installed the AAC packet decoder, but to no avail.

https://radio-trtnagme.live.trt.com.tr/master_128.m3u8

http://n0f.radiojar.com/9zzam7ksdg8uv.m4a?1613673331=&rj-tok=AAABd7Z2K7oANrzmIdm5Dx-xxw&rj-ttl=5

They play fine in VLC media player, however I really dislike vlcs interface and would much rather play these streams in foobar considering I listen to them a lot. Other hls streams work just fine. If anyone has any idea I would appreciate knowing why these refuse to play. Thank you.
Title: Re: unable to play certain hls streams in v1.6.4
Post by: kode54 on 2021-05-10 03:01:15
It appears to be AAC-LC, ADTS, and it appears to contain intermittent ID3v2 tags.
Title: Re: unable to play certain hls streams in v1.6.4
Post by: 6u6d6 on 2021-05-10 03:42:20
It appears to be AAC-LC, ADTS, and it appears to contain intermittent ID3v2 tags.

Hi, thanks for getting back to me. Is it possible to add *.adts to ffmpeg and enable ID3 v2 to play these streams? Because I have just tried this and it doesn't work.
Title: Re: unable to play certain hls streams in v1.6.4
Post by: sveakul on 2021-05-10 04:09:31
Like kode54 mentioned the first link shows as AAC and content-type: application/vnd.apple.mpegurl in the header.  Doesn't seem to be sending any metadata at this time.

The second link is sending MP3 with metadata, according to what I see in AIMP and despite the appearence of ".m4a" in the URL:
content-type: audio/mpeg.  Now has tracks from "The Conet Project" collection.  Pretty cool to hear that stuff again from my shortwave radio days.

Title: Re: unable to play certain hls streams in v1.6.4
Post by: Sergey77 on 2021-05-10 06:57:59
@6u6d6
For example, these two links can be played in fb2k using Youtube Source (https://www.foobar2000.org/components/view/foo_youtube).
In the settings, you will need to enable the "Analyze URLs from ..." option.

Thanks for the second link, short wave is really interesting.
Title: Re: unable to play certain hls streams in v1.6.4
Post by: 6u6d6 on 2021-05-10 07:04:27
@6u6d6
For example, these two links can be played in fb2k using Youtube Source (https://www.foobar2000.org/components/view/foo_youtube).
In the settings, you will need to enable the "Analyze URLs from ..." option.

Thanks for the second link, short wave is really interesting.

No problem. I shall try that now.
Title: Re: unable to play certain hls streams in v1.6.4
Post by: 6u6d6 on 2021-05-10 07:17:37
thanks, this works like a charm.
Title: Re: unable to play certain hls streams in v1.6.4
Post by: Peter on 2021-05-10 11:08:53
ADTS AAC isn't the problem, ADTS AAC served as "video/MP2T" due to a misconfigured server is.

Edit: Fixed in 1.6.6 beta 7.