WebM support for Youtube #86

Closed
opened 2026-02-20 22:25:08 -05:00 by deekerman · 12 comments
Owner

Originally created by @hdclark on GitHub (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 ( https://github.com/rg3/youtube-dl/issues/108 ).

Originally created by @hdclark on GitHub (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 ( https://github.com/rg3/youtube-dl/issues/108 ).
Author
Owner

@alexandre-mbm commented on GitHub (Aug 3, 2011):

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.

@alexandre-mbm commented on GitHub (Aug 3, 2011): I tried to use <b>youtube-dl</b> 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 <a href="https://addons.mozilla.org/pt-br/firefox/addon/easy-youtube-video-downl-10137/">Easy Youtube Video Downloader</a> also crashed; button disappeared. Must be a detail common to the two softwares.
Author
Owner

@doorknob60 commented on GitHub (Aug 3, 2011):

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 commented on GitHub (Aug 3, 2011): 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 :)
Author
Owner

@doorknob60 commented on GitHub (Aug 3, 2011):

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.

@doorknob60 commented on GitHub (Aug 3, 2011): 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.
Author
Owner

@hdclark commented on GitHub (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 commented on GitHub (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.
Author
Owner

@hdclark commented on GitHub (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.

@hdclark commented on GitHub (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.
Author
Owner

@phihag commented on GitHub (Aug 3, 2011):

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

@phihag commented on GitHub (Aug 3, 2011): Yes, all youtube downloads were broken. Commit [0ac22e..](https://github.com/phihag/youtube-dl/commit/0ac22e4f5a652f1b470f9daff06c1361e8f93c16) in [my fork](https://raw.github.com/phihag/youtube-dl/master/youtube-dl) should fix it. Does it work for you?
Author
Owner

@alexandre-mbm commented on GitHub (Aug 3, 2011):

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

@alexandre-mbm commented on GitHub (Aug 3, 2011): phihag, yes, it work for me. Thank you.
Author
Owner

@hdclark commented on GitHub (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?)

@hdclark commented on GitHub (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?)
Author
Owner

@phihag commented on GitHub (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.

@phihag commented on GitHub (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.
Author
Owner

@deflo commented on GitHub (Aug 4, 2011):

tnx

@deflo commented on GitHub (Aug 4, 2011): tnx
Author
Owner

@rg3 commented on GitHub (Aug 4, 2011):

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

@rg3 commented on GitHub (Aug 4, 2011): phihag, I'll cherry-pick your fix, test it a bit and get a new version out.
Author
Owner

@hdclark commented on GitHub (Aug 4, 2011):

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

@hdclark commented on GitHub (Aug 4, 2011): @phihag I was testing it on videos which had no webm format available. Works for me. Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#86
No description provided.