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 all DASH audio and video formats from YouTube #13594

Closed
edent opened this issue Jul 7, 2017 · 1 comment
Closed

Download all DASH audio and video formats from YouTube #13594

edent opened this issue Jul 7, 2017 · 1 comment

Comments

@edent
Copy link

@edent edent commented Jul 7, 2017

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 2017.07.02. 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 2017.07.02

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

Description of your issue, suggested solution and other information

I can't download all DASH formats from a YouTube video.

At the moment I'm using:

youtube-dl  -f 139,140,160,133,134,135,136,137 -o '%(format)s.%(ext)s' youtube.com/....

Can I assume that those format numbers will always be the same for DASH video and audio? Or will some YouTube videos use different numbers?

If I use -f m4a I only get the highest quality m4a, rather than all variants.

I'm aware that I could use --all-formats - but that will also get me things I don't want, like 3gp files.

If I use -f "[protocol=http_dash_segments]" or -f "[ext=m4a]" I get ERROR: requested format not available

So...

  • Are 139,140,160,133,134,135,136,137 the only DASH formats available?
  • If not, is there an option I can use to get them all?
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 7, 2017

  1. No guarantees on format ids.
  2. -f 'all[acodec=none]'.
@dstftw dstftw closed this Jul 7, 2017
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
2 participants
You can’t perform that action at this time.