While you are training Media Server, you can use the Training Utility to start and stop ingestion and analysis (process
actions). However, to run scene analysis in a production environment, do not start processing through the Training Utility. Instead, use the following procedure to create a configuration that contains a scene analysis task, and start the process
action as described in Start Processing.
To detect important events in video
Create a new configuration or open an existing configuration to send to Media Server with the process
action. Alternatively, you can modify the Media Server configuration file (mediaserver.cfg
).
In the [Analysis]
section, add a new analysis task by setting the AnalysisEngineN
parameter. You can give the task any name, for example:
[Analysis] AnalysisEngine0=ISAS
Create a new configuration section to contain the task settings, and set the following parameters:
Type
|
The analysis engine to use. Set this parameter to SceneAnalysis . |
TrainingCfgName
|
The name of the training configuration file to use to detect important events. This is the name of the file that you created using the Scene Analysis Training Utility. |
For example:
[ISAS] Type=SceneAnalysis TrainingCfgName=redlights
Save and close the configuration file. If you modified the Media Server configuration file, you must restart Media Server for your changes to take effect.
|