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

external downloaders are ignored on specific video when using `-f bestvideo+bestaudio` #15440

Closed
LukeLR opened this issue Jan 28, 2018 · 5 comments
Closed

Comments

@LukeLR
Copy link

@LukeLR LukeLR commented Jan 28, 2018

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

  • I've verified and I assure that I'm running youtube-dl 2018.01.27

Before submitting an issue make sure you have:

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

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ ./youtube-dl --ignore-config --format bestvideo+bestaudio --verbose --external-downloader aria2c --external-downloader-args "-j 8 -s 8 -x 8 -k 1M" https://www.youtube.com/watch?v=bVjSBGEPMB0
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '--format', 'bestvideo+bestaudio', '--verbose', '--external-downloader', 'aria2c', '--external-downloader-args', '-j 8 -s 8 -x 8 -k 1M', 'https://www.youtube.com/watch?v=bVjSBGEPMB0']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.01.27
[debug] Python version 3.6.4 (CPython) - Linux-4.14.15-1-hardened-x86_64-with-arch
[debug] exe versions: ffmpeg 3.4.1, ffprobe 3.4.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] bVjSBGEPMB0: Downloading webpage
[youtube] bVjSBGEPMB0: Downloading video info webpage
[youtube] bVjSBGEPMB0: Extracting video information
[youtube] bVjSBGEPMB0: Downloading MPD manifest
[youtube] bVjSBGEPMB0: Downloading MPD manifest
[debug] Invoking downloader on 'https://r3---sn-4g5e6nze.googlevideo.com/videoplayback/id/6d58d204610f301d/itag/135/source/yt_otf/requiressl/yes/mm/31/mn/sn-4g5e6nze/initcwndbps/933750/ei/lCttWtzQJMSF1gK1tbfoAg/pl/48/mv/m/ms/au/ratebypass/yes/mime/video%2Fmp4/otfp/1/otf/1/lmt/1507813860878731/mt/1517103916/ip/2003:df:a3f1:4ff0:4ff9:e00a:eadf:ca24/ipbits/0/expire/1517125620/sparams/ip,ipbits,expire,id,itag,source,requiressl,mm,mn,initcwndbps,ei,pl,mv,ms,ratebypass,mime,otfp,otf,lmt/signature/1C9416769405FF57478DC1EDC64589163D864EEC.1C0BA92E3BAB6AB7B45437971BA09B72B4EEAAD2/key/dg_yt0/'
[dashsegments] Total fragments: 926
[download] Destination: HHU TSN 2017WS Rechnernetze 01-bVjSBGEPMB0.f135.mp4
[download]   1.9% of ~34.07MiB at  2.07MiB/s ETA 01:22^C
ERROR: Interrupted by user

$ ./youtube-dl --ignore-config --format best --verbose --external-downloader aria2c --external-downloader-args "-j 8 -s 8 -x 8 -k 1M" https://www.youtube.com/watch?v=bVjSBGEPMB0
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '--format', 'best', '--verbose', '--external-downloader', 'aria2c', '--external-downloader-args', '-j 8 -s 8 -x 8 -k 1M', 'https://www.youtube.com/watch?v=bVjSBGEPMB0']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.01.27
[debug] Python version 3.6.4 (CPython) - Linux-4.14.15-1-hardened-x86_64-with-arch
[debug] exe versions: ffmpeg 3.4.1, ffprobe 3.4.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] bVjSBGEPMB0: Downloading webpage
[youtube] bVjSBGEPMB0: Downloading video info webpage
[youtube] bVjSBGEPMB0: Extracting video information
[youtube] bVjSBGEPMB0: Downloading MPD manifest
[youtube] bVjSBGEPMB0: Downloading MPD manifest
[debug] Invoking downloader on 'https://r3---sn-4g5ednsz.googlevideo.com/videoplayback?mn=sn-4g5ednsz&mm=31&mime=video%2Fmp4&signature=A03835FB3EF824A46FB5ECEBB62046AEC922C815.09CB0DE178A5B1565D5D677B40EB870462DF199D&expire=1517125551&initcwndbps=717500&mv=m&pl=48&mt=1517103858&ms=au&ipbits=0&ei=TyttWtv8EISz1wKn65SADA&itag=22&lmt=1507814020927826&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&requiressl=yes&ip=2003%3Adf%3Aa3f1%3A4ff0%3A4ff9%3Ae00a%3Aeadf%3Aca24&key=yt6&source=youtube&dur=4930.548&ratebypass=yes&id=o-AHWAVJJQt-nASjE4XJoGmzAleRxHvuRbmLdt--j6dzPK'
[download] Destination: HHU TSN 2017WS Rechnernetze 01-bVjSBGEPMB0.mp4
[debug] aria2c command line: aria2c -c -j 8 -s 8 -x 8 -k 1M --out 'HHU TSN 2017WS Rechnernetze 01-bVjSBGEPMB0.mp4.part' --header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate' --header 'Accept-Language: en-us,en;q=0.5' --check-certificate=true -- 'https://r3---sn-4g5ednsz.googlevideo.com/videoplayback?mn=sn-4g5ednsz&mm=31&mime=video%2Fmp4&signature=A03835FB3EF824A46FB5ECEBB62046AEC922C815.09CB0DE178A5B1565D5D677B40EB870462DF199D&expire=1517125551&initcwndbps=717500&mv=m&pl=48&mt=1517103858&ms=au&ipbits=0&ei=TyttWtv8EISz1wKn65SADA&itag=22&lmt=1507814020927826&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&requiressl=yes&ip=2003%3Adf%3Aa3f1%3A4ff0%3A4ff9%3Ae00a%3Aeadf%3Aca24&key=yt6&source=youtube&dur=4930.548&ratebypass=yes&id=o-AHWAVJJQt-nASjE4XJoGmzAleRxHvuRbmLdt--j6dzPK'

