File this under 'checking before I go insane and give up'. Is it still possible to extract a m3u8 or mpd link from a YouTube livestream and play it externally, in an IPTV player for example?
I know these url's are dynamic and expire, but until a few months ago I had a working system that took a video id, used ytdl-core to get the corresponding m3u8 link and forwarded my player to that (temporary) url. Seems ytdl-core is unmaintained but still mostly works, expect for the fact that the url that gets returned won't actually play (403 error).
Does anyone know of another way that still works? Or should I really give up?
+ Reply to Thread
Results 1 to 2 of 2
-
-
if you look at the ytdl-core readme they have suggested a replacement which you can probably use in the exact same workflow as you were previously:
https://github.com/LuanRT/YouTube.js
for me though, the most reliable way to get a stream m3u8 will always be with the latest version of yt-dlp
or if you just want playback in a regular media player (mpv/vlc) you can open the stream directly as long as yt-dlp is installedCode:yt-dlp -g <url>
Code:mpv <url>
Similar Threads
-
how to catch live streams from rds.live and play it in any player like vlc
By icebreaker101010 in forum Video Streaming DownloadingReplies: 6Last Post: 17th Dec 2024, 17:48 -
Play encrypted dash live stream
By stevepen1974 in forum Video Streaming DownloadingReplies: 6Last Post: 16th Jul 2023, 07:11 -
DASH mpd restream and Convert to m3u8 HLS
By thegeek in forum Video Streaming DownloadingReplies: 9Last Post: 18th May 2022, 22:38 -
How to auto select best HLS or DASH stream, and why one over the other ?
By abolibibelot in forum Video Streaming DownloadingReplies: 10Last Post: 8th Oct 2021, 23:11 -
How to download a mpd dash stream 8?) from munin.live ?
By Gwar in forum Video Streaming DownloadingReplies: 5Last Post: 24th May 2021, 13:53


Quote