Skip to main content


Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: Opus not resampling to 48khz (Read 365 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Opus not resampling to 48khz


I decided to use Opus as my main codec to store music on my smartphone and, so far, I'm loving it. But there is a minor issue I've noticed. I'm using my 44khz FLACs as source and Opus should resample them to 48khz, at least that's the expected behaviour of opusenc, but the resulting files are stil 44khz. Not that I'm complaining, they sound amazing for the small file size they have, but I was wondering why opusenc isn't resampling my music to 48khz.


Re: Opus not resampling to 48khz

Reply #1
Someone correct me if I'm wrong, but the "44.1 kHz" opus files are actually 48 kHz internally and there's just a flag saying "resample to 44.1 kHz on decode"?


Re: Opus not resampling to 48khz

Reply #2
It remembers the original sample rate, and when you decoded into a file, it converted it back to 44.1 kHz.

Normally it does not do it for playback, which is a good thing. They must be opted for this so people do not complain that sample rate changed. You can read about it in the RFC.


SimplePortal 1.0.0 RC1 © 2008-2021