YouTube Live #70

Closed
opened 2026-02-20 22:24:42 -05:00 by deekerman · 14 comments
Owner

Originally created by @joshtriplett on GitHub (Apr 12, 2011).

YouTube Live streams work with URLs that look like regular YouTube videos, complete with a video ID, but youtube-dl produces this error: "no fmt_url_map or conn information found in video info".

The video info probably contains the information on the stream rather than the usual video URL. Given the nature of a live stream, it would probably make sense to provide a URL to pass to an external player, assuming that the YouTube player doesn't do anything magic that a local video player can't replicate. However, downloading would also make sense in some cases, and hopefully old URLs continue to work and support downloading.

Originally created by @joshtriplett on GitHub (Apr 12, 2011). YouTube Live streams work with URLs that look like regular YouTube videos, complete with a video ID, but youtube-dl produces this error: "no fmt_url_map or conn information found in video info". The video info probably contains the information on the stream rather than the usual video URL. Given the nature of a live stream, it would probably make sense to provide a URL to pass to an external player, assuming that the YouTube player doesn't do anything magic that a local video player can't replicate. However, downloading would also make sense in some cases, and hopefully old URLs continue to work and support downloading.
Author
Owner

@phihag commented on GitHub (Jul 31, 2011):

This should be fixed in my fork, although there sees to be 2GB file limit imposed by youtube.

@phihag commented on GitHub (Jul 31, 2011): This should be fixed in [my fork](https://raw.github.com/phihag/youtube-dl/master/youtube-dl), although there sees to be 2GB file limit imposed by youtube.
Author
Owner

@rg3 commented on GitHub (Sep 10, 2011):

Will close here then.

@rg3 commented on GitHub (Sep 10, 2011): Will close here then.
Author
Owner

@joshtriplett commented on GitHub (Sep 10, 2011):

Has this issue actually been fixed in the standard youtube-dl, or only in the fork? If the latter, shouldn't this issue stay open until the fork gets merged?

@joshtriplett commented on GitHub (Sep 10, 2011): Has this issue actually been fixed in the standard youtube-dl, or only in the fork? If the latter, shouldn't this issue stay open until the fork gets merged?
Author
Owner

@phihag commented on GitHub (Sep 13, 2011):

@joshtriplett I'm still working how releasing goes, and I don't have much time lately ... should be fixed this weekend.

@phihag commented on GitHub (Sep 13, 2011): @joshtriplett I'm still working how releasing goes, and I don't have much time lately ... should be fixed this weekend.
Author
Owner

@phihag commented on GitHub (Sep 13, 2011):

Just pushed the whole fork onto the main repo and released a new version. Issue can stay closed.

@phihag commented on GitHub (Sep 13, 2011): Just pushed the whole fork onto the main repo and released a new version. Issue can stay closed.
Author
Owner

@joshtriplett commented on GitHub (Sep 13, 2011):

Awesome, thank you!

@joshtriplett commented on GitHub (Sep 13, 2011): Awesome, thank you!
Author
Owner

@mkanet commented on GitHub (Jan 18, 2013):

I'm curious when people watch live TV events, how are they able download it starting from the current live TV position? If this goes without saying, I'm not sure what to do. It wouldn really make sense to try to download the ENTIRE live tv stream; which could be weeks worth of video.

@mkanet commented on GitHub (Jan 18, 2013): I'm curious when people watch live TV events, how are they able download it starting from the current live TV position? If this goes without saying, I'm not sure what to do. It wouldn really make sense to try to download the ENTIRE live tv stream; which could be weeks worth of video.
Author
Owner

@scottstensland commented on GitHub (Jan 21, 2013):

this ability to download live stream still has same error

/usr/local/bin/youtube-dl --version
2013.01.13

/usr/local/bin/youtube-dl -c -l http://www.youtube.com/watch?v=LJHdBB3YX9k
[youtube] Setting language
[youtube] LJHdBB3YX9k: Downloading video webpage
[youtube] LJHdBB3YX9k: Downloading video info webpage
[youtube] LJHdBB3YX9k: Extracting video information
ERROR: no conn or url_encoded_fmt_stream_map information found in video info

date
Mon Jan 21 11:17:04 EST 2013

@scottstensland commented on GitHub (Jan 21, 2013): this ability to download live stream still has same error /usr/local/bin/youtube-dl --version 2013.01.13 /usr/local/bin/youtube-dl -c -l http://www.youtube.com/watch?v=LJHdBB3YX9k [youtube] Setting language [youtube] LJHdBB3YX9k: Downloading video webpage [youtube] LJHdBB3YX9k: Downloading video info webpage [youtube] LJHdBB3YX9k: Extracting video information ERROR: no conn or url_encoded_fmt_stream_map information found in video info date Mon Jan 21 11:17:04 EST 2013
Author
Owner

@phihag commented on GitHub (Jan 29, 2013):

Unfortunately, http://www.youtube.com/watch?v=LJHdBB3YX9k is not available on youtube's website, so I think we're out of luck there. http://www.youtube.com/watch?v=Me3iPet9S78 is a current live stream, and it works fine for me. youtube-dl starts downloading at the current position though, and not from the start, but that may be desired / unavoidable. Closing for now until a demo URL and precise description of the issue shows up.

@phihag commented on GitHub (Jan 29, 2013): Unfortunately, http://www.youtube.com/watch?v=LJHdBB3YX9k is not available on youtube's website, so I think we're out of luck there. http://www.youtube.com/watch?v=Me3iPet9S78 is a current live stream, and it works fine for me. youtube-dl starts downloading at the current position though, and not from the start, but that may be desired / unavoidable. Closing for now until a demo URL and precise description of the issue shows up.
Author
Owner

@DaveJMir commented on GitHub (Mar 17, 2013):

Duplicating what I posted in #108,

$ youtube-dl -v --console-title -c -t http://www.youtube.com/watch?v=oLzaaLev-yc
[debug] youtube-dl version 2013.02.25
[debug] Python version 2.7.3 - Darwin-12.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] Setting language
[youtube] oLzaaLev-yc: Downloading video webpage
[youtube] oLzaaLev-yc: Downloading video info webpage
[youtube] oLzaaLev-yc: Extracting video information
ERROR: no conn or url_encoded_fmt_stream_map information found in video info

