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

unable to download a videolectures.net video #4968

Closed
notuntoward opened this issue Feb 17, 2015 · 6 comments
Closed

unable to download a videolectures.net video #4968

notuntoward opened this issue Feb 17, 2015 · 6 comments

Comments

@notuntoward
Copy link

@notuntoward notuntoward commented Feb 17, 2015

I'm unable to download the lecture from this URL: http://videolectures.net/nips09_hinton_dlmi/
Using the trial version of getflv, I'm able to download the 1st few minutes, so apparently, there's nothing prohibiting a download, or at least it's possible to get around it.

Using the youtube-dl windows executable and cygwin (which does work for other videolectures.net urls), here's the error:

$ youtube-dl --verbose http://videolectures.net/nips09_hinton_dlmi/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://videolectures.net/nips09_hinton_dlmi/']
[debug] Encodings: locale cp1252, fs mbcs, out None, pref cp1252
[debug] youtube-dl version 2015.02.16.1
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {'http': '10.13.13.5:3128', u'https': '10.13.13.5:3128'}
[videolectures.net] nips09_hinton_dlmi: Downloading XML
[debug] Invoking downloader on 'http://hydro.ijs.si/v007/e7/47onolszaysxm4gtj43qi7jfsmtfk5ib.flv'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 1320, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1295, in dl
File "youtube_dl\downloader\common.pyo", line 316, in download
File "youtube_dl\downloader\http.pyo", line 66, in real_download
File "youtube_dl\YoutubeDL.pyo", line 1611, in urlopen
File "urllib2.pyo", line 410, in open
File "urllib2.pyo", line 523, in http_response
File "urllib2.pyo", line 448, in error
File "urllib2.pyo", line 382, in _call_chain
File "urllib2.pyo", line 531, in http_error_default
HTTPError: HTTP Error 403: Forbidden
$ youtube-dl --verbose http://videolectures.net/nips09_hinton_dlmi/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://videolectures.net/nips09_hinton_dlmi/']
[debug] Encodings: locale cp1252, fs mbcs, out None, pref cp1252
[debug] youtube-dl version 2015.02.16.1
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {'http': '10.13.13.5:3128', u'https': '10.13.13.5:3128'}
[videolectures.net] nips09_hinton_dlmi: Downloading XML
[debug] Invoking downloader on 'http://hydro.ijs.si/v007/e7/47onolszaysxm4gtj43qi7jfsmtfk5ib.flv'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 1320, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1295, in dl
File "youtube_dl\downloader\common.pyo", line 316, in download
File "youtube_dl\downloader\http.pyo", line 66, in real_download
File "youtube_dl\YoutubeDL.pyo", line 1611, in urlopen
File "urllib2.pyo", line 410, in open
File "urllib2.pyo", line 523, in http_response
File "urllib2.pyo", line 448, in error
File "urllib2.pyo", line 382, in _call_chain
File "urllib2.pyo", line 531, in http_error_default
HTTPError: HTTP Error 403: Forbidden

@dstftw dstftw closed this in 0d93378 Feb 17, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 17, 2015

Thanks for the report, this will be fixed in the next version.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 17, 2015

Fixed in youtube-dl 2015.02.17.2. See our FAQ if you need help updating.

@notuntoward
Copy link
Author

@notuntoward notuntoward commented Feb 17, 2015

Thanks, this does now download something, but there's a problem with the result: The download appears to be made of chunks which are spliced together with overlap instead of being butted together. So, for example, at time=01:00 minutes, the video may jump back to five seconds to time=0:55, then play until time=01:30, and then jump back to time 01:20 (actually, the pattern is not that regular. I'm not sure what it is).

At least, the output with the verbose flag does show that the video is being downloaded in chunks:

youtube-dl --verbose http://videolectures.net/nips09_hinton_dlmi

[rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 24 bytes [rtmpdump] DEBUG: (object begin) [rtmpdump] DEBUG: (object end) [rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 44 bytes [rtmpdump] DEBUG: (object begin) [rtmpdump] DEBUG: (object begin) [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: (object end) [rtmpdump] DEBUG: (object end) [rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 224 bytes [rtmpdump] DEBUG: (object begin) [rtmpdump] DEBUG: (object begin) [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: (object end) [rtmpdump] DEBUG: (object end) [rtmpdump] INFO: Metadata: [rtmpdump] INFO: duration 3251.64 [rtmpdump] INFO: width 352.00 [rtmpdump] INFO: height 288.00 [rtmpdump] INFO: videodatarate 300.00 [rtmpdump] INFO: framerate 25.00 [rtmpdump] INFO: videocodecid 4.00 [rtmpdump] INFO: audiodatarate 64.00 [rtmpdump] INFO: audiodelay 0.05 [rtmpdump] INFO: audiocodecid 2.00 [rtmpdump] INFO: canSeekToEnd TRUE [rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 32, len: 6 [rtmpdump] DEBUG: HandleCtrl, Stream BufferReady 1 [rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 31, len: 6 [rtmpdump] DEBUG: HandleCtrl, Stream BufferEmpty 1 [rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 32, len: 6 [rtmpdump] DEBUG: HandleCtrl, Stream BufferReady 1 [download] 99.7% of ~359.74MiB at 781.22KiB/s ETA 00:01 [rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 31, len: 6 [rtmpdump] DEBUG: HandleCtrl, Stream BufferEmpty 1 [rtmpdump] DEBUG: RTMP_SendPause, 1, pauseTime=3244251 [rtmpdump] DEBUG: Invoking pause [rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 32, len: 6 [rtmpdump] DEBUG: HandleCtrl, Stream BufferReady 1 [rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 31, len: 6 [rtmpdump] DEBUG: HandleCtrl, Stream BufferEmpty 1 [rtmpdump] DEBUG: ignoring too small audio packet: size: 0 [rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 1, len: 6 [rtmpdump] DEBUG: HandleCtrl, Stream EOF 1 [rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 102 bytes [rtmpdump] DEBUG: (object begin) [rtmpdump] DEBUG: (object begin) [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: (object end) [rtmpdump] DEBUG: (object end) [rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 1, len: 6 [rtmpdump] DEBUG: HandleCtrl, Stream EOF 1 [rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 232 bytes [rtmpdump] DEBUG: (object begin) [rtmpdump] DEBUG: Property: NULL [rtmpdump] DEBUG: (object begin) [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: Property: [rtmpdump] DEBUG: (object end) [rtmpdump] DEBUG: (object end) [rtmpdump] DEBUG: HandleInvoke, server invoking [rtmpdump] DEBUG: HandleInvoke, onStatus: NetStream.Play.Stop [rtmpdump] DEBUG: Invoking deleteStream [rtmpdump] DEBUG: Got Play.Complete or Play.Stop from server. Assuming stream is complete [download] 358.85MiB at 782.23KiB/s (07:49) [rtmpdump] DEBUG: RTMP_Read returned: 0 [rtmpdump] Download complete [rtmpdump] DEBUG: Closing connection. [rtmpdump] 376281107 bytes
@phihag phihag reopened this Feb 17, 2015
@dstftw dstftw closed this in 4a8d4a5 Feb 17, 2015
@phihag
Copy link
Contributor

@phihag phihag commented Feb 19, 2015

I believe these glitches to be fixed in youtube-dl 2015.02.19.3. Again, see our FAQ if you need help updating.

@notuntoward
Copy link
Author

@notuntoward notuntoward commented Feb 20, 2015

Yes, thanks, the download now works. I'm not sure if this is related, but
it now downloads at what seems to be streaming speed -- a 46 minute lecture
took about 46 minutes to download. If that's how it has to be, well, I'm
still pretty happy.

On Thu, Feb 19, 2015 at 7:31 PM, Philipp Hagemeister <
notifications@github.com> wrote:

I believe these glitches to be fixed in youtube-dl 2015.02.19.3. Again,
see our FAQ https://yt-dl.org/update if you need help updating.


Reply to this email directly or view it on GitHub
#4968 (comment).

@naglis
Copy link
Collaborator

@naglis naglis commented Feb 20, 2015

@notuntoward, yes, it's related - we've passed the --realtime flag to rtmpdump which is a known workaround for the issue of video jumping back all over again [1] and yes, the slowdown is the consequence of that 😞

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
4 participants
You can’t perform that action at this time.