Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Download just dash manifest? #3763
Comments
|
youtube-dl is an application to download, recode, and play videos and music streams. The manifest itself is neither of those, so downloading just the manifest would be out of scope. Can you elaborate why you want the manifest instead of the video data or at least the video's URL? |
|
I want to stream youtube videos using DASH so all I need is the manifest. However I cant find any documentation on how to generate the manifest url. This project is the only thing I could find using it besides google's exoplayer. |
|
Sorry for necroposting, but I got here searching how to get DASH MPD for youtube files. Although is clearly out of scope for this project, if anybody else is curious about the content of the manifest and doesn't want to surf the source searching, you can do a oneliner in bash and get it with youtube-dl: curl $(youtube-dl https://www.youtube.com/watch?v=iVAgTiBrrDA --youtube-include-dash-manifest --dump-intermediate-pages -s | grep manifest.google | cut -d ' ' -f 5) |
|
As youtube-dl also downloads annotations, thumbnails, and descriptions is this now a valid feature request or is the preceding solution good enough? |
|
@schwiz not sure if this'll help you (it's been so long since you asked), but I branched the latest version and added dash manifest urls to the result data. Also, I'm no python master, so I just did it however so I can have dash mpds, lol. I commented out a lot of the extractors (we only use youtube), so I wouldn't use my fork. |
|
@diegosuarez does it have official support command now? |
|
FYI:
|
|
@yan12125 wow you are so fast! bravo. Where do i get |
|
Some videos is missing dash manifest URL, for instance: Does anyone know why? |
|
@Khang-NT: There are no MPD-based formats in kCd72das64k. Actually they're uncommon in non-live YouTube videos. |
I'm not really interested in the video, I just want the dash manifest. But adding --youtube-include-dash-manifest to the command doesn't seem to even save the manifest and it also still downloads the video. Is there a way to get just the manifest? Is this manifest API documented anywhere? Do I even need youtube-dl to get it?
Thanks!