In this instance, video_info['hlsvp'] is a URL to a index.m3u8 playlist which appear to contain what we're after..

Cheers,
DaveM

@DaveJMir commented on GitHub (Mar 17, 2013): Duplicating what I posted in #108, $ youtube-dl -v --console-title -c -t http://www.youtube.com/watch?v=oLzaaLev-yc [debug] youtube-dl version 2013.02.25 [debug] Python version 2.7.3 - Darwin-12.3.0-x86_64-i386-64bit [debug] Proxy map: {} [youtube] Setting language [youtube] oLzaaLev-yc: Downloading video webpage [youtube] oLzaaLev-yc: Downloading video info webpage [youtube] oLzaaLev-yc: Extracting video information ERROR: no conn or url_encoded_fmt_stream_map information found in video info In this instance, video_info['hlsvp'] is a URL to a index.m3u8 playlist which appear to contain what we're after.. Cheers, DaveM
Author
Owner

@robbiet480 commented on GitHub (Apr 13, 2013):

The Coachella Live channels are having the same issue. Seems YouTube is pointing to m3u8's. https://www.youtube.com/watch?v=exfMYyQ59F8 (channel 2)

@robbiet480 commented on GitHub (Apr 13, 2013): The Coachella Live channels are having the same issue. Seems YouTube is pointing to m3u8's. https://www.youtube.com/watch?v=exfMYyQ59F8 (channel 2)
Author
Owner

@hpirsiav commented on GitHub (Nov 7, 2013):

I still get the same error for this video:
http://www.youtube.com/watch?v=Y4ARBzok9aU

I would appreciate if one can help me download this.

On an older version of youtube-dl:

$ youtube-dl http://www.youtube.com/watch?v=Y4ARBzok9aU
[youtube] Setting language
[youtube] Y4ARBzok9aU: Downloading video webpage
[youtube] Y4ARBzok9aU: Downloading video info webpage
[youtube] Y4ARBzok9aU: Extracting video information
ERROR: no conn or url_encoded_fmt_stream_map information found in video info

On an updated version:

$ youtube-dl http://www.youtube.com/watch?v=Y4ARBzok9aU
[youtube] Setting language
[youtube] Y4ARBzok9aU: Downloading video webpage
[youtube] Y4ARBzok9aU: Downloading video info webpage
[youtube] Y4ARBzok9aU: Extracting video information
[youtube] Y4ARBzok9aU: Downloading formats manifest
[download] Destination: Diving - Men 10m Final - London 2012 Olympic Games-Y4ARBzok9aU.mp4
ffmpeg version 0.8.8-4:0.8.8-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Oct 22 2013 12:31:55 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[applehttp @ 0xfd17a0] Estimating duration from bitrate, this may be inaccurate
Input #0, applehttp, from 'http://www.youtube.com/api/manifest/hls_playlist/id/638011073a24f5a5/itag/96/source/youtube/ratebypass/yes/pfa/1/pbr/yes/hls_chunk_host/www.youtube.com/gir/yes/clen/4932922720/lmt/1347749901647320/dur/7044.840/maudio/1/playlist_type/DVR/cp/U0hXSFhNVl9ISkNON19QR1pEOmNoVDlwRzVJSm1n/pmbypass/yes/fexp/935610,916602,905609,919320,914030,916624,924616,907231/sver/3/upn/VBwZ6tv6tGs/ip/2001:470:8b2d:834:b10c:52d7:d3ba:ad2a/ipbits/48/expire/1383828330/sparams/ip,ipbits,expire,id,itag,source,ratebypass,pfa,pbr,hls_chunk_host,gir,clen,lmt,dur,maudio,playlist_type,cp,pmbypass/signature/9BDF4B8E64848B0015065B2F2C26AEFD312A6722.48B422CDC5A1D42D4874B917DF44E4D607CDBA01/key/dg_yt0/file/index.m3u8':
Duration: 01:47:27.00, start: 51725.592178, bitrate: N/A
Stream #0.0: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 50 tbc
Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
[buffer @ 0x1b29620] w:1920 h:1080 pixfmt:yuv420p
encoder 'aac' is experimental and might produce bad results.
Add '-strict experimental' if you want to use it.

