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.
Youtube-dl doesn't work for some videos [recorded streams] #1735
Comments
|
Can someone please help me download this video? Thanks, |
|
We need to add '-strict -2' to ffmpeg options.
|
|
Thanks, but how should I do that? Sorry, I am not familiar with it. |
|
Now we also use avconv for downloading m3u8 manifests, so systems that don't ship with recent versions of ffmpeg and use avconv will work. |
|
Sorry, I am confused as I don't still know how to download this video. Can you please help me more with a little more details? How can I open this issue again? I ran the following commands, but didn't work: sudo youtube-dl -U youtube-dl http://www.youtube.com/watch?v=Y4ARBzok9aU but got the following error: $ youtube-dl http://www.youtube.com/watch?v=Y4ARBzok9aU ERROR: ffmpeg exited with code 1 I also tried Thanks. |
|
The version with the fix is not yet available, but you can do the following in the meantime:
|
|
Thanks a lot :) This worked for me. |
|
This change has been integrated into youtube-dl 2013.11.11. You can now simply update and run youtube-dl. |
|
Thanks a lot. It works :) |
Hi,
Youtube-dl doesn't work for some videos like:
youtube-dl http://www.youtube.com/watch?v=Y4ARBzok9aU
I am copying the result as well as the version of my ffmpeg. I use Ubuntu 12.04, 64bit. I have recently updated my ubuntu by "sudo apt-get update"
I would appreciate if you can help me download this video.
Thanks.
$ ffmpeg -version
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.
ffmpeg 0.8.8-4:0.8.8-0ubuntu0.12.04.1
libavutil 51. 22. 1 / 51. 22. 1
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 1 / 53. 21. 1
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0
$ youtube-dl http://www.youtube.com/watch?v=Y4ARBzok9aU --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=Y4ARBzok9aU', '--verbose']
[debug] youtube-dl version 2013.11.06.1
[debug] Python version 2.7.3 - Linux-3.2.0-55-generic-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[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 @ 0x11ba7a0] 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/playlist_type/DVR/maudio/1/pmbypass/yes/cp/U0hXSFhRTl9ISkNON19QS1JIOlM2R1B3SXZtVzVX/sver/3/fexp/935612,916604,906946,904831,902561,916611,924616,907231/upn/Ro0PlWRIplA/ip/2001:470:8b2d:834:b10c:52d7:d3ba:ad2a/ipbits/48/expire/1383860730/sparams/ip,ipbits,expire,id,itag,source,ratebypass,pfa,pbr,hls_chunk_host,gir,clen,lmt,dur,playlist_type,maudio,pmbypass,cp/signature/94BC16D29AACA7F25F75ABC7092331DD83BC5F43.32F211EBC82FE9797052D6A52DCFCC872D6F35E4/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 @ 0x1d12620] 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
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/bin/youtube-dl/main.py", line 18, in
youtube_dl.main()
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 766, in main
_real_main(argv)
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 719, in _real_main
retcode = ydl.download(all_urls)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 715, in download
videos = self.extract_info(url)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 363, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 444, in process_ie_result
for r in ie_result['entries']
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 388, in process_ie_result
return self.process_video_result(ie_result)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 477, in process_video_result
self.process_info(info_dict)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 688, in process_info
success = self.fd._do_download(filename, info_dict)
File "/usr/bin/youtube-dl/youtube_dl/FileDownloader.py", line 429, in _do_download
return self._download_m3u8_with_ffmpeg(filename, url)
File "/usr/bin/youtube-dl/youtube_dl/FileDownloader.py", line 398, in _download_m3u8_with_ffmpeg
self.report_error(u'ffmpeg exited with code %d' % retval)
File "/usr/bin/youtube-dl/youtube_dl/FileDownloader.py", line 172, in report_error
self.ydl.report_error(_args, *_kargs)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 235, in report_error
self.trouble(error_message, tb)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 202, in trouble
tb_data = traceback.format_list(traceback.extract_stack())