This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

YouTube Direct Video URL

Problems, bugs, suggestions... anything related to SMPlayer.

YouTube Direct Video URL

Postby j7n » Wed May 17, 2017 2:19 pm

I just discovered something handy. If I click on the Information and Properties, where we can see the streams and bitrates, while a YouTube video is loading, the direct link to the video stream is shown there for a brief moment. After video playback has begun, this direct URL is replaced with the standard short address which points to the webpage.

This URL appears to have the right parameters to download a 360/720 stream at full speed. No need to mess with DASH or muxing, range, throttled speed, or an URL capture tool in browser.

Why isn't the direct link shown at all times?
j7n
 
Posts: 16
Joined: Mon Nov 24, 2014 9:54 pm

Re: YouTube Direct Video URL

Postby rvm » Wed May 17, 2017 4:01 pm

Because that URL is very large, I think it's better to show the youtube URL which is easier to copy. Also the direct URL is temporary, it's expires. Anyway you can find the URL in the smplayer log (look for RetrieveYoutubeUrl::finish: p_url)
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: YouTube Direct Video URL

Postby j7n » Thu May 18, 2017 1:06 pm

Good, I didn't know what the log could be used for. The URL expiry is more of an issue while watching than downloading, if I soft-stop the video and go away. I'm really amazed that the 360s can be downloaded really fast at 7 MB/s. I wonder if these good streams will stop being available since "nohtml5" no longer works on website since yesterday to get the Flash plugin.
j7n
 
Posts: 16
Joined: Mon Nov 24, 2014 9:54 pm


Return to General

Who is online

Users browsing this forum: No registered users and 5 guests