Page History: Camcorder Element
Compare Page Revisions
Page Revision: 2014/11/07 08:31
|
Camcorder
|
Info |
Category: |
Monitoring |
|
AddIn: |
Base Elements |
Creator: |
OkazoLab Team |
|
Scope: |
Global |
Owns Snippets: |
no |
|
Usage: |
Background |
Camcorder element allows synchronized video recording using any computer video device, e.g. web-camera, at the background of experiment.
Description
The camcorder element streams a video into a file (one per experiment run) together with custom text markers that can denote experiment events or carry other information. Use Windows Media Player for playback of recorded videos to unsure visibility of the markers.
Snapshots
Snapshot 1
| Snapshot 2 |
Practical Use
Technique 1
- Step 1
- Step 2
Technique 2
- Step 1
- Step 2
// Check the trial outcome. Result and RT just other user variables
// insert code snippet here..
Element actions aligned with different epochs of the parent event
Epoche | Actions |
---|
Initialized | The camera starts capturing video |
Rendered |
Activating |
Activated |
Running | The camera output is captured and rendered via the Video Output property, if the latter is bound to the status screen |
Deactivated |
Deinitialized | The camera stops capturing video |
Notes
Insert Notes here..
Properties
Generic Properties
Name | Description | Constraints | Value Type | Upon Runtime Change |
---|
Settings |
Video Device | Defines a video device for capturing. A drop-down selection list shows all devices available in the system. | | String |
Device Settings | Opens a window with OS settings of the selected video device. | |
Audio Device | Defines an audio device for capturing. A drop-down selection list shows all devices available in the system. | | String | - |
Output Folder | Opens the dialog for selecting a local folder that will hold all recorded videos. If no or relative path is defined, the videos will be saved relative to the location of the experiment file. | | Custom Settings |
Use Custom Settings | Define whether custom frame size and framerate are used for video capturing. The custom settings are only applied, if the resolution and framerate values are supported by the selected video device. Otherwise, the device's default settings are used. | | Boolean |
Resolution | Define the resolution of a captured video. The video frames can be scaled to any size in rendering, but choosing a larger resolution improves rendering quality with a cost in performance. | | clSize |
Frame Rate | Define the custom framerate of video capturing, in frames per second | | Int32 |
Runtime Status |
Save Marker Now | Runtime snippet action that that adds a sync text marker into the recorded video. Use the action in the code snippets, e.g. 'SaveMarkerNow=\"Trial Onset\";'. In order to end the marker, save an empty string: 'SaveMarkerNow=\"\";' | FORMATTER ERROR (Snippet Not Found) | String |
Actual Settings | Returns the actual resolution and framerate of the current video capture. The property is updated at the start of every experiment run. | | String |
+=== Properties inherited from clElement ===
Inherited properties of clElement
Name | Description | Constraints | Value Type | Upon Change |
---|
Control |
Is Enabled | If set to false the element is completely omitted when the experiment is run. | | Boolean |
|
Title | Title of the element. | | String |
|