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

opusdec 0.2 is 6-7x slower than 0.1.10 #81

Open
ozancaglayan opened this issue Oct 10, 2023 · 2 comments
Open

opusdec 0.2 is 6-7x slower than 0.1.10 #81

ozancaglayan opened this issue Oct 10, 2023 · 2 comments

Comments

@ozancaglayan
Copy link

Hi

I was debugging an issue and found out the following between opus-tools versions:

opus-tools 0.1.10 (using libopus 1.3.1)

$ time opusdec /tmp/foo.opus --rate 16000 --float /dev/null
Decoding to 16000 Hz (1 channel)
Encoded with Lavf59.27.100
encoder=Lavc59.37.100 libopus
Decoding complete.

real    0m0.627s
user    0m0.623s
sys     0m0.004s

$ opusdec --version
opusdec opus-tools 0.1.10 (using libopus 1.3.1)
Copyright (C) 2008-2017 Xiph.Org Foundation

$ head -n1 /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"

opus-tools 0.2 (using libopus 1.3.1)

$ time opusdec /tmp/foo.opus --rate 16000 --float /dev/null
Decoding to 16000 Hz (1 channel)
Encoded with Lavf59.27.100
encoder=Lavc59.37.100 libopus
Decoding complete.

real    0m4.250s
user    0m4.245s
sys     0m0.004s
@vadimkantorov
Copy link

Maybe the reason is also the resampler speed degradation?

I made a repro at #87

Do you still see degradation if you decode to --rate 48000?

@ozancaglayan
Copy link
Author

Hi,

I think it was only happening when resampling, you are right. Appreciate that you follow this up at different places but the develops of the whole thing do not seem to react and the tools themselves look pretty unmaintained for quite some time..

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