Can't play m3u8 link??

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
crazy_ku
New Cone
New Cone
Posts: 3
Joined: 14 Apr 2020 11:22

Can't play m3u8 link??

Postby crazy_ku » 14 Apr 2020 11:40

Hello,

I tried to play below m3u8 link but it can't be loaded. I am using VLC 3.0.8 on Windows 10 x64
I also tried with other players (MPC, some IPTV apps from windows store) and it can be played normally, so I think it isn't the problem of the m3u8 link
Can you please help to figure it out?
Thank you !

m3u8 link:
http://livecdn.fptplay.net/hda/vtv8hd_hls.smil/chunklist_b2500000.m3u8

debug message:

Code: Select all

main debug: processing request item: chunklist_b2500000.m3u8, node: Playlist, skip: 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 3 items, index 2 main debug: starting playback of new item main debug: resyncing on chunklist_b2500000.m3u8 main debug: chunklist_b2500000.m3u8 is at 2 main debug: creating new input thread main debug: Creating an input for 'chunklist_b2500000.m3u8' main debug: requesting art for new input thread main debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\Tuan\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher main debug: no meta fetcher modules matched main debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Tuan\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art main debug: using timeshift granularity of 50 MiB main debug: using timeshift path: C:\Users\Tuan\AppData\Local\Temp main debug: `http://livecdn.fptplay.net/hda/vtv8hd_hls.smil/chunklist_b2500000.m3u8' gives access `http' demux `any' path `livecdn.fptplay.net/hda/vtv8hd_hls.smil/chunklist_b2500000.m3u8' lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac main debug: creating demux: access='http' demux='any' location='livecdn.fptplay.net/hda/vtv8hd_hls.smil/chunklist_b2500000.m3u8' file='\\livecdn.fptplay.net\hda\vtv8hd_hls.smil\chunklist_b2500000.m3u8' main debug: looking for access_demux module matching "http": 15 candidates main debug: no access_demux modules matched main debug: creating access: http://livecdn.fptplay.net/hda/vtv8hd_hls.smil/chunklist_b2500000.m3u8 main debug: (path: \\livecdn.fptplay.net\hda\vtv8hd_hls.smil\chunklist_b2500000.m3u8) main debug: looking for access module matching "http": 26 candidates lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac http debug: resolving livecdn.fptplay.net ... http debug: outgoing request: GET /hda/vtv8hd_hls.smil/chunklist_b2500000.m3u8 HTTP/1.1 Host: livecdn.fptplay.net Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.8 LibVLC/3.0.8 Range: bytes=0- lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: no art finder modules matched qt debug: IM: Setting an input http debug: incoming response: HTTP/1.1 403 Forbidden Server: nginx Date: Tue, 14 Apr 2020 09:18:31 GMT Content-Type: text/html Transfer-Encoding: chunked Connection: keep-alive access error: HTTP 403 error http debug: connection failed http debug: querying proxy for http://livecdn.fptplay.net/hda/vtv8hd_hls.smil/chunklist_b2500000.m3u8 http debug: no proxy http debug: http: server='livecdn.fptplay.net' port=80 file='/hda/vtv8hd_hls.smil/chunklist_b2500000.m3u8' main debug: net: connecting to livecdn.fptplay.net port 80 main debug: connection succeeded (socket = 1524) http debug: sending request: GET /hda/vtv8hd_hls.smil/chunklist_b2500000.m3u8 HTTP/1.0 Host: livecdn.fptplay.net User-Agent: VLC/3.0.8 LibVLC/3.0.8 Icy-MetaData: 1 http debug: HTTP answer code 403 http error: error: HTTP/1.1 403 Forbidden main debug: no access modules matched main debug: dead input qt debug: IM: Deleting the input main debug: changing item without a request (current 2/3) main debug: nothing to play

Lotesdelere
Cone Master
Cone Master
Posts: 10008
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Can't play m3u8 link??

Postby Lotesdelere » 14 Apr 2020 23:12

debug message:

Code: Select all

access error: HTTP 403 error http debug: HTTP answer code 403 http error: error: HTTP/1.1 403 Forbidden

https://en.wikipedia.org/wiki/HTTP_403

crazy_ku
New Cone
New Cone
Posts: 3
Joined: 14 Apr 2020 11:22

Re: Can't play m3u8 link??

Postby crazy_ku » 14 Apr 2020 23:51

So it means they blocked VLC? There is no solution?

Lotesdelere
Cone Master
Cone Master
Posts: 10008
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Can't play m3u8 link??

Postby Lotesdelere » 15 Apr 2020 10:27

Either it requires some kind of authentication (logging, token, IP, etc) or it's blocking the user agent, but since the ability of changing the user agent of VLC has been removed for some mysterious reason there is not much you can do.

Rémi Denis-Courmont
Developer
Developer
Posts: 15280
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Can't play m3u8 link??

Postby Rémi Denis-Courmont » 18 Apr 2020 16:13

I tried to play below m3u8 link but it can't be loaded. I am using VLC 3.0.8 on Windows 10 x64
I also tried with other players (MPC, some IPTV apps from windows store) and it can be played normally, so I think it isn't the problem of the m3u8 link
Can you please help to figure it out?
Either the server is blocking VLC, and you need to force a different UA:

Code: Select all

vlc.exe <URL> :http-user-agent=<UA>
or it's blocking for some other reasons that you can probably do nothing about.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Operation
New Cone
New Cone
Posts: 3
Joined: 23 Nov 2020 19:06

Re: Can't play m3u8 link??

Postby Operation » 23 Nov 2020 19:30

I tried to play below m3u8 link but it can't be loaded. I am using VLC 3.0.8 on Windows 10 x64
I also tried with other players (MPC, some IPTV apps from windows store) and it can be played normally, so I think it isn't the problem of the m3u8 link
Can you please help to figure it out?
Either the server is blocking VLC, and you need to force a different UA:

Code: Select all

vlc.exe <URL> :http-user-agent=<UA>
or it's blocking for some other reasons that you can probably do nothing about.
I'm having exactly the same problem. I have a m3u8 stream that's working via online tools like this: http://player.kaltura.com/modules/Kaltu ... 3Afalse%7D. It's also working when I play it via VLC launched from CMD, with the syntax you suggested and Chrome UA ("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36"). But when I add the UA flag to "Edit Options" in VLC GUI's "Open Network Stream" window with the exact same stream, it doesn't work...
Any ideas?

Rémi Denis-Courmont
Developer
Developer
Posts: 15280
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Can't play m3u8 link??

Postby Rémi Denis-Courmont » 23 Nov 2020 21:56

Yes, that option only works per item. The easiest way to deal with it is to write an M3U file with VLC extended options in it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Operation
New Cone
New Cone
Posts: 3
Joined: 23 Nov 2020 19:06

Re: Can't play m3u8 link??

Postby Operation » 23 Nov 2020 22:19

Yes, that option only works per item. The easiest way to deal with it is to write an M3U file with VLC extended options in it.
Do you have an example to give for such a thing? Or some reference...
Thanks :)
Last edited by Operation on 24 Nov 2020 10:48, edited 1 time in total.

Lotesdelere
Cone Master
Cone Master
Posts: 10008
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Can't play m3u8 link??

Postby Lotesdelere » 24 Nov 2020 10:28

It's also working when I play it via VLC launched from CMD, with the syntax you suggested and Chrome UA ("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36"). But when I add the UA flag to "Edit Options" in VLC GUI's "Open Network Stream" window with the exact same stream, it doesn't work...

https://forum.videolan.org/viewtopic.php?f=14&t=99636

Operation
New Cone
New Cone
Posts: 3
Joined: 23 Nov 2020 19:06

Re: Can't play m3u8 link??

Postby Operation » 24 Nov 2020 10:48

It's also working when I play it via VLC launched from CMD, with the syntax you suggested and Chrome UA ("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36"). But when I add the UA flag to "Edit Options" in VLC GUI's "Open Network Stream" window with the exact same stream, it doesn't work...

https://forum.videolan.org/viewtopic.php?f=14&t=99636
I see this is a longtime and ongoing issue. Also, you refer to multiple threads on this subject, so the demand is there. Won't it be appropriate for the VLC developers to consider supporting this feature in the VLC GUI too?
How can we promote this?
Also, if there are other players which support custom UA out of the box and through the GUI, I'd love to hear about it.

Lotesdelere
Cone Master
Cone Master
Posts: 10008
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Can't play m3u8 link??

Postby Lotesdelere » 24 Nov 2020 10:52

As you can see in the last post of the thread I've mentionned, the feature has been removed on purpose:
http://mailman.videolan.org/pipermail/v ... 03542.html

Romano
New Cone
New Cone
Posts: 3
Joined: 28 Feb 2021 19:44

Re: Can't play m3u8 link??

Postby Romano » 28 Feb 2021 19:55

Hey, I am not very good at technology, sorry in advance, I don’t know how to create a post on this website.

I got this m3u8 link : https://load.hdfilme.ws/playlist/531911 ... c793f.m3u8

I can play it in Safari on my iPad, but can’t play it in VLC. I double tap the file and it just plays like half a second of it then stops (in VLC), even though it sees that the file is 2:00:49 long.
I would want to download it, but it just downloads a 162ko file when I try.
Can someone help me ?

Lotesdelere
Cone Master
Cone Master
Posts: 10008
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Can't play m3u8 link??

Postby Lotesdelere » 01 Mar 2021 11:13

Code: Select all

adaptive error: Failed reading https://p11d1c9b884-6b67-4bc4-8b38-7fe101682ea8.hdfilme.ws:443/hls/3db3943171f7f4772c67126612f0ab71/3db3943171f7f4772c67126612f0ab71-3.html?msKey=S4: HTTP/1.1 404 Not Found

https://en.wikipedia.org/wiki/HTTP_404

I guess that's because the "531911330277e36ccfea9d64c3cc793f/531911330277e36ccfea9d64c3cc793f" part is a kind of token which expires after some time.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 93 guests