Has anyone managed to work with large files? #516
Unanswered
fulopdaniel
asked this question in
Q&A
Replies: 2 comments 3 replies
|
Good question. I would personally go with the direction you mentioned. Split the files into < 4 GB chunks in JavaScript and then process those files with WebAssembly. |
0 replies
|
I have added pull request #581 that enables WORKERFS. With WORKERFS you can mount Files into the ffmpeg filesystem larger than 4Gb for reading. Largest I have tested for reading is a 13.2Gb mkv and it worked. Forked repo: LostBeard/ffmpeg.wasm Live demo (Blazor WASM): LostBeard/ffmpeg.wasm release v0.12.7 |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have been spending quite some time now figuring out ways to be able to convert files that are > 4gb. I know there is a hard limit on webassembly memory usage, so I've been looking into chunking, streaming, even this thread gave me some hope, mounting the WORKERFS file system, but it also threw a memory allocation error when I was trying to convert a 5gb video.
So I was wondering, if greater minds than me have any ideas how something like converting 5gb video files can be achieved.
All reactions