ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

Unable to play M3U8 streams (Audio only)

Open cyberjaime45 opened this issue 9 years ago • 5 comments

Exoplayer is unable to play m3u8 streams. Stream: http://radios-ec.cdn.nedmedia.io/radios/ec-alfa.m3u8 If you guys have any input on this issue, please share it. @ojw28

cyberjaime45 avatar Jan 05 '17 05:01 cyberjaime45

The stream doesn't play in VLC either, giving the following output:

[0x1e26118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x7f8450c043a8] httplive stream: HTTP Live Streaming (radios-ec.cdn.nedmedia.io/radios/ec-alfa.m3u8)
[0x7f8450004088] ts demux error: MPEG-4 descriptor not found
[0x7f8450e1eb88] packetizer_mpeg4audio packetizer: AAC channels: 2 samplerate: 22050
[0x7f8450004088] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
[0x7f8450004088] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 4097
[0x7f8450004088] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
[0x7f8450004088] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 4097
[0x7f8450004088] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
[0x7f8450004088] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 4097
[0x7f8450004088] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
[0x7f8450004088] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 4097

I'm guessing the stream is faulty. It does play in Safari, so the audio is definitely in there somewhere. It's possible Safari is working around some issue with the stream. @AquilesCanta - Fancy digging further?

ojw28 avatar Jan 05 '17 15:01 ojw28

The audio is there on Safari, Chrome, iTunes and some HLS players found on the internet. However when it comes to Exoplayer, it simply won't play the audio. So there's definitely something going on here.

cyberjaime45 avatar Jan 05 '17 15:01 cyberjaime45

Could be an issue with that specific stream. I've gotten other HLS streams to play in ExoPlayer.

Fleker avatar Jan 09 '17 05:01 Fleker

And since VLC also fails (and also plays nearly all other streams successfully).

ojw28 avatar Jan 09 '17 10:01 ojw28

The stream is not valid: The chunks(at least some of them, which I peeked) declare an H264 elementary stream but include no associated packets, including only the audio.

AquilesCanta avatar Jan 09 '17 12:01 AquilesCanta