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

Can't dowload complete DASH video #4471

Closed
falimero opened this issue Dec 14, 2014 · 8 comments
Closed

Can't dowload complete DASH video #4471

falimero opened this issue Dec 14, 2014 · 8 comments

Comments

@falimero
Copy link

@falimero falimero commented Dec 14, 2014

Hello,

I wish I could download a video in 1080p or 720p60fps. I try it with the following command:
falimero@mowgli:$ youtube-dl -f 298+141 VEaC4nmVigY
[youtube] VEaC4nmVigY: Downloading webpage
[youtube] VEaC4nmVigY: Extracting video information
[youtube] VEaC4nmVigY: Downloading DASH manifest
[download] Destination: Altis Life - Carjacking - part 1-VEaC4nmVigY.f298.mp4
[download] 100% of 407.39MiB in 00:36
[download] Destination: Altis Life - Carjacking - part 1-VEaC4nmVigY.f141.m4a
[download] 100% of 36.58MiB in 00:03
[ffmpeg] Merging formats into "Altis Life - Carjacking - part 1-VEaC4nmVigY.mp4"
WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or newer if you encounter any errors.
falimero@mowgli:
$ ll
total 12
-rw-r--r-- 1 falimero falimero 284 déc. 14 23:20 Altis Life - Carjacking - part 1-VEaC4nmVigY.mp4

Video is 284 b

What is wrong ?

@clampak
Copy link

@clampak clampak commented Dec 15, 2014

As the warning tells you, try updating your copy of avconv. You could also try --prefer-ffmpeg to use that instead, if you have ffmpeg installed.

If you still get errors, please update youtube-dl and use the --verbose option when reporting errors.

@falimero
Copy link
Author

@falimero falimero commented Dec 15, 2014

youtube-dl is up to date, just dowload on new server.
$ youtube-dl -vf 298+141 --prefer-ffmpeg VEaC4nmVigY
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-vf', '298+141', '--prefer-ffmpeg', 'VEaC4nmVigY']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.14
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-Debian-7
[debug] exe versions: avconv 0.8.16-6, avprobe 0.8.16-6, ffmpeg 0.8.16-6, ffprobe 0.8.16-6
[debug] Proxy map: {}
[youtube] VEaC4nmVigY: Downloading webpage
[youtube] VEaC4nmVigY: Extracting video information
[youtube] VEaC4nmVigY: Downloading DASH manifest
[debug] Invoking downloader on 'https://r6---sn-u2oxu-f5fs.googlevideo.com/videoplayback?id=544682e279958a06&itag=298&source=youtube&requiressl=yes&mm=31&ms=au&mv=m&ratebypass=yes&mime=video/mp4&gir=yes&clen=427174307&lmt=1418575305236642&dur=1203.118&fexp=900718,902404,902522,924639,927622,932404,9405613,9405921,943917,947209,947218,948124,948807,950505,952302,952605,952901,953912,955005,955301,957103,957105,957201,958600&signature=84F2B476DDF3FF36953056C071A6E5139260EDD8.881F14F0F297CAC267CF92CCCAD450C37EAADC12&mt=1418661370&upn=TYcom9Wj7bM&key=dg_yt0&sver=3&ip=91.121.116.11&ipbits=0&expire=1418683032&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,ms,mv,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Altis Life - Carjacking - part 1-VEaC4nmVigY.f298.mp4
[download] 100% of 407.39MiB in 00:41
[debug] Invoking downloader on 'https://r6---sn-u2oxu-f5fs.googlevideo.com/videoplayback?id=544682e279958a06&itag=141&source=youtube&requiressl=yes&mm=31&ms=au&mv=m&ratebypass=yes&mime=audio/mp4&gir=yes&clen=38361630&lmt=1418574405224382&dur=1203.211&fexp=900718,902404,902522,924639,927622,932404,9405613,9405921,943917,947209,947218,948124,948807,950505,952302,952605,952901,953912,955005,955301,957103,957105,957201,958600&signature=31F580CAA69FACFE4D8C355A5D3B6E5025051BAB.0119CD7C766AAA827B2673B1FC2A530B68FA6ED2&mt=1418661370&upn=TYcom9Wj7bM&key=dg_yt0&sver=3&ip=91.121.116.11&ipbits=0&expire=1418683032&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,ms,mv,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Altis Life - Carjacking - part 1-VEaC4nmVigY.f141.m4a
[download] 100% of 36.58MiB in 00:04
[ffmpeg] Merging formats into "Altis Life - Carjacking - part 1-VEaC4nmVigY.mp4"
WARNING: Your copy of ffmpeg is outdated, update ffmpeg to version 1.0 or newer if you encounter any errors.
[debug] ffmpeg command line: ffmpeg -y -i 'Altis Life - Carjacking - part 1-VEaC4nmVigY.f298.mp4' -i 'Altis Life - Carjacking - part 1-VEaC4nmVigY.f141.m4a' -c copy -map 0✌️0 -map 1🅰️0 -shortest 'Altis Life - Carjacking - part 1-VEaC4nmVigY.mp4'
ERROR: Failed to set value 'copy' for option 'c'
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1166, in post_process
keep_video_wish, new_info = pp.run(info)
File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 525, in run
self.run_ffmpeg_multiple_files(info['__files_to_merge'], filename, args)
File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 95, in run_ffmpeg_multiple_files
raise FFmpegPostProcessorError(msg)
FFmpegPostProcessorError

@falimero
Copy link
Author

@falimero falimero commented Dec 15, 2014

apt-get update get 0 upgrade.

cat /etc/apt/sources.list

deb http://debian.mirrors.ovh.net/debian/ wheezy main
deb-src http://debian.mirrors.ovh.net/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

ll /etc/apt/sources.list.d/

total 0

@clampak
Copy link

@clampak clampak commented Dec 15, 2014

Please pay attention to the warnings. It appears that both avconv and ffmpeg on your system are out of date.

@falimero
Copy link
Author

@falimero falimero commented Dec 15, 2014

using ffmepg with debian depot. so up to date for my system :(

@clampak
Copy link

@clampak clampak commented Dec 15, 2014

I don't use debian, perhaps someone else might have a solution. You could probably get the sources and compile yourself, such as is outlined here.

@falimero
Copy link
Author

@falimero falimero commented Dec 15, 2014

My bad, after adding http://www.deb-multimedia.org/ repo and update all, there is no error and video are ok.
So sorry for disturbing you.

very nice software, indeed

ps sorry for my english not very good

@pricejn2
Copy link

@pricejn2 pricejn2 commented Dec 15, 2014

FYI for anyone else seeing this: on Debian with deb-multimedia repository, the libav-tools package is only a symbolic link from avconv to ffmpeg. You'll still need the --prefer-ffmpeg flag in order to avoid the error messages.

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.