Skip to content

Webcam Audio Recording

Martin Konopka edited this page Apr 23, 2018 · 4 revisions

Code: WCA

Webcam audio recording captures ambient noises, it requires:

  • Webcam with microphone or a standalone microphone connected to the PC.
  • FFmpeg binary which is included in the UXC app.

Configuration

  • App configuration - section [Device.Streamers.Audio]
    • DeviceName = Microphone Array (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 mp3.
  • Session configuration:
    • Bitrate : int (optional) - bitrate of the audio recording in kbps. If not specified, default value is 256.

App configuration example:

[Devices.Streamers.Audio]
DeviceName = Microphone Array (Creative Senz3D VF0780)
AutoSelectDevice = True
Extension = mp3

Session configuration example in Session Definition JSON object:

{
    "project": /* project name */,
    "name": /* session name */,
    "devices": [
        {
            "device" : "WCA",
            "configuration": { "Bitrate" : "320" }
        },
        // ... other devices
    ],
    // ... other SessionDefinition settings
}

Recording data

Audio file is recorded instead of structured data, i.e., WCA_data.mp3 file is located in the session recording data.

Clone this wiki locally