HTTP Live streaming support. (.m3u8)

Feature requests for VLC.
SuperLAVA
New Cone
New Cone
Posts: 5
Joined: 26 Dec 2013 19:20

HTTP Live streaming support. (.m3u8)

Postby SuperLAVA » 26 Dec 2013 19:29

When trying to open *.m3u8 file (HTTP Live play list) it plays it only once, though it looks like playing properly, I do not notice gaps or pauses between segments.

Problem: It plays the list only once. In HTTP Live it has to be refreshed after each segment played.

Solution: I think it is pretty easy to add "auto refresh live playlist" option to allow for continuous uninterrupted live playback of those streams.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: HTTP Live streaming support. (.m3u8)

Postby Jean-Baptiste Kempf » 26 Dec 2013 21:21

This is already supported
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

SuperLAVA
New Cone
New Cone
Posts: 5
Joined: 26 Dec 2013 19:20

Solved (kind of) Re: HTTP Live streaming support. (.m3u8)

Postby SuperLAVA » 30 Dec 2013 04:20

Jean-Baptiste,

Please pardon my laziness to research further and explain clearer:
You are absolutely correct that it does play HTTPLive (when used from main interface). I guess I have to move this thread to Windows troubleshooting? (I'm not sure how to do it in this forum.)

Experimenting further, on all of my PCs, I've found that only when URL entered or pasted directly into the player interface it plays indefinitely, the way it should. The problem appeared when .m3u8 opened through file association in Firefox or IE. In Playlist, instead of single item (like when URL entered directly into player), there is a list of segments, sometime looks like randomly aggregated from different times from same m3u8. Then VLC plays each of them once and stops, sometime for some reason falling into background process while consuming significant amount of CPU resources without actually doing anything (I'm guessing untimed short loop somewhere in playlist controller software? I don't see such behavior when operated through player interface).

Because VLC behaving the same with both browsers I'm further guessing that there is mismatch between the way windows forms command for associated applications and the way VLC expecting this command line to be.

Probably my correct request should be to make sure VLC can handle m3u8 associated commands properly when executed from IE or Firefox (and possibly other applications as well).


Best regards and respect for your great work!
Last edited by SuperLAVA on 30 Dec 2013 05:05, edited 1 time in total.

SuperLAVA
New Cone
New Cone
Posts: 5
Joined: 26 Dec 2013 19:20

Re: HTTP Live streaming support. (.m3u8)

Postby SuperLAVA » 30 Dec 2013 05:04

Replying to myself, root cause found. Maybe there is a way to handle it better?

Experimenting even more I came to suspicion that problem I see is not due to command line for associated application, but the way m3u8 handled:

When clicking on the link in page made for Safari or iOS, Windows browser trying to open m3U8, it passes to associate application not the URL to m3u8 but the file itself without original address to this URL. Therefore it is parsed by playlist manager and broken into segments and played only once as any other playlist.

My short term fix would be to replace m3u8 files with m3u playlists with m3u8 link inside (already tested, works). Pretty convoluted. It solves problem for my own pages. Does not solve it for sites not owned by me.

Is it possible to somehow associate straight HTTP Live steaming links with VLC to be opened properly in Firefox or IE?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: HTTP Live streaming support. (.m3u8)

Postby Jean-Baptiste Kempf » 31 Dec 2013 12:20

Then issue is your browser setting, to be honest.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ddejager
New Cone
New Cone
Posts: 2
Joined: 02 Jun 2015 18:45

Re: HTTP Live streaming support. (.m3u8)

Postby ddejager » 02 Jun 2015 19:05

I am having the same problem. I agree that it is a browser issue. It is happening on Windows 7 for both Chrome and IE. Does anyone know how to "fix" the browsers so they pass the m3u8 URL to VLC instead of downloading the m3u8 and then passing the downloaded file to VLC?


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 15 guests

cron