ofxMacScreenRecorder recorder;
...
void setup() {
ofxMacScreenRecorderSetting setting;
setting.recordingArea.set(0, 0, 1920, 1080);
setting.frameRate = 60.0f;
recorder.setup(setting);
}
void keyPressed() {
if(recorder.isRecordingNow()) recorder.stop();
else recorder.start(ofToDataPath("test")); // not need extension.
}
MIT License.
- ISHII 2bit [bufferRenaiss co., ltd.]
- ishii[at]buffer-renaiss.com
Please create new issue, if there is a problem. And please throw pull request, if you have a cool idea!!