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

What am I doing wrong: Unable to get 480p from YouTube #9865

Closed
4 tasks
keybounce opened this issue Jun 23, 2016 · 15 comments
Closed
4 tasks

What am I doing wrong: Unable to get 480p from YouTube #9865

keybounce opened this issue Jun 23, 2016 · 15 comments

Comments

@keybounce
Copy link

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.06.23.1. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [ x] I've verified and I assure that I'm running youtube-dl 2016.06.23.1

Before submitting an issue make sure you have:

  • [x ] At least skimmed through README and most notably FAQ and BUGS sections
  • [x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • [x ] Question
  • Other

I'm unable to download 480p videos from youtube.

I don't want to spend the disk space / bandwidth for 720p's, and 360p's lack sufficient detail in many cases.

keybounceMBP:Zisteau michael$ cat ~/.config/youtube-dl/config 
--no-mtime
-o %(title)s.%(ext)s
-f "best[height<=480]/bestvideo[height<=480]+bestaudio"
--write-sub
--embed-subs
--recode-video mp4
keybounceMBP:Zisteau michael$ 

That should be straight forward. Best that is 480, otherwise, best video that is 480, combined with best audio. Subtitles if there. Make it mp4 if it was flv.

keybounceMBP:Zisteau michael$ youtube-dl -F https://www.youtube.com/watch?v=L4QIjGKOwdg
[youtube] L4QIjGKOwdg: Downloading webpage
[youtube] L4QIjGKOwdg: Downloading video info webpage
[youtube] L4QIjGKOwdg: Extracting video information
WARNING: video doesn't have subtitles
[youtube] L4QIjGKOwdg: Downloading MPD manifest
[info] Available formats for L4QIjGKOwdg:
format code  extension  resolution note
249          webm       audio only DASH audio   55k , opus @ 50k (48000Hz), 12.20MiB
250          webm       audio only DASH audio   75k , opus @ 70k (48000Hz), 14.98MiB
171          webm       audio only DASH audio  110k , vorbis@128k (44100Hz), 24.73MiB
140          m4a        audio only DASH audio  129k , m4a_dash container, mp4a.40.2@128k (44100Hz), 30.73MiB
251          webm       audio only DASH audio  147k , opus @160k (48000Hz), 27.60MiB
160          mp4        256x144    DASH video  118k , avc1.4d400c, 30fps, video only, 26.60MiB
278          webm       256x144    DASH video  129k , webm container, vp9, 30fps, video only, 25.24MiB
133          mp4        426x240    DASH video  258k , avc1.4d4015, 30fps, video only, 59.50MiB
242          webm       426x240    DASH video  291k , vp9, 30fps, video only, 54.43MiB
243          webm       640x360    DASH video  535k , vp9, 30fps, video only, 101.29MiB
134          mp4        640x360    DASH video  653k , avc1.4d401e, 30fps, video only, 121.76MiB
244          webm       854x480    DASH video  957k , vp9, 30fps, video only, 179.94MiB
135          mp4        854x480    DASH video 1191k , avc1.4d401f, 30fps, video only, 232.57MiB
247          webm       1280x720   720p 1888k , vp9, 30fps, video only, 348.94MiB
136          mp4        1280x720   720p 2380k , avc1.4d401f, 30fps, video only, 433.36MiB
302          webm       1280x720   DASH video 3220k , vp9, 60fps, video only, 572.16MiB
248          webm       1920x1080  1080p 3340k , vp9, 30fps, video only, 618.66MiB
298          mp4        1280x720   DASH video 3548k , avc1.4d4020, 60fps, video only, 708.06MiB
137          mp4        1920x1080  1080p 4435k , avc1.640028, 30fps, video only, 767.41MiB
303          webm       1920x1080  DASH video 5395k , vp9, 60fps, video only, 994.70MiB
299          mp4        1920x1080  DASH video 5921k , avc1.64002a, 60fps, video only, 1.23GiB
17           3gp        176x144    small , mp4v.20.3,  mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3,  mp4a.40.2
43           webm       640x360    medium , vp8.0,  vorbis@128k
18           mp4        640x360    medium , avc1.42001E,  mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F,  mp4a.40.2@192k (best)
keybounceMBP:Zisteau michael$ 

So ... Yea, this has an 854x480 version. DASH mp4 format. Video only. Plus audio. So what I want is there, right?

keybounceMBP:Zisteau michael$ youtube-dl -v https://www.youtube.com/watch?v=L4QIjGKOwdg
[debug] System config: []
[debug] User config: [u'--no-mtime', u'-o', u'%(title)s.%(ext)s', u'-f', u'best[height<=480]/bestvideo[height<=480]+bestaudio', u'--write-sub', u'--embed-subs', u'--recode-video', u'mp4']
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=L4QIjGKOwdg']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.06.23.1
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-74965-g26a0cd1-tessus, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] L4QIjGKOwdg: Downloading webpage
[youtube] L4QIjGKOwdg: Downloading video info webpage
[youtube] L4QIjGKOwdg: Extracting video information
WARNING: video doesn't have subtitles
[youtube] L4QIjGKOwdg: Downloading MPD manifest
[debug] Invoking downloader on u'https://r13---sn-a5m7lne6.googlevideo.com/videoplayback?ratebypass=yes&signature=D677CDF927B57E842AF23945A9DF91914B211A8A.53341825213D071A7611319D18BACB43A5627EBA&fexp=9414904%2C9416126%2C9416891%2C9419451%2C9422596%2C9426150%2C9428398%2C9431012%2C9432564%2C9433096%2C9433380%2C9433946%2C9434183%2C9435408%2C9435526%2C9435734%2C9435876%2C9435988%2C9436008%2C9436617%2C9437066%2C9437403%2C9437553%2C9437674%2C9437742%2C9438140%2C9438661%2C9439551%2C9439653%2C9439848%2C9439969&itag=18&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt6&nh=IgpwcjAyLmxheDE2KgkxMjcuMC4wLjE&requiressl=yes&source=youtube&pl=52&mime=video%2Fmp4&lmt=1466504212109756&sver=3&expire=1466676258&upn=7pMBkssagsM&initcwndbps=360000&id=o-AKwHucSOVhGUTuIHO--6SgC8kh-b9A1YV-iGYk77Ci3Q&mn=sn-a5m7lne6&mm=31&ipbits=0&ms=au&dur=2028.704&mv=m&mt=1466654539&ip=2602%3A302%3Ad19e%3A6430%3Af8b5%3Ab945%3A6b76%3A2d9b'
[download] Destination: Captive Minecraft IV - Rules That Matter #5 - Bottom.mp4
[download]   1.9% of 171.28MiB at  1.23MiB/s ETA 02:16^C
ERROR: Interrupted by user
keybounceMBP:Zisteau michael$ 

