Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebM support for Youtube #134

Closed
hdclark opened this issue Aug 3, 2011 · 12 comments
Closed

WebM support for Youtube #134

hdclark opened this issue Aug 3, 2011 · 12 comments

Comments

@hdclark
Copy link
Contributor

hdclark commented Aug 3, 2011

I also am not able to download any video that is available (or, as far as I can tell, also available) in WebM. After grabbing the latest version (2011.03.29) I had to change:

!/usr/bin/env python

to

!/usr/bin/env python2.7

to get the script to proceed beyond the 185th line. Beyond this, I am unable to download any html5 content. I am also unable to try specify any other (non-WebM) formats:

[hal@computer Music]$ youtube-dl -t http://www.youtube.com/watch?v=VovXGW8pSR4
[youtube] Setting language
[youtube] VovXGW8pSR4: Downloading video webpage
[youtube] VovXGW8pSR4: Downloading video info webpage
[youtube] VovXGW8pSR4: Extracting video information
ERROR: no fmt_url_map or conn information found in video info

[hal@computer Music]$ youtube-dl -t -f 22 http://www.youtube.com/watch?v=VovXGW8pSR4
[youtube] Setting language
[youtube] VovXGW8pSR4: Downloading video webpage
[youtube] VovXGW8pSR4: Downloading video info webpage
[youtube] VovXGW8pSR4: Extracting video information
ERROR: no fmt_url_map or conn information found in video info

[hal@computer Music]$ youtube-dl -t --all-formats http://www.youtube.com/watch?v=VovXGW8pSR4
[youtube] Setting language
[youtube] VovXGW8pSR4: Downloading video webpage
[youtube] VovXGW8pSR4: Downloading video info webpage
[youtube] VovXGW8pSR4: Extracting video information
ERROR: no fmt_url_map or conn information found in video info

The same fate happens when trying to use philhag's fork, which apparently fixed the issue earlier ( #108 ).

@alexandre-mbm
Copy link

I tried to use youtube-dl just now and also had this error. Until last week I used the program without problems. I suspect that there were changes on Youtube, because the Firefox extension Easy Youtube Video Downloader also crashed; button disappeared. Must be a detail common to the two softwares.

@doorknob60
Copy link

Yeah, there was a Youtube change sometime within the past couple hours, actually. It also broke my Youtube without Flash auto greasemonkey script as well. Hope to see a new version soon :)

@doorknob60
Copy link

And as far as I can tell, it doesn't have anything to do with WebM videos, I think it's broken for all videos right now.

@hdclark
Copy link
Contributor Author

hdclark commented Aug 3, 2011

doorknob60: you're right, there are (as far as I can tell) no working videos, WebM or not.

A few hours ago the problem only existed for WebM videos.

@hdclark
Copy link
Contributor Author

hdclark commented Aug 3, 2011

For what it is worth, clicking on 'save as' under the www.youtube.com/html5 beta currently serves you a link to a Rick-Roll.

@phihag
Copy link
Contributor

phihag commented Aug 3, 2011

Yes, all youtube downloads were broken. Commit 0ac22e.. in my fork should fix it. Does it work for you?

@alexandre-mbm
Copy link

phihag, yes, it work for me. Thank you.

@hdclark
Copy link
Contributor Author

hdclark commented Aug 3, 2011

phihag: Works for me too. I still get flv's when downloading, though, instead of WebM.

Is there any planned support for WebM format? (In other words: should I close this issue because it is out of the scope of youtube-dl?)

@phihag
Copy link
Contributor

phihag commented Aug 4, 2011

@hdclark webm should be supported, and it works for me. By default, youtube-dl should choose the best (highest-quality) format. Try -f 43 or -f 45:

youtube-dl -f 45 http://www.youtube.com/watch?v=rLxQiI8c1Bs

I'll add a fallback (-f 45,43) when I get to it - probably this weekend.

@deflo
Copy link

deflo commented Aug 4, 2011

tnx

@rg3
Copy link
Collaborator

rg3 commented Aug 4, 2011

phihag, I'll cherry-pick your fix, test it a bit and get a new version out.

@hdclark
Copy link
Contributor Author

hdclark commented Aug 4, 2011

@phihag I was testing it on videos which had no webm format available. Works for me. Thanks.

@hdclark hdclark closed this as completed Aug 4, 2011
joedborg referenced this issue in joedborg/youtube-dl Nov 17, 2020
[pull] master from rg3:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants