Versions Compared

Key

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


Section


Column
width35%50%


Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:
Table of Contents



Column


The Video capture device object for receiving To receive video and audio from USB web camera webcams via the FFMPEG driver can be added either by manually creating the Video capture device or using the , you can add the Video capture device object either by Creating and configuring the Video Capture Device object or using the Camera discovery tool. The latter way method is preferable.

Using the FFMPEG driver for connecting USB web cameras webcams has the following features:

  • Video and audio streams are not combined for the discovered devices. For example, so if there are is a USB camera with a microphone, 2 devices a shown – two devices are discoveredone video-only device and one audio-only device.
  • In order to make a single device with both audio and video streams, manually edit the IP address field on the settings panel of the Video capture device object settings panel. Enter To specify the name of the audio device, enter its name with a colon after the name of the video device divided by the colon. See also Additional options Advanced settings for the FFMPEG device below.
  • Both video and audio device may be absent, i.e. devices can be unavailable. For example, if you specify the device address may be like “dshowas dshow://:Internal Microphone (Conexant ISST Audio)” allowing to use the , a device without video but with audio is available.

Creating the Video capture device object

In order to To add the the Video capture device object to receive video and audio over via RTSP or and RTMP protocols via FFMPEG driver, proceed as followsusing the Dshow device (USB camera) model, do the following:

  1. Start the Camera discovery tool.
    Image Modified

  2. In the Model list (3), select Dshow device (USB camera).
  3. In the Firmware list (4), select auto.
    As a result, the discovered devices are displayed in the FFMPEG list (2). If the required device isn't discovered, proceed to the next step. If the device is discovered, proceed to step 5.
  4. Click the Search button The found FFMPEG devices are shown in the list. If the required device is not displayed, click Search (1) and wait for re-discovery finishes. Check that the (2) list shows FFMPEG, the (3) list shows Dshow device (USB camera), and the (4) list is set to auto. Change the values if necessary by opening the drop-down list selecting the proper value.
    From the drop-down list (5) select settings which should be installed on the IP-device while its adding to the device tree: leave installed device settings or apply Axxon PSIM video server settings.the repeat discovery to complete.
    If necessary, you can add the device manually by Creating and configuring the Video Capture Device object. For the device address format, see Advanced settings for the FFMPEG device below.
  5. In the Settings list (5), select:
    1. Video server settings, if you want to send the settings specified in Axxon PSIM to the camera when you add it.
    2. Device settings, if you want to use the device settings.
  6. Enter Specify the login (6) and password (7) to connect the FFMPEG device. Login The login and password are specified in the documentation for connected of the network device that you connect. These fields are usually left emptyUsually these fields must be left blank.
  7. Check if the TCP/IP port is configured correctly (8) . Enter the proper value if necessaryis correct. If necessary, enter the required value in the field.
  8. Select the objects to be created under that you want to create on the basis of the FFMPEG device by setting the corresponding checkboxes (9, see).
    Info
    titleNote

    For more information, see Camera discovery tool

    for details)

    .

  9. Click the Apply button (10) for one device (10) or the Apply button (11) if several devices are selected.
    The selected objects are automatically created in the object thee tree on the Hardware tab.
  10. Click the Exit button (12) to close the IP Wizard window (12) Camera discovery tool window.

...

Advanced settings for the FFMPEG device

...

  • You can specify the address manually by including the parameters of the ffmpeg utility after the colon

Additional options for the FFMPEG device

...

  • in the IP address field on the settings panel of the Video capture device object

...

  • .

...

  • In this case

...

  • the address

...

  • looks like this:
    dshow[index]://[video_device_name]:[audio_device_name]:[-additional_options] 

...

  • By default, the index is

...

  • set to

...

  • 0 unless you specify another option. A non-zero index is used

...

  • when several devices with the same name are connected to the system at the same time, for example,

...

  • dshow1://USB 2.0 HD

...

  • Camera if there is already dshow://USB 2.0 HD

...

  • Camera.

...

  • You can specify the required resolution and

...

  • codec

...

  • that the USB camera

...

  • outputs different from the default settings

...

  • :
    -pixel_format yuv420p -video_size 1280x960
  • The list of

...

  • settings and the list of parameters of these settings depend on the format and

...

  • a specific device.

...

  • You can find out the set of allowed parameters for dshow devices using the following command:
    ffmpeg -list_options true -f dshow -i video="<device name>"

Connecting multistream devices

Two streams can be enabled for the camera created under the A camera that is created on the basis of the Video capture device object with the Dshow device (USB camera) model and the following codecs are available for each of the streamshas two streams. You can select a codec for each stream:

  • YUV422 – the codec for the detection detector stream.
  • MJPEG – the codec for transmitting transmission over the network and for saving to the archive. See also Configuration of an archive.
Info
titleNote

For more information, see Configuring the multistream video.