So what am I doing wrong?

@jaimeMF
Copy link
Collaborator

jaimeMF commented Jun 23, 2016

It's downloading the format 18 instead, if you want the DASH format you must use -f 'bestvideo[height<=480]+bestaudio/best[height<=480]'.

@jaimeMF jaimeMF closed this as completed Jun 23, 2016
@keybounce
Copy link
Author

So the order matters? ... Just switch the order? Ok.

@jaimeMF
Copy link
Collaborator

jaimeMF commented Jun 23, 2016

Yes, if the first selector is available it chooses it, otherwise it fallbacks to the second. Although we may add something like best[height<=480]|bestvideo[height<=480]+bestaudio that would choose the best of the two formats (see #5242).

@keybounce
Copy link
Author

Alright, I'm running into an issue with this. Again, what am I doing wrong?

keybounceMBP:Zisteau michael$ youtube-dl --playlist-start 7 --mark-watched  -v https://www.youtube.com/playlist?list=PLVPJ1jbg0CaEL6UJ4QOB_yV6Hn8OomayF
[debug] System config: []
[debug] User config: [u'--no-mtime', u'-o', u'%(title)s.%(ext)s', u'-f', u'bestvideo[height<=480]+bestaudio/best[height<=480]', u'--write-sub', u'--embed-subs', u'--recode-video', u'mp4']
[debug] Command-line args: [u'--playlist-start', u'7', u'--mark-watched', u'-v', u'https://www.youtube.com/playlist?list=PLVPJ1jbg0CaEL6UJ4QOB_yV6Hn8OomayF']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.06.26
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-74965-g26a0cd1-tessus, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:playlist] PLVPJ1jbg0CaEL6UJ4QOB_yV6Hn8OomayF: Downloading webpage
[download] Downloading playlist: Captive Minecraft IV: Rules That Matter
[youtube:playlist] playlist Captive Minecraft IV: Rules That Matter: Downloading 2 videos
[download] Downloading video 1 of 2
[youtube] hnWiLfYwUgQ: Downloading webpage
[youtube] hnWiLfYwUgQ: Downloading video info webpage
[youtube] hnWiLfYwUgQ: Extracting video information
WARNING: video doesn't have subtitles
[youtube] hnWiLfYwUgQ: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on u'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?id=8675a22df6305204&itag=135&source=youtube&requiressl=yes&nh=IgpwcjAxLmxheDE2KgkxMjcuMC4wLjE&ms=au&mv=m&pl=52&mm=31&mn=sn-a5mekn7d&initcwndbps=538750&ratebypass=yes&mime=video/mp4&gir=yes&clen=196626252&lmt=1466942902458288&dur=1718.917&fexp=9405349,9405966,9413142,9416126,9416891,9419452,9422596,9422843,9428398,9429260,9431012,9433096,9433223,9433630,9433653,9433946,9435526,9435876,9436086,9437066,9437091,9437553,9437683,9437742,9438735,9438890,9439581,9439652,9439889,9440047,9440150&signature=1E76179CC3007F508BC461550E1FF795CCF46D59.6E77777765A77E5453F77DA177212F758346F1EB&mt=1467063186&upn=P-ZmpTYcxxI&sver=3&key=dg_yt0&ip=2602:302:d19e:6430:b5d3:c41d:279d:5032&ipbits=0&expire=1467085074&sparams=ip,ipbits,expire,id,itag,source,requiressl,nh,ms,mv,pl,mm,mn,initcwndbps,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Captive Minecraft IV - Rules That Matter #7 - Blaze It.f135.mp4
[download]   0.3% of 187.52MiB at  1.39MiB/s ETA 02:14^C
ERROR: Interrupted by user
keybounceMBP:Zisteau michael$ 

Notice that it says,
WARNING: Requested formats are incompatible for merge and will be merged into mkv.

What did I do wrong here? How is an audio and video not compatible?

@dstftw
Copy link
Collaborator

dstftw commented Jun 27, 2016

It's not an issue. It tells you that mp4 video and webm audio can only be merged into mkv and not into the original container.

@keybounce
Copy link
Author

Ahh. Perhaps a less worrysome warning message then? I saw it wasn't turning into an mp4 and figured I had an error in my arguments

@dstftw
Copy link
Collaborator

dstftw commented Jun 27, 2016

Like what? It clearly states what happens and what will happen next.

@keybounce
Copy link
Author

How about
WARNING: Requested formats are incompatible for merge and will be merged into mkv (this is normal).

For that matter, why is it not possible to combine the video and audio into an mp4? (I really don't know -- what makes webm audio different? I thought webm was a video format that browsers supported natively)

@keybounce
Copy link
Author

For that matter, is there a way to fetch the DASH 480p, and audio, from youtube, as an mp4, or does it have to turn into a mkv? What is the difference between mp4 and mk4? (I'm sure that VLC can handle either :-)

@keybounce
Copy link
Author

keybounce commented Jun 27, 2016

Ahh foo. It ... failed?

[download] Resuming download at byte 523264
[download] Destination: Captive Minecraft IV - Rules That Matter #7 - Blaze It.f135.mp4
[download] 100% of 187.52MiB in 01:50
[debug] Invoking downloader on u'https://r10---sn-a5mekm76.googlevideo.com/videoplayback?id=8675a22df6305204&itag=251&source=youtube&requiressl=yes&pl=19&ms=au&nh=EAI&mn=sn-a5mekm76&mm=31&mv=m&initcwndbps=1057500&ratebypass=yes&mime=audio/webm&gir=yes&clen=24390757&lmt=1466772612833556&dur=1718.921&signature=666B5F14F0CA48F8D31CD25DFDF0FA354FE1DCE1.215BE6779685F0D8EA95CA527B79DE0E16413E77&upn=4A7_xcn5whI&mt=1467063692&key=dg_yt0&sver=3&fexp=9406994,9413138,9416126,9416891,9419452,9422596,9424092,9428398,9428567,9431012,9432182,9432366,9433096,9433221,9433783,9433946,9435526,9435876,9435921,9435957,9436346,9437066,9437087,9437260,9437553,9437602,9437742,9437785,9438337,9439581,9439652,9439880,9440047&ip=45.25.230.67&ipbits=0&expire=1467085664&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,ms,nh,mn,mm,mv,initcwndbps,ratebypass,mime,gir,clen,lmt,dur'
ERROR: unable to download video data: [Errno 60] Operation timed out
Traceback (most recent call last):
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1642, in process_info
    partial_success = dl(fname, new_info)
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1590, in dl
    return fd.download(name, info)
  File "/Users/michael/bin/youtube-dl/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/Users/michael/bin/youtube-dl/youtube_dl/downloader/http.py", line 58, in real_download
    data = self.ydl.urlopen(request)
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1950, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/Users/michael/bin/youtube-dl/youtube_dl/utils.py", line 994, in https_open
    req, **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1187, in do_open
    r = h.getresponse(buffering=True)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1045, in getresponse
    response.begin()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 409, in begin
    version, status, reason = self._read_status()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 365, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 476, in readline
    data = self._sock.recv(self._rbufsize)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 241, in recv
    return self.read(buflen)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 160, in read
    return self._sslobj.read(len)
error: [Errno 60] Operation timed out

keybounceMBP:Zisteau michael$ 

It resumed, got to 100%, and then aborted with a timeout error.

keybounceMBP:Zisteau michael$ ls -lt | head
total 11112300
192020 -rw-r--r--  1 michael  staff  196626252 Jun 27 14:49 Captive Minecraft IV - Rules That Matter #7 - Blaze It.f135.mp4
175392 -rw-r--r--  1 michael  staff  179600702 Jun 22 21:08 Captive Minecraft IV - Rules That Matter #5 - Bottom.mp4
139336 -rw-r--r--  1 michael  staff  142676170 Jun 22 20:53 Captive Minecraft IV - Rules That Matter #6 - Dark Portal.mp4
...

It downloaded the f135.mp4, which I'm assuming is the 480p DASH video, but there's no final file.

And, not only is there no audio on playback, but attempting to seek while playing back in VLC will not actually skip forward. The "slider knob" jumps back to where I was. (So, trying to skip to the 15 minute mark brings me back to the first few seconds).

@dstftw
Copy link
Collaborator

dstftw commented Jun 27, 2016

If it's normal then there should not be any message at all.

why is it not possible to combine the video and audio into an mp4?

Because it's technically impossible. Both mp4/webm are media containers that supports only particular codecs. Google.

a way to fetch the DASH 480p, and audio, from youtube, as an mp4

See format selection in FAQ.

@keybounce
Copy link
Author

I've read that section multiple times. I thought I understood it. So far, I've found that the order matters, and I had to re-arrange things, and I still don't understand what I'm doing wrong.

Maybe a better question then: How can I ask for the best audio format that can be put into the video that I'm fetching -- so if I'm fetching an mp4, the best audio that can go into the mp4?

@dstftw
Copy link
Collaborator

dstftw commented Jun 27, 2016

I've no idea what you have read multiple times and how but the very first example does exactly that: https://github.com/rg3/youtube-dl#format-selection-examples.

@keybounce
Copy link
Author

This?

$ youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'

...
So, I'd want something like
$ youtube-dl -f '
bestvideo[ext=mp4][height=480]+bestaudio[ext=m4a]/
bestvideo[height<=480]+bestaudio/
best[height<=480]/
worst'

to say "First attempt a 480p mp4 video; next, take the best of any quality up to 480p; otherwise, take the best single-file format up to 480p; and finally, if there's nothing down at 480p, take the smallest available one". Is that correct?

... Up until now, I couldn't imagine why you'd ever want "worst", but now I'm seeing that I need to ask for it in the "nothing small over here" hosting case.

@keybounce
Copy link
Author

keybounce commented Jun 27, 2016

Well, that almost works.

It now downloads the video, and the audio, and merges them. The ffmpeg to merge them returns almost immediately.

BUT: It will download the video, then fail to download the audio (with the timeout message mentioned earlier). A second invocation will download the audio, merge them together, then download the next video on the playlist, and then fail when the audio of that next video times out.

Details:

keybounceMBP:Zisteau michael$ youtube-dl --playlist-start 7 --mark-watched  -v https://www.youtube.com/playlist?list=PLVPJ1jbg0CaEL6UJ4QOB_yV6Hn8OomayF
[debug] System config: []
[debug] User config: [u'--no-mtime', u'-o', u'%(title)s.%(ext)s', u'-f', u'bestvideo[ext=mp4][height=480]+bestaudio[ext=m4a]/bestvideo[height<=480]+bestaudio/best[height<=480]/worst', u'--write-sub', u'--embed-subs', u'--recode-video', u'mp4']
[debug] Command-line args: [u'--playlist-start', u'7', u'--mark-watched', u'-v', u'https://www.youtube.com/playlist?list=PLVPJ1jbg0CaEL6UJ4QOB_yV6Hn8OomayF']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.06.26
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-74965-g26a0cd1-tessus, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:playlist] PLVPJ1jbg0CaEL6UJ4QOB_yV6Hn8OomayF: Downloading webpage
[download] Downloading playlist: Captive Minecraft IV: Rules That Matter
[youtube:playlist] playlist Captive Minecraft IV: Rules That Matter: Downloading 2 videos
[download] Downloading video 1 of 2
[youtube] hnWiLfYwUgQ: Downloading webpage
[youtube] hnWiLfYwUgQ: Downloading video info webpage
[youtube] hnWiLfYwUgQ: Extracting video information
WARNING: video doesn't have subtitles
[youtube] hnWiLfYwUgQ: Downloading MPD manifest
[debug] Invoking downloader on u'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?id=8675a22df6305204&itag=135&source=youtube&requiressl=yes&initcwndbps=545000&mm=31&mn=sn-a5mekn7d&nh=IgpwcjAzLmxheDE2KgkxMjcuMC4wLjE&pl=52&mv=m&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=196626252&lmt=1466942902458288&dur=1718.917&key=dg_yt0&signature=87B50677F3F2AB14FDB2D4A4398555CD5B939F8D.3F5559FC3DC7A432153070E0A39695BDF1FA92C7&sver=3&upn=PWXyf4UGylc&mt=1467066620&fexp=9405185,9416126,9416891,9418405,9419451,9422596,9428398,9431012,9431418,9431675,9432183,9433096,9433380,9433425,9433946,9434750,9434834,9435526,9435876,9435917,9437032,9437066,9437553,9437742,9437785,9438805,9439327,9439652,9439824,9439944&ip=2602:302:d19e:6430:b5d3:c41d:279d:5032&ipbits=0&expire=1467088539&sparams=ip,ipbits,expire,id,itag,source,requiressl,initcwndbps,mm,mn,nh,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur'
[download] Captive Minecraft IV - Rules That Matter #7 - Blaze It.f135.mp4 has already been downloaded
[download] 100% of 187.52MiB
[debug] Invoking downloader on u'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?id=8675a22df6305204&itag=140&source=youtube&requiressl=yes&initcwndbps=545000&mm=31&mn=sn-a5mekn7d&nh=IgpwcjAzLmxheDE2KgkxMjcuMC4wLjE&pl=52&mv=m&ms=au&ratebypass=yes&mime=audio/mp4&gir=yes&clen=27302367&lmt=1466943476559739&dur=1718.973&key=dg_yt0&signature=312F7B6299937397BDCB2266EC486A23945597D6.27E30C879BD20A04B176BCA10AE093F1FC45C83C&sver=3&upn=PWXyf4UGylc&mt=1467066620&fexp=9405185,9416126,9416891,9418405,9419451,9422596,9428398,9431012,9431418,9431675,9432183,9433096,9433380,9433425,9433946,9434750,9434834,9435526,9435876,9435917,9437032,9437066,9437553,9437742,9437785,9438805,9439327,9439652,9439824,9439944&ip=2602:302:d19e:6430:b5d3:c41d:279d:5032&ipbits=0&expire=1467088539&sparams=ip,ipbits,expire,id,itag,source,requiressl,initcwndbps,mm,mn,nh,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Captive Minecraft IV - Rules That Matter #7 - Blaze It.f140.m4a
[download] 100% of 26.04MiB in 00:16
[ffmpeg] Merging formats into "Captive Minecraft IV - Rules That Matter #7 - Blaze It.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:Captive Minecraft IV - Rules That Matter #7 - Blaze It.f135.mp4' -i 'file:Captive Minecraft IV - Rules That Matter #7 - Blaze It.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:Captive Minecraft IV - Rules That Matter #7 - Blaze It.temp.mp4'
Deleting original file Captive Minecraft IV - Rules That Matter #7 - Blaze It.f135.mp4 (pass -k to keep)
Deleting original file Captive Minecraft IV - Rules That Matter #7 - Blaze It.f140.m4a (pass -k to keep)
[ffmpeg] Not converting video file Captive Minecraft IV - Rules That Matter #7 - Blaze It.mp4 - already is in target format mp4
[ffmpeg] There aren't any subtitles to embed
[download] Downloading video 2 of 2
[youtube] OLenYDmhlVg: Downloading webpage
[youtube] OLenYDmhlVg: Downloading video info webpage
[youtube] OLenYDmhlVg: Extracting video information
WARNING: video doesn't have subtitles
[youtube] OLenYDmhlVg: Downloading MPD manifest
[debug] Invoking downloader on u'https://r13---sn-a5mekm7z.googlevideo.com/videoplayback?id=38b7a76039a19558&itag=135&source=youtube&requiressl=yes&ms=au&pl=19&nh=EAI&initcwndbps=968750&mm=31&mv=m&mn=sn-a5mekm7z&ratebypass=yes&mime=video/mp4&gir=yes&clen=196060952&lmt=1466970975247943&dur=1603.735&key=dg_yt0&signature=4EA70BDB286680EB5B5F88D3F7F36D7D08A344C5.8D9AD5BEF085962913A7B04A148B55E6060FCEA2&upn=PjlANaxSOYc&mt=1467066620&sver=3&fexp=9405185,9416126,9416891,9418405,9419451,9422596,9428398,9431012,9431418,9431675,9432183,9433096,9433380,9433425,9433946,9434750,9434834,9435526,9435876,9435917,9437032,9437066,9437553,9437742,9437785,9438805,9439327,9439652,9439824,9439944&ip=45.25.230.67&ipbits=0&expire=1467088561&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,pl,nh,initcwndbps,mm,mv,mn,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Captive Minecraft IV - Rules That Matter #8 - Nether Top.f135.mp4
[download] 100% of 186.98MiB in 01:45
[debug] Invoking downloader on u'https://r13---sn-a5mekm7z.googlevideo.com/videoplayback?id=38b7a76039a19558&itag=140&source=youtube&requiressl=yes&ms=au&pl=19&nh=EAI&initcwndbps=968750&mm=31&mv=m&mn=sn-a5mekm7z&ratebypass=yes&mime=audio/mp4&gir=yes&clen=25473362&lmt=1466970964482848&dur=1603.802&key=dg_yt0&signature=5E248E1BF82577DF12CB69415F265C09CEB3A94A.18BD8597F202FAE5B0E7EA47E33806A6BD568344&upn=PjlANaxSOYc&mt=1467066620&sver=3&fexp=9405185,9416126,9416891,9418405,9419451,9422596,9428398,9431012,9431418,9431675,9432183,9433096,9433380,9433425,9433946,9434750,9434834,9435526,9435876,9435917,9437032,9437066,9437553,9437742,9437785,9438805,9439327,9439652,9439824,9439944&ip=45.25.230.67&ipbits=0&expire=1467088561&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,pl,nh,initcwndbps,mm,mv,mn,ratebypass,mime,gir,clen,lmt,dur'
ERROR: unable to download video data: [Errno 60] Operation timed out
Traceback (most recent call last):
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1642, in process_info
    partial_success = dl(fname, new_info)
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1590, in dl
    return fd.download(name, info)
  File "/Users/michael/bin/youtube-dl/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/Users/michael/bin/youtube-dl/youtube_dl/downloader/http.py", line 58, in real_download
    data = self.ydl.urlopen(request)
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1950, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/Users/michael/bin/youtube-dl/youtube_dl/utils.py", line 994, in https_open
    req, **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1187, in do_open
    r = h.getresponse(buffering=True)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1045, in getresponse
    response.begin()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 409, in begin
    version, status, reason = self._read_status()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 365, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 476, in readline
    data = self._sock.recv(self._rbufsize)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 241, in recv
    return self.read(buflen)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 160, in read
    return self._sslobj.read(len)
error: [Errno 60] Operation timed out

keybounceMBP:Zisteau michael$ youtube-dl --playlist-start 8 --mark-watched  -v https://www.youtube.com/playlist?list=PLVPJ1jbg0CaEL6UJ4QOB_yV6Hn8OomayF
[debug] System config: []
[debug] User config: [u'--no-mtime', u'-o', u'%(title)s.%(ext)s', u'-f', u'bestvideo[ext=mp4][height=480]+bestaudio[ext=m4a]/bestvideo[height<=480]+bestaudio/best[height<=480]/worst', u'--write-sub', u'--embed-subs', u'--recode-video', u'mp4']
[debug] Command-line args: [u'--playlist-start', u'8', u'--mark-watched', u'-v', u'https://www.youtube.com/playlist?list=PLVPJ1jbg0CaEL6UJ4QOB_yV6Hn8OomayF']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.06.26
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-74965-g26a0cd1-tessus, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:playlist] PLVPJ1jbg0CaEL6UJ4QOB_yV6Hn8OomayF: Downloading webpage
[download] Downloading playlist: Captive Minecraft IV: Rules That Matter
[youtube:playlist] playlist Captive Minecraft IV: Rules That Matter: Downloading 1 videos
[download] Downloading video 1 of 1
[youtube] OLenYDmhlVg: Downloading webpage
[youtube] OLenYDmhlVg: Downloading video info webpage
[youtube] OLenYDmhlVg: Extracting video information
WARNING: video doesn't have subtitles
[youtube] OLenYDmhlVg: Downloading MPD manifest
[debug] Invoking downloader on u'https://r6---sn-a5mekn7y.googlevideo.com/videoplayback?id=38b7a76039a19558&itag=135&source=youtube&requiressl=yes&mm=31&mn=sn-a5mekn7y&nh=IgpwcjAyLmxheDE2KgkxMjcuMC4wLjE&pl=52&ms=au&initcwndbps=528750&mv=m&ratebypass=yes&mime=video/mp4&gir=yes&clen=196060952&lmt=1466970975247943&dur=1603.735&upn=BavyjSXgolI&signature=6CFF6B1BB2687C479041F8120AD51086760F9A98.016E27091ACBF46E54F2CF2E58C979318A07708C&key=dg_yt0&sver=3&fexp=9408213,9416126,9416891,9419451,9422596,9428398,9431012,9432058,9433096,9433221,9433946,9435408,9435526,9435876,9436053,9436835,9436883,9437066,9437553,9437742,9437982,9438257,9438338,9438904,9438971,9439327,9439385,9439551,9439652,9439744,9439851&mt=1467066896&ip=2602:302:d19e:6430:b5d3:c41d:279d:5032&ipbits=0&expire=1467088719&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,nh,pl,ms,initcwndbps,mv,ratebypass,mime,gir,clen,lmt,dur'
[download] Captive Minecraft IV - Rules That Matter #8 - Nether Top.f135.mp4 has already been downloaded
[download] 100% of 186.98MiB
[debug] Invoking downloader on u'https://r6---sn-a5mekn7y.googlevideo.com/videoplayback?id=38b7a76039a19558&itag=140&source=youtube&requiressl=yes&mm=31&mn=sn-a5mekn7y&nh=IgpwcjAyLmxheDE2KgkxMjcuMC4wLjE&pl=52&ms=au&initcwndbps=528750&mv=m&ratebypass=yes&mime=audio/mp4&gir=yes&clen=25473362&lmt=1466970964482848&dur=1603.802&upn=BavyjSXgolI&signature=485077287C0E032260043AC9B561659F3DCD21FE.57C0A5DFF77944914336C3A9430BC2201773D35F&key=dg_yt0&sver=3&fexp=9408213,9416126,9416891,9419451,9422596,9428398,9431012,9432058,9433096,9433221,9433946,9435408,9435526,9435876,9436053,9436835,9436883,9437066,9437553,9437742,9437982,9438257,9438338,9438904,9438971,9439327,9439385,9439551,9439652,9439744,9439851&mt=1467066896&ip=2602:302:d19e:6430:b5d3:c41d:279d:5032&ipbits=0&expire=1467088719&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,nh,pl,ms,initcwndbps,mv,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Captive Minecraft IV - Rules That Matter #8 - Nether Top.f140.m4a
[download] 100% of 24.29MiB in 00:14
[ffmpeg] Merging formats into "Captive Minecraft IV - Rules That Matter #8 - Nether Top.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:Captive Minecraft IV - Rules That Matter #8 - Nether Top.f135.mp4' -i 'file:Captive Minecraft IV - Rules That Matter #8 - Nether Top.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:Captive Minecraft IV - Rules That Matter #8 - Nether Top.temp.mp4'
Deleting original file Captive Minecraft IV - Rules That Matter #8 - Nether Top.f135.mp4 (pass -k to keep)
Deleting original file Captive Minecraft IV - Rules That Matter #8 - Nether Top.f140.m4a (pass -k to keep)
[ffmpeg] Not converting video file Captive Minecraft IV - Rules That Matter #8 - Nether Top.mp4 - already is in target format mp4
[ffmpeg] There aren't any subtitles to embed
[download] Finished downloading playlist: Captive Minecraft IV: Rules That Matter
keybounceMBP:Zisteau michael$ 

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

3 participants