# Run Scene Analysis

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

1. Create a new configuration to send to Media Server with the `process` action, or open an existing configuration that you want to modify.

2. In the `[Session]` section, add a new analysis task by setting the `EngineN` parameter. You can give the task any name, for example:

       [Session]
       Engine0=Ingest
       Engine1=SceneAnalysis

3. 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:

       [SceneAnalysis]
       Type=SceneAnalysis
       TrainingCfgName=redlights

4. Save and close the configuration file. Micro Focus recommends that you save your configuration files in the location specified by the `ConfigDirectory` parameter.

_FT_HTML5_bannerTitle.htm