ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Uncaught RuntimeError: abort(OOM)

Open
#183 4 comments 9 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

OS: windows 10
Browser: Brave (Version 1.23.71 Chromium: 90.0.4430.72 (Official Build) (64-bit)

the ffmpeg command
`ffmpeg -i myfile.mp4 -i watermark.png -filter_complex "overlay=(W-w)/2:(H-h)/2" temp.mp4`

where `myfile.mp4` is about 100Mb of size

In wasm, looks like this

```
await ffmpeg.run(
'-i',
'tempVideo.mp4',
'-i',
'tempLogo.png',
'-filter_complex',
'overlay=(W-w)/2:(H-h)/2',
'temp.mp4'
);
```

Commands runs to a point, then throws the

`[fferr] pthread sent an error! blob:http://localhost:4200/e85d344e-e7d0-4077-9e95-93b09522743d:1: Uncaught RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info.`

Running the example on the ffmpeg.wasm page works fine. I am able to use the command in grabbing screenshots, works fine too. I'm taking it a step further with trying to add overlay to a video, and that's where the errors are coming from

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.