Create a Media Server Configuration

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:

Ingestion

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.

Analysis

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.

Output

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

_HP_HTML5_bannerTitle.htm