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
Out of memory on -preset medium #83
Comments
|
Same issue here, with a .mkv file. My arguments are: I'm running node v12.13.0 (LTS), if that matters. |
|
@LucCADORET could you reproduce with the latest build? Please provide your source file if it still fails. |
|
I've reproduced the problem with Need to find why changing TOTAL_MEMORY doesn't help. Maybe it should be fixed as part of #10 (enable memory grow). |
|
Closing in favor of #10. |
|
I tried WASM, but it has some limitations like the ArraySharedBuffer where is not available on Safari, and the page needs to use some strict CORS headers. Is it possible to fix this memory issue without using the WASM version? |
Hi @Kagami , Thanks for the ffmpeg.js, it is very useful.
Actually my issue is while am encoding the webm video to convert mp4, the memory allocate issue occurs. (Cannot enlarge memory arrays).
Ref issue : #9, In this issue you mentioned the values to enlarge the TOTAL_MEMORY , I tried on that way too.... But i fails for the below configuration. Now am using 1gb on my TOTAL_MEMORY value. And from myside i tried all the values which you are mentioned to the TOTAL_MEMORY.
My system configuration:
RAM: 4gb, BIT: 32 bit.
I am using threads value 4, and my command is
-i input.webm -r 24 -c:v libx264 -crf 22 -pix_fmt yuv420p -threads 4 -rtbufsize 100M -b:a 128k -preset ultrafast output.mp4.Kindly know me what i missed in my command else what i need to do to resolve the memory allocation issue. Thanks in advance
cc: @thijstriemstra @PaulKinlan
The text was updated successfully, but these errors were encountered: