Skip to content

Uncaught (in promise) RuntimeError: memory access out of bounds when trying to convert to Opus with -c:a libopus #591

@CrypticSignal

Description

@CrypticSignal

Describe the bug:
I get a Uncaught (in promise) RuntimeError: memory access out of bounds when trying to transcode to Opus with -c:a libopus. I don't get this error if I choose to transcode to another format such as MP3, so I doubt there's anything wrong with the code.

To Reproduce:
Go to https://av-converter.vercel.app, it's a web app I made which is essentially a frontend for ffmpeg.wasm. Open the console and use the dropdown menu on my web app to select Opus as the output format. You will see the aforementioned error in the console.

Expected behavior:
The file should start transcoding like it does when choosing another format to convert to.

Additional Information:

  • OS: Windows 11 Pro
  • Browser: Chrome version 117.0.5938.92 (Official Build) (64-bit)
  • @ffmpeg/core v0.12.3
  • @ffmpeg/ffmpeg v0.12.6
  • @ffmpeg/util v0.12.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions