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

YouTube Live #105

Closed
joshtriplett opened this issue Apr 12, 2011 · 14 comments
Closed

YouTube Live #105

joshtriplett opened this issue Apr 12, 2011 · 14 comments

Comments

@joshtriplett
Copy link

@joshtriplett joshtriplett commented 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.

@phihag
Copy link
Contributor

@phihag phihag commented Jul 31, 2011

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

@rg3
Copy link
Collaborator

@rg3 rg3 commented Sep 10, 2011

Will close here then.

@rg3 rg3 closed this Sep 10, 2011
@joshtriplett
Copy link
Author

@joshtriplett joshtriplett commented 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?

@phihag
Copy link
Contributor

@phihag phihag commented 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
Copy link
Contributor

@phihag phihag commented Sep 13, 2011

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

@joshtriplett
Copy link
Author

@joshtriplett joshtriplett commented Sep 13, 2011

Awesome, thank you!

@mkanet
Copy link

@mkanet mkanet commented 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.

@scottstensland
Copy link

@scottstensland scottstensland commented 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

@FiloSottile FiloSottile reopened this Jan 29, 2013
@phihag
Copy link
Contributor

@phihag phihag commented 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 phihag closed this Jan 29, 2013
@cheriff
Copy link

@cheriff cheriff commented Mar 18, 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

@robbiet480
Copy link

@robbiet480 robbiet480 commented 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)

@hpirsiav
Copy link

@hpirsiav hpirsiav commented 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

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented 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?

@hpirsiav
Copy link

@hpirsiav hpirsiav commented Nov 7, 2013

@jaimeMF Thanks for your help. I just opened a new issue with the outputs you requested:
#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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
10 participants
You can’t perform that action at this time.