Page 1 of 1

Basic code for scripting screen capture

Posted: 23 Oct 2017 15:31
by Reverse7
Hi there,

I am trying to create a batch script that will do the following:

- Capture screen to h.264, 30 or 60fps
- Capture sound/default mic
- Save output to file
- Batch file or even a shortcut key to stop the recording (ie, bind F5)

I've been able to get it to create the file, but it stays at 199 bytes, no data is written to it.
I've looked into using the GUI to give me the strings required, however it dosent present all of it.

Can someone please provide a good kick start script that does basic record to file.
The rest of the stuff I'll add.

Thamks.