Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If a device is added automatically (see Adding and removing IP devices), separate objects are created for video and audio streams.

If you need to create a single object, add the device manually using the following address format:

No Format
dshow(<index>)://(<video_device_name>)(:<audio_device_name>)

Image Modified

If no index is specified in the address, the value is 0. Use a non-zero index if you use multiple devices with the same name.

For example:

No Format
dshow://USB 2.0 HD Camera
dshow1://USB 2.0 HD Camera

...

After you added the device, you have to set up its streams. For archive recording and transferring videos over the network, MJPEG codec is recommended; for detection purposes, use YUV422.

Image Modified

If required, you can set a parameter string for FFmpeg app in the Additional оptions field.  

Image RemovedImage Added

For example: receive video from a USB camera in YUV420P format, 1280x960 resolution.

...

Parameters and their values differ by format and particular device. To list possible parameter values, run the following command from the Windows command line:

No Format
ffmpeg -list_options true -f dshow -i video="<device name>"

...