Versions Compared

Key

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


Column
width50%


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



Column


The You can add the Video capture device object for grabbing video image from application windows via FFMPEG driver can be added either by manually creating capturing video from the application window via the FFMPEG driver by creating and configuring the Video capture device object or using the Camera discovery tool. The latter way is preferable.

The additional options allow selecting the Using the additional settings, you can set a specific application window as well as adjusting the window area and decompression parameters. Currently, the driver supports the following codecs: video capture in the MJPEG (default) format and RGBA/BGRA formats, decompression to MJPEG, MPEG2, YUV422 formats.

Creating the Video capture device

...

objects

To add Add the Video capture device object for grabbing video image from application windows and Audio card and Microphone objects for grabbing sounds via FFMPEG driver as follows:capturing video from the application window via the FFMPEG driver, do the following:

  1. Open Start the Camera discovery tool.
    Image Modified
  2. Enter any IP address in In the IP address field (1), enter any IP address. The driver automatically sets the proper required address for this model.

    Info
    titleNote.

    When adding you add a device of this device type by manually creating the Video capture device object, set you must specify the address in the IP address as described in Grabbing video image from application windows via FFMPEG driver subsection below field in the format described below (see Additional settings of the FFMPEG device).

  3. From the Brand drop-down list (2), select the FFMPEG (2)value.
  4. From the Model drop-down list (3), select the Windows capturer (3)model.
  5. From the Firmware drop-down list (4), select the auto (4)firmware.
  6. Click the Add button (5). The device is added to the list.
  7. Set the checkbox next to the added device (6).
  8. Click the Apply button (7).
  9. Click the Exit button (8).

Additional

...

settings of the FFMPEG device

The address with additional options for You can manually set the address line by including the ffmpeg utility can be specified options to it in the IP address field on the settings panel of the Video capture device object settings panel. In this case, the address has looks in the following formatway:

gdigrab://"App_name"[:-additionalOptions]

App_name is the name of the application that appears is displayed in the window title bar of the window. The name must can contain only the Latin characters and /or digits. If there are any other symbols characters used in the window title, use change it using the third-party tools to change the titleutilities.

additionalOptions allow setting With additionalOptions, you can set a specific area and several other options.Below is the

The list of options supported by the ffmpeg library for the gdigrab mode:

  • -draw_mouse <int> draw the mouse cursor (from 0 or to 1) (1 by default);
  • -show_region <int> draw borders across the capture line (from 0 or to 1) (0 by default);
  • -framerate <video_rate> set the frame rate ("ntsc" ntsc” by default);
  • -video_size <image_size> set the frame size;
  • -offset_x <int> indent along the x axis of the capture area (from INT_MIN to INT_MAX) (0 by default);
  • -offset_y <int> indent along the y axis of the capture area (from INT_MIN to INT_MAX) (0 by default);.

Example of the IP address field value with the "additionalOptions" additionalOptions” property:

gdigrab://"Calculator":-draw_mouse 1 -show_region 1 -framerate 25 -video_size 640x480 -offset_x 10 -offset_y 10​