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

download failed - content too short (expected... #1366

Closed
ghost opened this issue Sep 3, 2013 · 9 comments
Closed

download failed - content too short (expected... #1366

ghost opened this issue Sep 3, 2013 · 9 comments

Comments

@ghost
Copy link

@ghost ghost commented Sep 3, 2013

youtube-dl 'https://www.youtube.com/watch?feature=player_embedded&v=IzaW4W_ill0'
[youtube] Setting language
[youtube] IzaW4W_ill0: Downloading video webpage
[youtube] IzaW4W_ill0: Downloading video info webpage
[youtube] IzaW4W_ill0: Extracting video information
[download] Destination: Jamie_s_Potty_Break-IzaW4W_ill0.flv
[download] 100% of 5.13MiB in 00:01
ERROR: content too short (expected 5382419 bytes and served 2098098)

youtube-dl 'https://www.youtube.com/watch?feature=player_embedded&v=IzaW4W_ill0'
[youtube] Setting language
[youtube] IzaW4W_ill0: Downloading video webpage
[youtube] IzaW4W_ill0: Downloading video info webpage
[youtube] IzaW4W_ill0: Extracting video information
[download] Resuming download at byte 2098098

ERROR: Did not get any data blocks

@phihag
Copy link
Contributor

@phihag phihag commented Sep 3, 2013

I can reproduce this behavior with multiple videos. However, I'm not sure whether that's intentional by YouTube, as it looks like a lot of videos (for example the our test video) also fail in the web interface.

@phihag
Copy link
Contributor

@phihag phihag commented Sep 3, 2013

This is fixed for me now, from multiple ISPs (seems to have been a YouTube malfunction). I'm closing this issue now, but feel free to comment if it persists, and I'll promptly reopen it.

@phihag phihag closed this Sep 3, 2013
@kumsh
Copy link

@kumsh kumsh commented Aug 8, 2016

i did get this issue, any hack guys?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 8, 2016

@kumsh Please post the verbose log.

@kumsh
Copy link

@kumsh kumsh commented Aug 9, 2016

[download] 2.8% of 218.43MiB at 15.53KiB/s ETA 03:53:26 ERROR: content
too short (expected 229040116 bytes and served 6340669)

Yen CHi,
The above mentioned is the error iam getting.

thanks,
umsh

On Mon, Aug 8, 2016 at 3:42 PM, Yen Chi Hsuan notifications@github.com
wrote:

@kumsh https://github.com/kumsh Please post the verbose log.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1366 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGgdQ9kdKg8uiUygxkGOojUcLTtr0oGlks5qdwD9gaJpZM4A9eit
.

​​
K. Umesh
Research Scientist
Defence Research Group
http://syncthreads.in

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 9, 2016

The verbose log should include the command line and some debugging information. For example:

$ youtube-dl -v "https://www.youtube.com/watch?v=cbjMwKLE-RE"                 
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=cbjMwKLE-RE']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.07
[debug] Git HEAD: b657816
[debug] Python version 3.5.2 - Linux-4.6.5-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.1.1, ffprobe 3.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] cbjMwKLE-RE: Downloading webpage
[youtube] cbjMwKLE-RE: Downloading video info webpage
[youtube] cbjMwKLE-RE: Extracting video information
[youtube] cbjMwKLE-RE: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r1---sn-5njj-u2xl.googlevideo.com/videoplayback?id=71b8ccc0a2c4f911&itag=136&source=youtube&requiressl=yes&pl=17&ms=au&mv=m&initcwndbps=6620000&mn=sn-5njj-u2xl&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&clen=4151248&lmt=1445768018777326&dur=101.866&key=dg_yt0&sver=3&upn=8q9HfWwFP8s&fexp=9419452,9422596,9428398,9431012,9431838,9433096,9433223,9433508,9433946,9434179,9435025,9435526,9435692,9436270,9437066,9437553,9438312,9438327,9438527,9438662,9438804,9439178,9439553,9439580,9439804,9440359,9440673,9441844,9442424,9443067,9443079,9443479,9443770&mt=1470717461&signature=7E2D1A1BFB70599EF13FFB5FC1A694ABC0A59706.4B7105E6A8A00A39818B633CAAF133B373C5D4B2&ip=140.112.230.216&ipbits=0&expire=1470739575&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,ms,mv,initcwndbps,mn,mm,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: 「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f136.mp4
[download] 100% of 3.96MiB in 00:01
[debug] Invoking downloader on 'https://r1---sn-5njj-u2xl.googlevideo.com/videoplayback?id=71b8ccc0a2c4f911&itag=251&source=youtube&requiressl=yes&pl=17&ms=au&mv=m&initcwndbps=6620000&mn=sn-5njj-u2xl&mm=31&ratebypass=yes&mime=audio/webm&gir=yes&clen=1504811&lmt=1445618893554790&dur=101.881&key=dg_yt0&sver=3&upn=8q9HfWwFP8s&fexp=9419452,9422596,9428398,9431012,9431838,9433096,9433223,9433508,9433946,9434179,9435025,9435526,9435692,9436270,9437066,9437553,9438312,9438327,9438527,9438662,9438804,9439178,9439553,9439580,9439804,9440359,9440673,9441844,9442424,9443067,9443079,9443479,9443770&mt=1470717461&signature=9B57F591C9B2E8DDF74E8A80203F66903A4E380C.68A8E2FD979E9E2069B2DEE7CD1AE805663066CB&ip=140.112.230.216&ipbits=0&expire=1470739575&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,ms,mv,initcwndbps,mn,mm,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: 「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f251.webm
[download] 100% of 1.44MiB in 00:00
[ffmpeg] Merging formats into "「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.mkv"
[debug] ffmpeg command line: ffmpeg -y -i 'file:「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f136.mp4' -i 'file:「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f251.webm' -c copy -map 0:v:0 -map 1:a:0 'file:「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.temp.mkv'
Deleting original file 「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f136.mp4 (pass -k to keep)
Deleting original file 「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f251.webm (pass -k to keep)
@kumsh
Copy link

@kumsh kumsh commented Aug 9, 2016

youtube-dl -cit
https://www.youtube.com/playlist?list=PLGVZCDnMOq0rzDLHi5WxWmN5vueHU5Ar7
[youtube:playlist] PLGVZCDnMOq0rzDLHi5WxWmN5vueHU5Ar7: Downloading webpage
[download] Downloading playlist: PyData Amsterdam 2016
[youtube:playlist] playlist PyData Amsterdam 2016: Downloading 32 videos
[download] Downloading video 4 of 32
[youtube] T385txAYSt8: Downloading webpage
[youtube] T385txAYSt8: Downloading video info webpage
[youtube] T385txAYSt8: Extracting video information
[youtube] T385txAYSt8: Downloading MPD manifest
[download] Destination: Thomas Kluyver, Min Ragan Kelley - Jupyter -
Notebooks in Multiple Languages for Data Science-T385txAYSt8.mp4
[download] 25.0% of 364.87MiB at 259.21KiB/s ETA 18:00ERROR: content too
short (expected 382589424 bytes and served 95780253)

On Tue, Aug 9, 2016 at 10:17 AM, Yen Chi Hsuan notifications@github.com
wrote:

The verbose log should include the command line and some debugging
information. For example:

$ youtube-dl -v "https://www.youtube.com/watch?v=cbjMwKLE-RE"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=cbjMwKLE-RE']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.07
[debug] Git HEAD: b657816
[debug] Python version 3.5.2 - Linux-4.6.5-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.1.1, ffprobe 3.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] cbjMwKLE-RE: Downloading webpage
[youtube] cbjMwKLE-RE: Downloading video info webpage
[youtube] cbjMwKLE-RE: Extracting video information
[youtube] cbjMwKLE-RE: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r1---sn-5njj-u2xl.googlevideo.com/videoplayback?id=71b8ccc0a2c4f911&itag=136&source=youtube&requiressl=yes&pl=17&ms=au&mv=m&initcwndbps=6620000&mn=sn-5njj-u2xl&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&clen=4151248&lmt=1445768018777326&dur=101.866&key=dg_yt0&sver=3&upn=8q9HfWwFP8s&fexp=9419452,9422596,9428398,9431012,9431838,9433096,9433223,9433508,9433946,9434179,9435025,9435526,9435692,9436270,9437066,9437553,9438312,9438327,9438527,9438662,9438804,9439178,9439553,9439580,9439804,9440359,9440673,9441844,9442424,9443067,9443079,9443479,9443770&mt=1470717461&signature=7E2D1A1BFB70599EF13FFB5FC1A694ABC0A59706.4B7105E6A8A00A39818B633CAAF133B373C5D4B2&ip=140.112.230.216&ipbits=0&expire=1470739575&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,ms,mv,initcwndbps,mn,mm,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: 「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f136.mp4
[download] 100% of 3.96MiB in 00:01
[debug] Invoking downloader on 'https://r1---sn-5njj-u2xl.googlevideo.com/videoplayback?id=71b8ccc0a2c4f911&itag=251&source=youtube&requiressl=yes&pl=17&ms=au&mv=m&initcwndbps=6620000&mn=sn-5njj-u2xl&mm=31&ratebypass=yes&mime=audio/webm&gir=yes&clen=1504811&lmt=1445618893554790&dur=101.881&key=dg_yt0&sver=3&upn=8q9HfWwFP8s&fexp=9419452,9422596,9428398,9431012,9431838,9433096,9433223,9433508,9433946,9434179,9435025,9435526,9435692,9436270,9437066,9437553,9438312,9438327,9438527,9438662,9438804,9439178,9439553,9439580,9439804,9440359,9440673,9441844,9442424,9443067,9443079,9443479,9443770&mt=1470717461&signature=9B57F591C9B2E8DDF74E8A80203F66903A4E380C.68A8E2FD979E9E2069B2DEE7CD1AE805663066CB&ip=140.112.230.216&ipbits=0&expire=1470739575&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,ms,mv,initcwndbps,mn,mm,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: 「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f251.webm
[download] 100% of 1.44MiB in 00:00
[ffmpeg] Merging formats into "「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.mkv"
[debug] ffmpeg command line: ffmpeg -y -i 'file:「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f136.mp4' -i 'file:「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f251.webm' -c copy -map 0✌️0 -map 1🅰️0 'file:「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.temp.mkv'
Deleting original file 「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f136.mp4 (pass -k to keep)
Deleting original file 「你應該知道 偏鄉孩子最需要的是...」:TFT為台灣而教 by 吳冠融、粘庭睿、黃大珉 (PPT)-cbjMwKLE-RE.f251.webm (pass -k to keep)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1366 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGgdQzH5ZWSySN_ToTEM6Dzc8_PMYEEKks5qeAZ0gaJpZM4A9eit
.

​​
K. Umesh
Research Scientist
Defence Research Group
http://syncthreads.in

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 9, 2016

T385txAYSt8 works for me. Maybe network issues?

@kumsh
Copy link

@kumsh kumsh commented Aug 9, 2016

Ok, thanks, let me try.

umsh

On Tue, Aug 9, 2016 at 10:41 AM, Yen Chi Hsuan notifications@github.com
wrote:

T385txAYSt8 works for me. Maybe network issues?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1366 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGgdQ-VTV4TllNy8rv9HdwuR1hHUXe3Oks5qeAwMgaJpZM4A9eit
.

​​
K. Umesh
Research Scientist
Defence Research Group
http://syncthreads.in

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