Video Preview

The video preview sample demonstrates how to embed the ImageViewerControl into your own UserControl on a Smart Client view or a UserControl in Management Client.

The general idea is to provide a simple way of placing overlays or configuring video position relevant parameters, for example, tripwire analytics.

MIP Environment - Smart Client

In this sample, you can place an overlay on top of live images. When “Draw Line” is enabled, start by pushing the left mouse button, then drag it and release to finish the line.

Other features of the ImageViewerWpfControl are also demonstrated: Choose camera and stream, show time information, show header with camera name, digitally zoom etc.

Note: The sample uses WPF. This is also the general recommendations for Smart Client plug-ins. ImageViewerControl uses WinForms and ImageViewerWpfControl uses WPF but otherwise the two controls are very similar.

Video Preview in Smart Client

MIP Environment - Management Client

This sample shows how to place a live video stream on a UserControl for configuration purposes.

When you select a camera and click the Start button, the sample shows live stream. Statistics are displayed at the bottom. The Draw Line button is used for simple placement of a line. (The line itself is not used for anything).

Use the Playback and Live buttons to stop or restart the live streaming.

Video Preview in Management Client

The sample demonstrates

Using

Environment

Visual Studio C# project