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

Add WEBM to --audio-format. It's the original downloaded file when using -x [audio-only] #20076

Closed
fx-pro opened this issue Feb 27, 2019 · 4 comments

Comments

@fx-pro
Copy link

@fx-pro fx-pro commented Feb 27, 2019

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 this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.18. 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 2019.02.18

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
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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

Currently, to download the best quality audio from youtube video, we simply use
youtube-dl -x ULR

The application download the webm file, then quickly "get out" the opus file from webm container and immediately delete original webm file.

However, the opus file isn't widely supported, I want to keep the webm file.

Of course, the application suggest using "-k" to keep that file. But when we use -k, the whole video file (which is 8-10x bigger) would be downloaded.

Please add one more option for this purpose (download audio-only as Webm), or simply add webm to --audio-format

image

Thank you

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 27, 2019

webm is a container not a codec, it has nothing to do with --audio-format.

@dstftw dstftw closed this Feb 27, 2019
@fx-pro
Copy link
Author

@fx-pro fx-pro commented Feb 27, 2019

webm is a container not a codec, it has nothing to do with --audio-format.

@dstftw Ok then, so how can we keep the webm (audio only) file. It's actually downloaded, but it's impossible to keep?

@rg3 please ..

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 27, 2019

Provide complete verbose log of what are you trying to execute.

@fx-pro
Copy link
Author

@fx-pro fx-pro commented Feb 27, 2019

Screenshot of execute with detailed highlight and explanation

image

.
.
.
.
.
.
.

webm is a container not a codec, it has nothing to do with --audio-format.

@dstftw In addition, it's "--audio-format", not "--audio-codec". So literally, "webm", an audio file format, is still fit to that option, and it "host" only opus audio, so there will be no confused

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.