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

"bestaudio" option downloads a webm file #6975

Closed
nick-s-b opened this issue Sep 26, 2015 · 3 comments
Closed

"bestaudio" option downloads a webm file #6975

nick-s-b opened this issue Sep 26, 2015 · 3 comments

Comments

@nick-s-b
Copy link

@nick-s-b nick-s-b commented Sep 26, 2015

Hello,
I've noticed several times that when I use a -f bestaudio youtube-dl actually downloads a webm file. For example, if I try the following: youtube-dl -f bestaudio uRmEefcDGVQ I end up with a webm file (instead of a usual m4a file.

Thanks.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 26, 2015

bestaudio for uRmEefcDGVQ is 251 and it's a webm:

format code  extension  resolution note
249          webm       audio only DASH audio   63k , opus @ 50k, 2.37MiB
250          webm       audio only DASH audio   87k , opus @ 70k, 3.22MiB
171          webm       audio only DASH audio  124k , vorbis@128k (44100Hz), 5.21MiB
140          m4a        audio only DASH audio  128k , m4a_dash container, aac  @128k (44100Hz), 5.91MiB
251          webm       audio only DASH audio  152k , opus @160k, 6.20MiB
@dstftw dstftw closed this Sep 26, 2015
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 26, 2015

If you only want a m4a file you can force it with -f bestaudio[ext=m4a].

@gaming-hacker
Copy link

@gaming-hacker gaming-hacker commented Sep 30, 2015

i use this
-f bestvideo[ext!=webm]+bestaudio[ext!=opus]/best

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
4 participants
You can’t perform that action at this time.