3 ms·
Can video clips be larger than 2GB or 4GB? because there is a mem limit for each browser tab. does using this violate the h264 patent?
by billconan 4y ago
Can video clips be larger than 2GB or 4GB? because there is a mem limit for each browser tab.
does using this violate the h264 patent?
- captainhorst 4y agoSadly, videos can't be larger than that. For one there's a memory limit per browser tab. Secondly, wasm32 is not able to address more than 4 GB of memory. Editing feature length movies is certainly out of scope for this editor. It's meant for editing short 10-30 second video clips that are well within the limits of 2 GB. We keep compressed video in memory and only deal with a few decompressed frames at a time. We avoid H264 patents by not shipping an H264 encoder/decoder. We leverage the browser's WebCodecs API which in turn uses the platform's native codec API. It's the OS and the hardware vendors that license H264 patents because they're the ones providing the H264 implementation.