Add a Media Service

To use the media analysis processors you must configure a controller service for media analysis. The media service has a dependency on the KeyView Export SDK, so you must also create a KeyView Export Service.

To create the services

  1. Click a blank area of the canvas, to de-select all of the components on the canvas.
  2. In the Operate Palette, click Configuration .

    The NiFi Flow Configuration dialog box opens.

  3. Click the Controller Services tab.
  4. Add the KeyView Export service.

    1. Click Create a new controller service .

      The Add Controller Service dialog box opens.

    2. In the Source list, click idol.nifi.

    3. In the list, click KeyViewExportServiceImpl, and click ADD.

    4. Enable the service. At the end of the row for the controller service, click Enable .

      The Enable Controller Service dialog box opens.

    5. Click ENABLE and then click CLOSE.
  5. Add the Media service.

    1. Click Create a new controller service .

      The Add Controller Service dialog box opens.

    2. In the Source list, click idol.nifi.media.
    3. In the list, click MediaServiceImpl, and click ADD.

      The new service is added.

    4. Configure the service. At the end of the row for the controller service, click Configure .

      The Configure Controller Service dialog box opens.

    5. Click the Properties tab.

    6. Set the KeyView Service property to the name of the KeyiewExportServiceImpl that you created in the previous step.

    7. Click Apply.

    8. Enable the service. At the end of the row for the controller service, click Enable .

      The Enable Controller Service dialog box opens.

    9. Click ENABLE and then click CLOSE.
  6. Close the NiFi Flow Configuration dialog box.