This section includes example configurations that demonstrate how to chain two HPE Media Servers.
The following configuration, for the upstream HPE Media Server, runs face detection and then sends the records to a HPE Media Server at gpu-mediaserver:14000
:
[Ingest] IngestEngine=AV [AV] Type=LibAV [Analysis] AnalysisEngine=FaceDetect [FaceDetect] Type=FaceDetect FaceDirection=Front MinSize=200 SizeUnit=pixel [Output] OutputEngine0=FurtherProcessing [FurtherProcessing] Type=Post Input=FaceDetect.ResultWithSource Host=gpu-mediaserver Port=14000 ConfigName=DownstreamFaceRec
The following configuration, for the downstream HPE 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 HPE Media Server.
[Ingest] IngestEngine=RecordsFromUpstream [RecordsFromUpstream] Type=Receive Input=FaceDetect.ResultWithSource [Analysis] AnalysisEngine0=FaceRecognition [FaceRecognition] Type=FaceRecognize Input=RecordsFromUpstream.FaceDetect.ResultWithSource RecognitionThreshold=60 MaxRecognitionResults=1 [Output] OutputEngine0=IDOL [IDOL] Type=IDOL Input=FaceRecognition.Result IdolHost=content IdolPort=9000 IdolDB=BroadcastVideo Mode=Time OutputInterval=60 XslTemplate=./xsl/toIDX.xsl
|