Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Possible to use more than 2/4GB of files? #755

Unanswered
KyGuy2002 asked this question in Q&A
Discussion options

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.

You must be logged in to vote

Replies: 1 comment

Comment options

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

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /