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

Unknown file format / Unsupported bits per sample #719

Open
sinkaroid opened this issue Jun 14, 2023 · 1 comment
Open

Unknown file format / Unsupported bits per sample #719

sinkaroid opened this issue Jun 14, 2023 · 1 comment

Comments

@sinkaroid
Copy link

I trying to make my own radio services with lavalink, the thing is all of my .wav files that i want to serving with lavaplayer is throwing:

java.lang.IllegalStateException: Unsupported bits per sample: 24
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Unknown file format.

Whenever its file <100MB it working as expected, but when above than 100MB i got Unsupported bits per sample: 24 here.
My question: is there a way to validate the .wav format to prevent unsupported bits?

@devoxin
Copy link
Contributor

devoxin commented Nov 7, 2023

This is caused by a file that is encoded as PCM_S24. This repository doesn't have support for that, however you can try either Lavalink-Devs/Lavaplayer, or my Lavaplayer fork.

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