0

So lately I've been having problems downloading some videos from Youtube such as this one:

https://www.youtube.com/watch?v=xouo8ktxZNc

I've tried KeepVid, DownloadHelper, a Greasemonkey script and youtube-dl, and only youtube-dl worked. I've noticed this problem with KeepVid for some months. And at the same time they download other videos completely fine.

So does anyone know why those download managers don't work? I doubt it's because Youtube changes protocols since for some videos it still works and has worked all the time.

1 Answer 1

1

Disclaimer: I am one of the core developers of youtube-dl.

What you see as a unified YouTube is in reality a lot of different protocols and variations. So while every video looks the same, there is considerable variation:

  • For some videos, the API is quite stable and uses HTTP. This class seems to be picked for most "ordinary" videos uploaded by you and me and not some large organization. In recent times, they've switched more and more towards DASH, although the legacy format remains for low-quality (<1080p) videos.
  • Music videos typically use HTTP or DASH, but require an extra step of decoding the URL, which can be quite complicated since it involves interpreting Flash or JavaScript code.
  • Movies seem to use yet another wholly different scheme, namely RTMP.
  • Live streams, even when recorded, typically use HLS, sometimes exclusively.

Of course, there is considerable overlap, many videos are available in multiple formats out of HTTP, HTTP with signature, DASH, DASH with signature, RTMP, HLS, HLS with signature. Without a public statement by YouTube, all we can do is guess and implement everything - and that's precisely what the youtube-dl project (and probably the other projects you listed) tries to do.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .