Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOM error when processing 4k Videos #717

Open
pavloshargan opened this issue Apr 3, 2024 · 1 comment
Open

OOM error when processing 4k Videos #717

pavloshargan opened this issue Apr 3, 2024 · 1 comment

Comments

@pavloshargan
Copy link

I am using 0.11.6 release of ffmpeg.wasm and 11.0 release of ffmpeg-core and can't process any 4K videos, even 1 second video.

What I'm doing is I load a video and a single png and executing following command:
ffmpeg -I video.mp4 -I image.png -filter_complex overlay=10:10 -codec:a copy output.mp4
The RAM is filled up to 1100mb when I try with 4k video and it throws OOM error. For 1080p videos it loads about 1000mb of memory and everything is fine.

For 1080p videos it works fine, even if it's 1.5gb clip.

Does it worth to try newer releases? Or should I change some configuration?

@iketiunn
Copy link

Check #511, output a 4k video might be the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants