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

[request] Use opus over vorbis for audio encoding #9

Closed
borring opened this issue Jan 13, 2016 · 6 comments
Closed

[request] Use opus over vorbis for audio encoding #9

borring opened this issue Jan 13, 2016 · 6 comments
Labels
enhancement For improving the extension features

Comments

@borring
Copy link

borring commented Jan 13, 2016

I chose a random audio file from the google drive folder:

new-leaf-raining/10am.ogg

and re-encoded it using ffmpeg:

ffmpeg -i 10am.ogg -acodec opus -vn -f ogg out.ogg

and found that the filesize was reduced by 67%. Either the original files were
encoded with excessively high bitrates or opus is just that much better. I
didn't hear any difference in quality either.

@JdotCarver
Copy link
Contributor

Yep, that's a great idea!
I'm not savvy enough to know how audio compression and optimization goes but recently people have suggested lowering the bit rate too. I like my 320kb/s but I guess since it's background music it won't hurt much. (Or if your encode lowers bit rate too I don't really know.) And if I combine that with your idea of re-encoding the whole library I'm sure we'll make stark progress on the size issue. Great suggestion Mr.

@borring
Copy link
Author

borring commented Jan 15, 2016

I downloaded the library from the Google Drive link, thinking to re-encode the files. But I realized that some of the audio files are already quite small (and of quite poor quality). Of note is the music in new-leaf-snowing. The filesizes are pretty small, and the audio quality is much lower than new-leaf-raining for example.

Will you be able to find higher quality sources for new-leaf-snowing?

@JdotCarver
Copy link
Contributor

That's because they're the original extension's version ;)

@TheDirtySpaceman
Copy link

I have noticed on many the original Animal Forest/Crossing track there is an extremely noticeable crackle. The quality of the entire music library should probably be revisited. This isn't too difficult of a task either there are many very clean rips of the music on the animal crossing reddit in FLAC format. This could be converted to oog in the most appropriate compression. This could be done by a non-programmer even.

@JdotCarver
Copy link
Contributor

Great, I didn't know the AC Reddit had FLAC files to download, though I haven't noticed any crackling , but I guess if its only me it wouldn't hurt if I updated the files.
The crackling is very possible, these are low quality files that need updating.

@PikaDude
Copy link
Member

Opus actually increases the file size in comparison to Vorbis. The FFMPEG command used has a default bitrate that is substantially lower than the original, hence why the file size ended up smaller. I'm currently in the process of converting songs and finding replacements without crackle here PikaDude#1 The New Leaf songs with crackles have been replaced with dumps from my own cartridge and no longer contain a crackle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement For improving the extension features
Development

No branches or pull requests

5 participants