How VLC knows URLs of the video stream

Just have a drink and chat
jasom
New Cone
New Cone
Posts: 2
Joined: 08 Feb 2017 16:08

How VLC knows URLs of the video stream

Postby jasom » 08 Feb 2017 16:56

Hi dears,

when I paste following address what it standard HTML page

http://www.ceskatelevize.cz/ivysilani/1 ... issingerem

into "open network url" (ctrl + n) VLC player somehow extract the m3u8 stream and plays the pure video stream. Some video services works, some doesn't work. For example biggest Pakistani service Tune.pk doesn't work, Youtube works.

How VLC knows how to extract video stream URL? Does it have build in youtube-dl or it has own extractor library?

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

Re: How VLC knows URLs of the video stream

Postby Rémi Denis-Courmont » 17 Feb 2017 20:23

VLC has its own extractor scripting engine.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jasom
New Cone
New Cone
Posts: 2
Joined: 08 Feb 2017 16:08

Re: How VLC knows URLs of the video stream

Postby jasom » 18 Feb 2017 07:06

Yes, I found the file called youtube.lua, but there is no "ceskatelevize.lua".

midas02
Blank Cone
Blank Cone
Posts: 18
Joined: 27 Oct 2011 21:47
Location: Paris, France

Re: How VLC knows URLs of the video stream

Postby midas02 » 03 Mar 2017 19:43

I came here looking for this answer as well. Where can we find this extractor, and is there a way we can contribute towards expanding it for other websites?
Some basic pointers would be appreciated.

... Ok, in the meantime I did some research. Am I correct in understanding a "lua" script should be written with instructions on how to parse the correct link, which should then be added to the lua/playlist folder in order for VLC to take it into account?

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

Re: How VLC knows URLs of the video stream

Postby Rémi Denis-Courmont » 05 Mar 2017 17:42

Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 5 guests