Skip to content

Length error on low-bitrate #31

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

Open
dofuuz opened this issue Apr 15, 2025 · 2 comments
Open

Length error on low-bitrate #31

dofuuz opened this issue Apr 15, 2025 · 2 comments
Assignees

Comments

@dofuuz
Copy link

dofuuz commented Apr 15, 2025

speex_length_bug.zip

To reproduce,

speexenc --bitrate 12000 10744.wav 10744.spx
speexdec 10744.spx 10744_decoded.wav

Original wav has 84651 samples, but decoded wav has 84811 samples.

It does not happen when --bitrate 15000.

I checked that both WB and UWB mode has same problem.

Is this bug, or normal behavior?

@tmatth
Copy link
Member

tmatth commented Apr 16, 2025

Interesting, I'm looking into it.

@tmatth tmatth self-assigned this Apr 16, 2025
@tmatth
Copy link
Member

tmatth commented Apr 17, 2025

@rillian pointed out the fact that there's a 160 sample difference may give some hints here.

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