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

Multiple connection support in internal dash downloader #11044

Open
TehBotolSosro opened this issue Oct 27, 2016 · 3 comments
Open

Multiple connection support in internal dash downloader #11044

TehBotolSosro opened this issue Oct 27, 2016 · 3 comments
Labels

Comments

@TehBotolSosro
Copy link

@TehBotolSosro TehBotolSosro commented Oct 27, 2016

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.10.26. 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 2016.10.26

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably 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)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


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

C:\Video>youtube-dl --external-downloader axel http://genflix.orangetv.asia.swiftserve.com/US/videoContent-1530-iqn62l7c-v1/videoContent-1530-iqn62l7c-m1-4-NoneUS/1487-1530-m1-iqn62l7c-default.ism/a.mpd -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--external-downloader', 'axel', 'http://genflix.orangetv.asia.swiftserve.com/US/videoContent-1530-iqn62l7c-v1/videoContent-1530-iqn62l7c-m1-4-NoneUS/1487-1530-m1-iqn62l7c-default.ism/a.mpd', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.10.26
[debug] Python version 3.4.4 - Windows-10-10.0.10240
[debug] exe versions: ffmpeg N-82117-gc117343, ffprobe N-82117-gc117343, rtmpdump 2.3
[debug] Proxy map: {}
[generic] a: Requesting header
WARNING: Falling back on generic information extractor.
[generic] a: Downloading webpage
[generic] a: Extracting information
[debug] Invoking downloader on 'http://genflix.orangetv.asia.swiftserve.com/US/videoContent-1530-iqn62l7c-v1/videoContent-1530-iqn62l7c-m1-4-NoneUS/1487-1530-m1-iqn62l7c-default.ism/dash/'
[dashsegments] Total fragments: 3222

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd
http://genflix.orangetv.asia.swiftserve.com/US/videoContent-1633-istumdrs-v1/videoContent-1633-istumdrs-m1-4-NoneUS/1584-1633-m1-istumdrs-default.ism/a.mpd


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

Please add support for multiple connection / thread when downloading mpd video stream as sometime using youtube-dl to download it can be slow even when you have high internet speed, example when downloading from the second example above i mostly only get 20 - 200 KB/sec

as youtube-dl seem to ignore the --external-downloader when downloading mpd file

@TehBotolSosro
Copy link
Author

@TehBotolSosro TehBotolSosro commented Oct 27, 2016

will you be working on this yan12125?

i think enabling the external downloader for the mpd dash will be enough, as i just tried with with creating the fragment link manually and download them using and rename all the dash file to the youtube-dl format so youtube-dl recognize the stream as already downloaded and simply merge them all together and the video run fine

now hopefully youtube-dl support CENC mpd in the future since the key can be easily retrieved, since most of the site now are using DRM encryption (Widevine,Marlin,PlayReady)

thanks again

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 28, 2016

CENC is out of scope of this issue. See #1753 (comment). The most difficult part is that CENC requires dynamically loading of C++ modules, which is tricky in terms of portability. youtube-dl needs to support at least Windows, Linux and Mac.

For non-encrypted streams: I don't use download helpers, and as you've said there are workarounds for this feature, so I don't put it to the highest priority.

@Gaploid
Copy link

@Gaploid Gaploid commented Oct 12, 2017

Hi Guys, Can you point me how to use "workarounds" to download Dash video files for example from Twitch using multi-connections or maybe that feature is already in development? It seems it's really slow to download twitch past broadcasts that are stored as m3u8. I`ve tried to use external downloader but youtube-dl fallback to hlsnative. Sometimes speed is only 2.5Mib on 1Gb internet channel.

@ytdl-org ytdl-org locked and limited conversation to collaborators Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.