▲ 4 r/compression
How can I process large rrweb recordings in chunks and convert them to MP4 without loading the entire JSON into memory?
I'm working with rrweb session recordings that can grow to 100MB+ (sometimes much larger). I need to convert these recordings to MP4 videos, but loading the entire rrweb JSON into memory is not feasible due to memory constraints.
My goal is:
- Record session with rrweb
- Store large recordings efficiently
- Replay/process in chunks
- Generate MP4 without loading the entire recording into RAM
Any architecture suggestions or real-world implementations would be appreciated.
u/FindingPotential6046 — 17 days ago