-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
ffmpeg plugin: Increase TOTAL_MEMORY #539
Comments
@aphavichitr what version of chrome and macos? |
I'm on Chrome 88.0.4324.96 and MacOS 10.15.6 |
I would try ffmpeg.wasm plugin in videojs-record 4.2.0 instead. |
How do i get videojs.record 4.2.0? |
It's not released yet (at time of this writing) but you can install master branch using: |
Description
I'm trying to convert my videos to mp4 using the ffmpeg.js plugin. I had to downgrade ffmpeg.js to an earlier version, 3.1.9001 otherwise I would get a OOM error in chrome (as documented in: #481). After downgrade during the conversion I started getting a "Cannot enlarge memory arrays." error. I found the solution on (Kagami/ffmpeg.js#9), which requires the TOTAL_MEMORY to be increased and passed in. Is there a way to do this?
Steps to reproduce
Record a video with the following conversion settings:
Results
Expected
Should be able to convert video if memory is increased.
Actual
Failed to convert due to lack of memory.
Error output
Additional Information
Please include any additional information necessary here. Including the following:
versions
videojs
4.1.1
ffmpeg.js
3.1.9001
browsers
Chrome
OSes
Mac
The text was updated successfully, but these errors were encountered: