Electron IPC messages have to serialize data and over 1GB or so, this causes a crash.
As I think we have to at least load small files to continue handling posts the way we were, we'll keep sending the buffer for under 500MB, but use ffprobe to get duration in the electron main process instead of relying on creating a browser File object.
Electron IPC messages have to serialize data and over 1GB or so, this causes a crash. As I think we have to at least load small files to continue handling posts the way we were, we'll keep sending the buffer for under 500MB, but use ffprobe to get duration in the electron main process instead of relying on creating a browser File object.