Skip to content

Webcam Video Recording

martinkonopka edited this page Jul 30, 2018 · 4 revisions

Code: WCV

Webcam video recording captures video output of the camera connected to the PC, it depends on:

  • Webcam connected to the PC; and
  • FFmpeg binary which is included in the UXC app.

The video is recorded with camera default framerate.

Configuration

  • App configuration - section [Device.Streamers.Video]
    • DeviceName = Creative Senz3D VF0780 - name of the recording device used by the FFmpeg.
    • AutoSelectDevice = True or False - if another video recording device should be used, if the device with DeviceName is not found. Default is True.
    • Extension - output file format, default is mp4.
  • Session configuration:
    • Preset - specifies resolution of the video, one of the following values:
      • Source (default) - input resolution, i.e., original webcam resolution.
      • HD - 1080p resolution.
      • HDR - 720p resolution.
      • SD - 480p resolution.
      • Low - 360p resolution.

App configuration example:

[Devices.Streamers.Video]
DeviceName = Creative Senz3D VF0780
AutoSelectDevice = True
Extension = mp4

Session configuration example in Session Definition JSON object:

{
    "project": /* project name */,
    "name": /* session name */,
    "devices": [
        {
            "device" : "WCV",
            "configuration": { "Preset" : "HD" }
        },
        // ... other devices 
    ],
    // ... other SessionDefinition settings
}

Recording data

Video file is recorded instead of structured data, i.e., WCV_data.mp4 file is located in the session recording data.

Clone this wiki locally