Before running analysis on media, you must create a Media Server configuration file that instructs Media Server which analysis operations to perform. You can either:
ConfigDirectory
parameter, in the [Paths]
section of the Media Server configuration file. In this case set the MediaServerConfigurationName
parameter when you configure HPE CFS, so that HPE CFS sends the name of the configuration to Media Server when it runs the process
action to start processing.MediaServerConfigurationFileName
parameter when you configure HPE CFS, so that HPE CFS sends the configuration file to Media Server when it runs the process
action to start processing.HPE CFS sends files to Media Server for analysis. There is no single configuration that can process both images and video, so you must configure Media Server to ingest the correct type of media.
To ingest video files, add the following to your configuration:
[Ingest] IngestRate=0 IngestEngine=VideoFiles [VideoFiles] Type=LibAv
Alternatively, to ingest image files or documents (such as PDF and office documents that contain embedded images), use the following:
[Ingest] IngestEngine=ImageFiles [ImageFiles] Type=Image
For more information about configuring ingestion, and the file types that are supported, refer to the Media Server Administration Guide.
Create a section in the configuration file named [Analysis]
, and configure the analysis operations that you want to run.
The following example configures face detection and optical character recognition:
[Analysis] AnalysisEngine0=FaceDetect AnalysisEngine1=OCR [FaceDetect] Type=FaceDetect MinSize=70 [OCR] Type=OCR
For more information about configuring analysis in Media Server, refer to the Media Server Administration Guide.
HPE CFS expects Media Server to return the results of analysis in the process
action response. You must create a section in the configuration file named [Output]
, and configure an output task to write data to the action response.
[Output] OutputEngine0=response
[response] Type=response
|