01/28 02:45:53 [NOTICE] Downloading 1 item(s)
[#f2917f 460MiB/467MiB(98%) CN:8 DL:10MiB]                                                                                                                                                    
01/28 02:46:37 [NOTICE] Übertragung vollständig: /home/user/Downloads/youtube-dl/HHU TSN 2017WS Rechnernetze 01-bVjSBGEPMB0.mp4.part

Übertragungsergebnisse:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
f2917f|OK  |    10MiB/s|/home/user/Downloads/youtube-dl/HHU TSN 2017WS Rechnernetze 01-bVjSBGEPMB0.mp4.part

Statuserläuterung:
(OK):Herunterladen abgeschlossen.
[aria2c] Downloaded 490490818 bytes
[download] 100% of 467.77MiB

$ aria2c --version
aria2 Version 1.33.1
Copyright (C) 2006, 2017 Tatsuhiro Tsujikawa

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

aria2 version 1.33.1
Copyright (C) 2006, 2017 Tatsuhiro Tsujikawa

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

** Configuration **
Enabled Features: Async DNS, BitTorrent, Firefox3 Cookie, GZip, HTTPS, Message Digest, Metalink, XML-RPC, SFTP
Hash Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5, adler32
Libraries: zlib/1.2.11 libxml2/2.9.5 sqlite3/3.21.0 GnuTLS/3.5.16 nettle GMP/6.1.2 c-ares/1.13.0 libssh2/1.8.0
Compiler: gcc 7.2.0
  built by  x86_64-pc-linux-gnu
  on        Nov  9 2017 03:02:05
System: Linux 4.14.15-1-hardened #1 SMP PREEMPT Wed Jan 24 22:06:58 CET 2018 x86_64

Report bugs to https://github.com/aria2/aria2/issues
Visit https://aria2.github.io/

Axel version 2.16.1 (Linux)

Copyright 2001-2007 Wilmer van der Gaast,
	  2007-2009 Giridhar Appaji Nag,
	  2008-2010 Philipp Hagemeister,
	  2015-2017 Joao Eriberto Mota Filho,
	  2016-2017 Stephen Thirlwall,
	  2017      Ismael Luceno,
	  2017      Antonio Quartulli,
		    and others.
Please, see the CREDITS file.

Description of your issue, suggested solution and other information

youtube-dl does not use external downloaders (tested aria2c and axel) when trying to download a specific video AND using --format bestvideo+bestaudio. --format best works as expected. Other videos seem to work.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 28, 2018

aria2c does not support segmented DASH.

@LukeLR
Copy link
Author

@LukeLR LukeLR commented Jan 28, 2018

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 28, 2018

None of the bare downloaders.

@LukeLR
Copy link
Author

@LukeLR LukeLR commented Jan 28, 2018

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
@dstftw @LukeLR and others
You can’t perform that action at this time.