ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Uncaught RuntimeError: abort(OOM)

Đang mở
#183 4 bình luận 9 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
17.8k
Fork
1.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.