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

Change "Best Audio" from m4a to opus #155

Open
gamebeaker opened this issue Mar 21, 2024 · 1 comment
Open

Change "Best Audio" from m4a to opus #155

gamebeaker opened this issue Mar 21, 2024 · 1 comment

Comments

@gamebeaker
Copy link

gamebeaker commented Mar 21, 2024

Hi i wanted to ask if it is possible, that ezytdl downloads if you choose Best Audio the opus version and not the m4a version on https://music.youtube.com
I have no idea about audio codecs so here are a few links to this topic.
https://stackoverflow.com/questions/49804874/download-the-best-quality-audio-file-with-youtube-dl (not so relevant)
https://stackoverflow.com/questions/49048859/how-to-download-1080p-best-audio-using-youtube-dl/49067058#49067058 (relevant)
https://www.reddit.com/r/youtubedl/comments/11v8xkk/opus_vs_m4a/ (opus vs m4a)
In summary opus is newer and better but because m4a was more broadly supported from devices it is the "best audio".
These post are a few years old at this point and support for opus is now better.
Is it possible that ezytdl downloads the opus version as "Best Audio" instead of m4a?

Thanks for the project.

@sylviiu
Copy link
Owner

sylviiu commented Mar 25, 2024

I could totally look into this; I don't know if yt-dlp prioritizes opus over m4a, but if it does, I can look more into using their format sorting algorithm (I only put one of my own in place because the format sorting wouldn't pass through the JSON output)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants