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 AAC as supported audio format #315

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

makidoll
Copy link
Contributor

I have a collection of sounds I really like and I downloaded them through yt-dlp which is usually encoded in aac and opus.

yt-dlp usually outputs aac into .m4a container which can hold either aac or alac. I tested an .m4a with alac and it didn't play, so I stuck with using .aac file format, which has its own mime type. Ffmpeg lets you ffmpeg -i in.m4a -c:a copy out.aac

This change makes it a lot easier to import from yt-dlp without re-encoding. It's better to leave the codec the way it is to reduce data loss or unnecessarily increase file size.

Let me know if you want me to test opus or consider adding m4a. Thank you so much for the cute cozy program. Blanket is really really nice! It helps me feel so grounded and comfy cause it's GTK 4.

@rafaelmardojai rafaelmardojai merged commit 1f7252a into rafaelmardojai:master Sep 28, 2023
1 check passed
@rafaelmardojai
Copy link
Owner

Thanks! Looks good.

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

Successfully merging this pull request may close these issues.

2 participants