How to get the streaming URL of YT

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.
-Ketzer-
New Cone
New Cone
Posts: 2
Joined: 13 Feb 2024 15:38

How to get the streaming URL of YT

Postby -Ketzer- » 13 Feb 2024 15:50

A retirement home films events and streams them as a YouTube live video. So that this live streaming can also be received on old televisions, it has to be converted. To do this, I need the streaming URL of the YouTube live video.

In the past, I was able to display this URL in the VLC Player under Media Information or Codec Information in the "Location:" section and copy this URL. My application worked with this.

Now it no longer works. The URL is still displayed truncated, but I can no longer copy the text. Apparently VLC Player now prevents this.

Is there a simple solution to get the URL of the HLS?

Or does YouTube no longer work at all and do I have to use a different service?

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

Re: How to get the streaming URL of YT

Postby Rémi Denis-Courmont » 13 Feb 2024 18:35

This is not possible firstly because YouTube now separates audio and video tracks, and secondly because YouTube expires their media URLs fast, to force opening the intended web page.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

-Ketzer-
New Cone
New Cone
Posts: 2
Joined: 13 Feb 2024 15:38

Re: How to get the streaming URL of YT

Postby -Ketzer- » 15 Feb 2024 12:10

Thank you, I was afraid of that. So YouTube has changed the function drastically. Do you know where these changes are described which I can present the users?

Mercury048
Blank Cone
Blank Cone
Posts: 85
Joined: 20 Jan 2008 02:15

Re: How to get the streaming URL of YT

Postby Mercury048 » 24 Feb 2024 00:07

Use yt-dlp --get-url. It will return a URL that VLC will play.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 53 guests