Skip to content

Bus Error #7

@wesbos

Description

@wesbos

Hello, thank you for this library.

I'm having an issue with the following code in Node.js v20.1.0, but also appears on LTS v18.17.0

test.js:

import { FFmpeg } from "@ffmpeg.wasm/main";
const ffmpeg = await FFmpeg.create()

running node test.js I get "bus error".

I'm not able to catch any errors, nor see whats causing this. Any idea how to debug?

Screenshot 2023-08-03 at 2 43 59 PM

package.json:

{
  "name": "ffmpeg-delete-me",
  "version": "0.0.1",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "Wes Bos (https://wesbos.com/)",
  "license": "MIT",
  "dependencies": {
    "@ffmpeg.wasm/core-mt": "^0.13.2",
    "@ffmpeg.wasm/main": "^0.13.0"
  },
  "type": "module"
}

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