Page 1 of 1

VLC does not recognize certain AppleHLS streams

Posted: 04 Jun 2020 18:15
by Charliemie
Please try to play the following url

Code: Select all

https://radio-trtfm.live.trt.com.tr/master.m3u8
Address is valid and it plays in other players, but when I open it with VLC, it does not recognize audio data:
You will get something like below. It seems like it is playing but it just skips all the data it downloads.

What can be the reason for this? It seems like a bug?

Thank you,
Charlie
main debug: creating demux: access='' demux='ts' location='' file='(null)'
main debug: looking for demux module matching "ts": 55 candidates
ts warning: this does not look like a TS stream, continuing
ts debug: Standard set to Auto
main debug: using demux module "ts"
ts warning: lost synchro
ts debug: skipping 609 bytes of garbage
ts debug: pid[987] unknown
ts debug: transport_error_indicator set (pid=5835)
ts warning: lost synchro
ts debug: skipping 1692 bytes of garbage
ts debug: skipping 1692 bytes of garbage
.....

Re: VLC does not recognize certain AppleHLS streams

Posted: 05 Jun 2020 09:48
by Lotesdelere
Yes, confirmed, and it's playing fine with other players including FFplay.

Code: Select all

[hls,applehttp @ 000000aeb41d8bc0] Opening 'https://radio-trtfm.live.trt.com.tr/master_128.m3u8' for reading [hls,applehttp @ 000000aeb41d8bc0] Opening 'https://radio-trtfm.live.trt.com.tr/master_128_primary_20200604T162831_556085.aac' for reading [hls,applehttp @ 000000aeb41d8bc0] Opening 'https://radio-trtfm.live.trt.com.tr/master_128_primary_20200604T162841_556086.aac' for reading Input #0, hls,applehttp, from 'https://radio-trtfm.live.trt.com.tr/master.m3u8': Duration: N/A, start: 76002.731022, bitrate: 126 kb/s Program 0 Metadata: variant_bitrate : 140800 Stream #0:0: Audio: aac (LC), 48000 Hz, stereo, fltp, 126 kb/s Metadata: variant_bitrate : 140800 id3v2_priv.com.elementaltechnologies.timestamp.utc: 2020-06-04T08:16:52Z id3v2_priv.com.apple.streaming.transportStreamTimestamp: \x00\x00\x00\x01\x97\xb5\xde [https @ 000000aeb72a2140] Opening 'https://radio-trtfm.live.trt.com.tr/master_128_primary_20200604T162851_556087.aac' for reading [https @ 000000aeb7294cc0] Opening 'https://radio-trtfm.live.trt.com.tr/master_128.m3u8' for reading [https @ 000000aeb7cbac40] Opening 'https://radio-trtfm.live.trt.com.tr/master_128_primary_20200604T162901_556088.aac' for reading 76023.37 M-A: 0.000 fd= 0 aq= 20KB vq= 0KB sq= 0B f=0/0

You should create a new ticket on the VLC Trac with the link to your stream and to this thread.
https://trac.videolan.org/vlc/

Re: VLC does not recognize certain AppleHLS streams

Posted: 05 Jun 2020 10:21
by Charliemie
I created a new ticket. For reference: https://trac.videolan.org/vlc/ticket/24817

Re: VLC does not recognize certain AppleHLS streams

Posted: 05 Jun 2020 13:24
by InTheWings
This is what happens when people can't configure their server

Re: VLC does not recognize certain AppleHLS streams

Posted: 07 Jun 2020 10:27
by #thweiss
The Radio-Stream "https://radio-trtfm.live.trt.com.tr/master.m3u8" is also playing fine in my Computer with VLC-Player Version 3.0.7.1 (64-Bit) and 2.2.8 (32-Bit) under Windows 10 Operating System.

Re: VLC does not recognize certain AppleHLS streams

Posted: 07 Jun 2020 10:36
by Charliemie
The Radio-Stream "https://radio-trtfm.live.trt.com.tr/master.m3u8" is also playing fine in my Computer with VLC-Player Version 3.0.7.1 (64-Bit) and 2.2.8 (32-Bit) under Windows 10 Operating System.
Now I tried it with 3.0.7.1 and yes it works. Thank you for sharing this. It seems like it stopped working with these types of streams after 3.0.7.1. (I tried it on 3.0.8 and 4.x and it is not working on those)

Re: VLC does not recognize certain AppleHLS streams

Posted: 08 Jun 2020 12:56
by #thweiss
I tested the Stream with three different online Analyzer.

1) https://www.hlsanalyzer.com/

2) https://bitmovin.com/demos/stream-test?format=hls&manifest=
Event Log:
On Error: {"type":"error","timestamp":1591610616801,"code":1202,"name":"SOURCE_MANIFEST_INVALID"}

3) https://players.akamai.com/players/hlsjs
General Statistics
Available Bitrate: undefined

Playlist with undifined or better unusually Bitrate (140800):

Code: Select all

#EXTM3U #EXT-X-VERSION:3 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=140800,AVERAGE-BANDWIDTH=140800,CODECS="mp4a.40.2" master_128.m3u8

HLS Authoring Specification for Apple Devices:
https://developer.apple.com/documentation/http_live_streaming/hls_authoring_specification_for_apple_devices