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 video/audio but need audio in aac #11431

Closed
vertex11 opened this issue Dec 12, 2016 · 1 comment
Closed

download video/audio but need audio in aac #11431

vertex11 opened this issue Dec 12, 2016 · 1 comment

Comments

@vertex11
Copy link

@vertex11 vertex11 commented Dec 12, 2016

I want to download a video/audio from youtube using youtube-dl. The file that is produced has an Opus audio which fails in my media player. I want the audio in aac. The downloaded video is fine.

How do I do this?

I tried:

youtube-dl --audio-format aac "URL"

But the downloaded file remains Opus audio, but I need aac

So, what syntax should I use?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 13, 2016

-f bestaudio[ext=m4a]+bestvideo[ext=mp4]/best[ext=mp4].

@dstftw dstftw closed this Dec 13, 2016
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.