Frame overlay vs window overlay

Prev

Next

 






































































































Frame overlay vs Window Overlay

Description

FRAME OVERLAY vs WINDOW OVERLAY

It is possible to apply the overlays:

A) over the video frames
(the frame grabber must be enabled).
- if the video frames are stretched, the overlays are stretched too
- if the video source is being recorded and RecordingInNativeFormat is disabled, the overlays are applied to the recording.
To apply the overlay over the video frame, set the "target display" property to -1 (default value anyway) by invoking SetTextOverlay_TargetDisplay (overlay index, -1), or SetImageOverlay_TargetDisplay (overlay index, -1)

B 1) over the display video window(s)
- the size of the overlays is fixed and not stretched when the video frame or video window is resized
- if 2 or more video windows are used for the same video stream (enabled by the DualDisplay... properties), it is possible to apply the overlay to only one of the video windows.

To apply the overlay over ALL the video windows, set the "target display" property to -2 by invoking SetTextOverlay_TargetDisplay (overlay index, -2), or SetImageOverlay_TargetDisplay (overlay index, -2)

To apply the overlay over only 1 of the video windows, set the "target display" property to the index of the video window in the 0..n-1 range, by invoking e.g. SetTextOverlay_TargetDisplay (overlay index, 0), or SetImageOverlay_TargetDisplay (overlay index, 1)

The video windows indexes are assigned as follows:

- the default video window ("Display_..." settings) corresponds to the index 0
- the 2nd video window ("DualDisplay_..." settings) corresponds to the index 1
- the 3rd video window corresponds to the index 2
and so on...