ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Uncaught RuntimeError: abort(OOM)

Ouverte
#183 4 commentaires 9 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C
Étoiles
17.8k
Forks
1.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.