ERROR: ffmpeg exited with code 1

@hpirsiav commented on GitHub (Nov 7, 2013): I still get the same error for this video: http://www.youtube.com/watch?v=Y4ARBzok9aU I would appreciate if one can help me download this. On an older version of youtube-dl: $ youtube-dl http://www.youtube.com/watch?v=Y4ARBzok9aU [youtube] Setting language [youtube] Y4ARBzok9aU: Downloading video webpage [youtube] Y4ARBzok9aU: Downloading video info webpage [youtube] Y4ARBzok9aU: Extracting video information ERROR: no conn or url_encoded_fmt_stream_map information found in video info On an updated version: $ youtube-dl http://www.youtube.com/watch?v=Y4ARBzok9aU [youtube] Setting language [youtube] Y4ARBzok9aU: Downloading video webpage [youtube] Y4ARBzok9aU: Downloading video info webpage [youtube] Y4ARBzok9aU: Extracting video information [youtube] Y4ARBzok9aU: Downloading formats manifest [download] Destination: Diving - Men 10m Final - London 2012 Olympic Games-Y4ARBzok9aU.mp4 ffmpeg version 0.8.8-4:0.8.8-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers built on Oct 22 2013 12:31:55 with gcc 4.6.3 **\* THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. [applehttp @ 0xfd17a0] Estimating duration from bitrate, this may be inaccurate Input #0, applehttp, from 'http://www.youtube.com/api/manifest/hls_playlist/id/638011073a24f5a5/itag/96/source/youtube/ratebypass/yes/pfa/1/pbr/yes/hls_chunk_host/www.youtube.com/gir/yes/clen/4932922720/lmt/1347749901647320/dur/7044.840/maudio/1/playlist_type/DVR/cp/U0hXSFhNVl9ISkNON19QR1pEOmNoVDlwRzVJSm1n/pmbypass/yes/fexp/935610,916602,905609,919320,914030,916624,924616,907231/sver/3/upn/VBwZ6tv6tGs/ip/2001:470:8b2d:834:b10c:52d7:d3ba:ad2a/ipbits/48/expire/1383828330/sparams/ip,ipbits,expire,id,itag,source,ratebypass,pfa,pbr,hls_chunk_host,gir,clen,lmt,dur,maudio,playlist_type,cp,pmbypass/signature/9BDF4B8E64848B0015065B2F2C26AEFD312A6722.48B422CDC5A1D42D4874B917DF44E4D607CDBA01/key/dg_yt0/file/index.m3u8': Duration: 01:47:27.00, start: 51725.592178, bitrate: N/A Stream #0.0: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 50 tbc Stream #0.1: Audio: aac, 48000 Hz, stereo, s16 [buffer @ 0x1b29620] w:1920 h:1080 pixfmt:yuv420p encoder 'aac' is experimental and might produce bad results. Add '-strict experimental' if you want to use it. ERROR: ffmpeg exited with code 1
Author
Owner

@jaimeMF commented on GitHub (Nov 7, 2013):

@hpirsiav It works fine for me, could you open a new issue with the output of ffmpeg -version and youtube-dl http://www.youtube.com/watch?v=Y4ARBzok9aU --verbose?

@jaimeMF commented on GitHub (Nov 7, 2013): @hpirsiav It works fine for me, could you open a new issue with the output of `ffmpeg -version` and `youtube-dl http://www.youtube.com/watch?v=Y4ARBzok9aU --verbose`?
Author
Owner

@hpirsiav commented on GitHub (Nov 7, 2013):

@jaimeMF Thanks for your help. I just opened a new issue with the outputs you requested:
https://github.com/rg3/youtube-dl/issues/1735

I also tried
http://keepvid.com/
to download it, but it didn't work either. It says:
"Error: Sorry, the URL you entered was invalid or there are no download links were found for this video."

@hpirsiav commented on GitHub (Nov 7, 2013): @jaimeMF Thanks for your help. I just opened a new issue with the outputs you requested: https://github.com/rg3/youtube-dl/issues/1735 I also tried http://keepvid.com/ to download it, but it didn't work either. It says: "Error: Sorry, the URL you entered was invalid or there are no download links were found for this video."
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#70
No description provided.