ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Uncaught RuntimeError: abort(OOM)

Aperta
#183 4 commenti 9 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
17.8k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.