Example Configurations

This section includes example configurations that demonstrate how to chain two Media Servers.

The following configuration, for the upstream Media Server, runs face detection and then sends the records to a Media Server at gpu-mediaserver:14000:

[Session]
Engine0=Ingest
Engine1=FaceDetect
Engine2=FurtherProcessing

[Ingest]
Type=Video

[FaceDetect]
Type=FaceDetect
NumParallel=4
FaceDirection=Front
MinSize=10%

[FurtherProcessing]
Type=Post
Input=FaceDetect.ResultWithSource
Host=gpu-mediaserver
Port=14000
ConfigName=DownstreamFaceRec

The following configuration, for the downstream Media Server, runs face recognition on records received from other Media Servers. To match the upstream configuration, above, this should be saved as DownstreamFaceRec.cfg, in the folder specified by the ConfigDirectory parameter on the downstream Media Server.

[Session]
Engine0=RecordsFromUpstream
Engine1=FaceRecognition
Engine2=IDOL

[RecordsFromUpstream]
Type=Receive
Input=FaceDetect.ResultWithSource

[FaceRecognition]
Type=FaceRecognize
Input=RecordsFromUpstream.FaceDetect.ResultWithSource
RecognitionThreshold=60
MaxRecognitionResults=1
			
[IDOL]
Type=IDOL
Input=FaceRecognition.Result
IdolHost=content
IdolPort=9000
IdolDB=BroadcastVideo
Mode=Time
OutputInterval=60
XslTemplate=toIDX.xsl