content.gif menu.gif basics.gif

  Export of Video Data

In order to circulate video recordings to a third party, it is possible to export video data. An AVI file is exported. Thus, it is possible to play back the exported data with every commercial player.

Setup the Export Function

In order to use the export function, some settings have to be set.

 

General settings

General settings for the export function take place in the [VIDEOexport] section of the config files.

The following entries can be set:

Entry

Data Type

Default

Range

Description

playerLinux

string

-1 (no player)

-

Specifies the path to the player for the AVI playback under Linux.

playerWindows

string

-1 (no player)

-

Specifies the path to the player for the AVI playback under Windows.

videoDataPath

string

DATA_PATH

-

Specifies the path to the directory to which the exported video data can be moved after the export process.

exportSpeed

int

100 (%)

0-100

Specifies the export speed in % of the real time (only supported by VRM at the moment).

example.gifExample

 

[VIDEOexport]

playerLinux = "/opt/WinCC_OA/player/myplayer"

playerWindows = "C:/WinCC_OA_Proj/player/player.exe"

videoDataPath = "D:/_DATA/WinCC OA/Video_Framework/VIDEO_FW/data/to_burn_machine"

exportSpeed = 97

 

VRM settings

VRM Proxy

The VRM Proxy is a WinCC OA API Manager that has been developed for the Bosch Video Recording Manager (VRM). It has two tasks:

  1. The VRM Proxy routes all RCP+ commands for playback control of the VRM from the Video driver to the VRM and backwards. This routing is necessary, since the VRM is not able to send RTP data to an instance, which does not represent the RCP controller of a playback session at the same time.

  2. The VRM Proxy contains a VRM export server. This receives an H.264 video stream over RTP according to RFC3984 from a VRM. The received H.264 video data is transcoded to JPEG single images and is saved in form of a MJPEG stream to a AVI file (AVI-1.0). The transcoding takes place via the SDK from MainConcept, which is already integrated in an Video EWO, and the IJG JPEG library. The control of the export server and of the Video Recording Manager is carried out by the Video driver in the same way how the connection of a video source on the Video EWO takes place.

The VRM Proxy must be given on each Video client, on which video of a VRM should be received.

The AVI export of the VRM is controlled via the VRM Proxy. At the VRM Proxy the following settings have to be set in the [VRMProxy] section for the export function.

Entry

Data Type

Default

Range

Description

aviExportPath

string

DATA_PATH

-

Specifies the target path for the AVI export.

aviExportQuality

int

70 (%)

0-100

With the aid of the aviExportQuality value the JPEG compression quality is set. 100% means lossless compression, i.e. the highest image quality. The lesser the value the higher the information loss (increase of compression artefacts) by the use of compression and the lesser the required space for an image. At a value of 70% and the given resolution the human eye does not notice the accrued artefacts.

example.gifExample

 

[VRMProxy]

aviExportPath = "D:/_DATA/WinCC OA/Video_Framework/VIDEO_FW/data/video_export"

aviExportQuality = 72

 

Artibrain settings

The settings for the export have to take place at the Artibrain export server. The export path should always be set at the setting in aviExportPath to save all export data at one place.

Enabling Export Servers

In the data point element _VIDEO_MAIN.export.exportServer is defined, from which workstations an export can be started. Therefore all computer names of all export workstations have to be entered to this element. If no computer names are defined in this element, all workstations are enabled as export workstations.

Operating Export

At every export workstation the export operation is visible in the playback panel. The range of the export can be selected as follows:

  1. The "Use Timespan from Table Selection" button sets the start and end time to the time, which is selected in the table.

  2. The "Apply Slider Time" button sets start and end time to the current slider time.

  3. Start and end time can be set separately. Click on the buttons next to the time specification to do so.

video-123.gif

With the "Export Video" button the export is started.

The export progress is shown in the progress bar.

In order to copy and move exported video files between the export directory and the burn directory the export panel can be used.

page_top.gif

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved