PIP (Picture In Picture)

Prev

Next

 






































































































PIP (Picture In Picture)

Description

PIP (Picture In Picture) between several TVideoGrabber components

During preview, recording or playback, a TVideoGrabber component can receive and display the video from others TVideoGrabber components, and display their videos as rectangles in "PIP" mode (Picture in Picture)

This is set up by invoking Mixer_SetupPIPFromSource and passing as parameter the TVideoGrabber component used as source, the source rectangle that should be captured, and the destination rectangle where the PIP should be displayed.

The first boolean parameter specifies if the PIP must be activated or deactivated

The last boolean parameter specifies if the PIP must be located at the top (useful only if several PIPs are overlapped)

It is possible to make several PIPs on the same video frame.

E.g. let's suppose the whole VideoGrabber2 video frame should be displayed as a 80x60 rectangle at the x=10, y=10 location in VideoGrabber1, invoke:

VideoGrabber1.Mixer_SetupPIPFromSource (VideoGrabber2.UniqueID, 0, 0, 0, 0, true, 10, 10, 80, 60, false)


E.g. let's suppose a 160x120 rectangle of VideoGrabber2 locateed at x=40 y=60, should be displayed as a 80x60 rectangle at the 10, 10 location in VideoGrabber1, invoke:

VideoGrabber1.Mixer_SetupPIPFromSource (VideoGrabber2.UniqueID, 40, 60, 160, 120, true, 10, 10, 80, 60, false)


You can re-invoke this function on the fly several times, e.g. to activate/deactivate the PIP or to modify its location or size.