Iks Brasil Posted August 17, 2025 Posted August 17, 2025 I would like to know if there is already a way to store YouTube live addresses and play them directly in the program... I created a tool that helps and opens the live stream in the program, but I was looking for something more straightforward. After entering the channel and pressing enter (it can also be called via terminal), it opens the channel on the DVB
Griga Posted August 18, 2025 Posted August 18, 2025 vor 7 Stunden schrieb Iks Brasil: I would like to know if there is already a way to store YouTube live addresses and play them directly in the program... Only for live streams provided in HLS format. You can do something like https://www.youtube.com/watch/search.m3u8?v=YDvsBbKfLPA Please note that the /search.m3u8 part ist processed by DVBViewer. It is not sent to the server, but lets DVBViewer search for an m3u8 URL in the server response and use it for playing the channel. Other players will send it to the server, which doesn't make sense. Of course this method can also be applied to other sites, not only to YouTube.
Iks Brasil Posted August 18, 2025 Author Posted August 18, 2025 Thanks for the help, my friend.. Do you have any solution to use the fixed live link? "https://www.youtube.com/@SkyNews/live".. Because the channels I’m trying keep changing the live link constantly, this way it would always grab the same one.
Iks Brasil Posted August 18, 2025 Author Posted August 18, 2025 I managed to do it like this https://www.youtube.com/watch/search.m3u8?v=@SkyNews but the link keeps looping, reloading every 4 seconds, and it freezes when it reloads.. it goes from 0 to 100% in a loop. Does this search.m3u8 file stay in the DVB? Is it editable?
Iks Brasil Posted August 18, 2025 Author Posted August 18, 2025 sorry, this https://www.youtube.com/@SkyNews/live/search.m3u8
Griga Posted August 18, 2025 Posted August 18, 2025 For the one above it would be in DVBViewer https://www.youtube.com/@SkyNews/live/search.m3u8 It's always [site address]search.m3u8[?query part of the site address] If there is no query part beginning with ?, the modified URL simply ends with search.m3u8.
Griga Posted August 18, 2025 Posted August 18, 2025 vor 5 Minuten schrieb Iks Brasil: Does this search.m3u8 file stay in the DVB? Is it editable? This is no file, but a live strean. But you can record it in DVBViewer.
Iks Brasil Posted August 18, 2025 Author Posted August 18, 2025 I mean, is the "/search.m3u8" file a local editable file? So that I can implement other types of sites... or is it a YouTube-owned file? And lastly, I saw that the player runs MPD — I was able to play the sample links, but I couldn’t get links from my country to work. Also, does it support KEYS for MPD?
Griga Posted August 18, 2025 Posted August 18, 2025 vor 4 Stunden schrieb Iks Brasil: I mean, is the "/search.m3u8" file a local editable file? No. In this context it's a command that is embedded in the URL. Only DVBViewer is able to understand it. It tells DVBViewer "load the HTML source code of the site and search for a URL that contains the sub-string .m3u8. If such a URL exists, use it as stream URL". Usually URLs with .m3u8 file extension are pointing to an HLS playlist file that is located on the server (see here). Any player that wants to play a HLS stream will first load such a playlist. However, a file "search.m3u8" doesn't exist, neither on your hard disk nor on the server. vor 4 Stunden schrieb Iks Brasil: And lastly, I saw that the player runs MPD — I was able to play the sample links, but I couldn’t get links from my country to work. Also, does it support KEYS for MPD? DVBViewer is able to play MPEG Dash (MPD) streams, but no encrypted streams. You may also use "/search.mpd" as command for letting DVBViewer find an URL that contains the sub-string ".mpd" on a site. 1
Iks Brasil Posted August 26, 2025 Author Posted August 26, 2025 Thank you very much. Is there any option to set a HEADER + User-Agent? Some channels require it.
Griga Posted August 27, 2025 Posted August 27, 2025 Please read here (beginning with "Within the TS Stream framework HTTP header fields can be changed or added in DVBViewer..."). If the URL already has a query part beginning with a questionmark, the addhdr part must be appended with a leading ampersand (&).
Iks Brasil Posted August 29, 2025 Author Posted August 29, 2025 You are perfect!!! Do you have any topic or tutorial on how to use XML/JSON EPG? If not, could you give instructions on what the expected format for the program would be so I can create a conversion file in PHP?
Griga Posted August 29, 2025 Posted August 29, 2025 Tool for XMLTV import: https://www.dvbviewer.tv/forum/topic/59663-xepg/
Iks Brasil Posted Monday at 09:36 PM Author Posted Monday at 09:36 PM Hiiiii GA! Not work more? https://www.youtube.com/@SkyNews/live/search.m3u8 Have new method?
Griga Posted Tuesday at 04:28 AM Posted Tuesday at 04:28 AM (edited) See here: https://www.dvbviewer.tv/forum/topic/81545-suddenly-cannot-open-youtube-live-on-dvbviewer/#comment-536034 Topic closed. Please continue in the topic given by the link above. Edited Tuesday at 06:03 AM by Griga Topic closed
Recommended Posts