Effective libopus support #114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "H41L33/opus-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changes to how bitrates and file formats are handled in the program to allow for an appropriate bitrate in the Opus codec, 192K is equal to MP3 320K so loads of space savings. An Opus file is about half the size of the default OGG.
It struck me after digging through the code for a bit that chances are it is in fact using the libopus codec, however with how bitrates are handled it's encoded at 320K. As I previously mentioned, 320K can be reduced to 192K with Opus without noticeable quality degradation. This bitrate reduction resolves into a final file size reduction of almost 50%.
I also included an extra printout just to inform the user as to the codec being used, it would've saved me some time when making this PR so I take that as meaning it's a useful feature to have.
Regarding the changes to
zotify/utils.py, I'm not 100% sure if that's necessary but for the sake of one line...Fixes Issue: #113
This is my first time contributing to a project, so forgive me if I've missed important details. I'm happy to have my first contribute to a tool I use!
I can't really comment on the content of this PR, but I wanted to say that this is an excellent example of a first contribution! Keep it up!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.