Video renderer is a synthetic video stream of data coming from one or several video sources available in Viinex. Video from these sources is encoded into one video stream in H.264 format, and this synthetic video stream can be managed using standard Viinex features: for example, it can be recorded into a video archive or sent to remote users and so on.
This allows to display video from multiple cameras simultaneously in a mobile client using standard features, which is particularly important for mobile devices. For PC this task can be partially done by the browser through hardware video decoding support. For example, Chrome that supports hardware decoding can display 9 streams of 2 megapixel each. If however you need to display more video streams in a web client, using a video renderer can be increased manyfold.
An integrating application is provided with various setting options when creating a synthetic video stream:
- layout of video channels displayed, which can overlap each other (every viewport position and size can be set);
- every initial source can be displayed in any number of viewports; a digital zoom is supported, with a possibility to specify an area in original video that can be displayed in a certain viewport;
- it is possible to display a customized background and overlay with an adjustable gradient color on a synthetic video.
An example of a video stream can be seen at our demo.
In addition video rendering features are used for:
- projective video transformation when recognizing vehicles license plates, if a camera can not be mounted with a certain angle;
- inserting titles, since it provides a possibility to place any image on top of the video, with transparent color (colorkey). In Viinex this feature is combined with a call to a cutting edge engine for HTML rendering, which allows to place on top of the video an image of an HTML page of any complexity, including text formatting, various fonts, raster and vector graphics.