node.jsffmpegelectronscreen-recording

record screen with high quality and minimum size in ElectronJS (Windows)


as I said in the title, I need to record my screen from an electron app.

my needs are:

by minimum size I mean about 400MB on 720p and 700MB on 1080p for a 3 to 4 hours recording. we already could achieve this by bandicam and obs and it's possible

I already tried:

I don't know what else I can do, please tell me if u know a way or simple tool that can be used through CLI to achieve this and guide me through this


Solution

  • I end up using the portable mode of high-level 3d-party applications like obs-studio and adding them to our final package. I also created a js file to control the application using CLI

    this way I could pre-set my options (such as crf value, etc) and now our average output size for a 3:30 hour value with 1080p resolution is about 700MB which is impressive