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

16 bit flac output conversion? #43

Open
Mixerrog opened this issue Aug 9, 2021 · 3 comments
Open

16 bit flac output conversion? #43

Mixerrog opened this issue Aug 9, 2021 · 3 comments

Comments

@Mixerrog
Copy link

Mixerrog commented Aug 9, 2021

Is there a way to convert the 4 stem output files from the new Open-Unmix UMX using Stempeg to output 16 bit flac files instead of the 24 bit flac files I am currently getting using it?

Thank, Rog

@faroit
Copy link
Owner

faroit commented Aug 9, 2021

@Mixerrog yes, you are right. 24bit seems to be the default bit-depth for flac files. You would have to pass sample_fmt=s16 to ffmpeg-python to enable this but stempeg has currently no way to pass this. Feel free to add a pull request!

@Mixerrog
Copy link
Author

Don't see how to add a pull request but just want to be able to output 16 bit flac stems from the new Open-Unmix UMX version please instead of the default 24 bit stems that Stempeg is giving me?

Thanks, Rog

@faroit
Copy link
Owner

faroit commented Aug 10, 2021

Don't see how to add a pull request but just want to be able to output 16 bit flac stems from the new Open-Unmix UMX version please instead of the default 24 bit stems that Stempeg is giving me?

stempeg is open-source and you can just modify it to your liking (and add a PR when you like). You probably would want to add it to this line: https://github.com/faroit/stempeg/blob/master/stempeg/write.py#L636

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

No branches or pull requests

2 participants