-
-
Notifications
You must be signed in to change notification settings - Fork 1k
-
I created an app (https://vidstitch.ieatbeans.com) that concats videos using the demuxer, and it works if the total file size is less than 2gb. Anything over that and it fails with Array buffer allocation error. I think the WASM limit is 4gb, so maybe its 2gb for me because the input files and the output file have to both exist in the FS?
Also, I think this uses memory (RAM) for the virtual FS, would there be a way to do this in the disk instead that bypasses that limit? Im fine if its slower, I just need more than 2gb!
I tried dynamically deleting and creating the input files as FFmpeg works, but it looks like once I start the exec it won't do any FS operations until it finishes, even using the mt version.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Yes, Its possible. Check out my example - I was able to trim 5GB video using the latest version with WORKERFS
https://github.com/pavloshargan/ffmpeg-browser-4gb-plus
Beta Was this translation helpful? Give feedback.