ffmpeg.wasm icon indicating copy to clipboard operation
ffmpeg.wasm copied to clipboard

Cant convert to opus at 48000khz `memory access out of bounds`

Open sugoidesune opened this issue 8 months ago • 1 comments

Describe the bug Converting to .opus at 48000khz results it memory access out of bounds error. Opus supports 48k, 24k, 16k, 12k, 8k. Only 48k throws an error.

To Reproduce [ "-i", "input.mp3", "-c:a", "libopus", "-b:a", "64k", "-ar", "48000" , // 24000, 16000, 12000, 8000 Other sample rates work as intended. "output.opus" ]

48000 is the default so leaving out "-ar 48000" also results in an error.

Expected behavior It should work like the other sample rates.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome
  • Version: Version 135.0.7049.96 (Official Build) (64-bit)

sugoidesune avatar Apr 20 '25 07:04 sugoidesune

This PR should fix this issue but I don't think it's in the latest release.

CrypticSignal avatar May 18 '25 22:05 CrypticSignal