-
Notifications
You must be signed in to change notification settings - Fork 1
Storage plugins
AndreyBarmaley edited this page Apr 20, 2022
·
14 revisions
json config:
"type": "storage_file",
"debug": 1,
"signals": [ "mouse:click", "takeSnapshot" ],
"overwrite": false,
"deinterlace": false,
"#scale": [ 640, 480 ],
"filename": "/var/tmp/%Y%m%d_%H%M%S.png"
description:
this plugin saves the image. service words also work for formatting: ${uid}, ${pid}, ${user}, ${home}, ${label}.
json config:
"type": "storage_video",
"debug": 1,
"signals": [ "mouse:click", "takeSnapshot" ],
"#record:format": "avi",
"#record:fps": 25,
"#record:sec": 0,
"#record:geometry": [0, 0],
"filename": "/var/tmp/%Y%m%d_%H%M%S.avi"
description:
this plugin saves the ffmpeg video. service words also work for formatting: ${uid}, ${pid}, ${user}, ${home}, ${label}.
json config:
"type": "storage_vnc",
"signals": [ "tick:1" ],
"debug": 0,
"port": 5905,
"noauth": false,
"password": "remotepass",
"#passfile": ""
description:
this plugin streamed to vnc.
json config:
"type": "storage_script",
"debug": 0,
"signals": [ ],
"exec": "/path/to/script-store.sh",
"filename": "/path/to/capture-store.png"
description:
this plugin saves the image and runs the script with the parameter as image file.