NiFi Ingest 26.3
NiFi Ingest

# Add Media Analysis

After adding a media service, you can add a processor to perform media analysis.

To add media analysis

1. Add a processor, by dragging the processor icon from the components toolbar to the canvas.

   The Add Processor dialog box opens.

2. Select the AnalyzeMedia processor and click ADD.

   The processor is added to the canvas.

3. Create a connection between the KeyViewRouteOnFileType processor and the AnalyzeMedia processor.

   The Create Connection dialog box opens.

4. In the Relationships area, select the images check box and click ADD.

   The connection appears on the canvas. FlowFiles that represent image files are added to the queue, because this relationship matches the name of the property you created in the KeyViewRouteOnFileType processor in Add File Format Detection.

5. Right-click the AnalyzeMedia processor and click Configure.

   The Edit Processor dialog box opens.

6. Click the Properties tab.

7. In the properties list, set the following properties:

   IDOL License Service | The name of the License Service that you created in Create a License Service.
   Media Service | The name of the media service that you created in Add a Media Service.

8. Click the Scheduling tab.

9. In the Concurrent Tasks box, type the number of FlowFiles to process concurrently. If the machine has sufficient resources you can increase the value so that several files are analyzed at the same time, increasing throughput. For example, to process four images concurrently type `4`.

10. Click Apply.

11. Right-click the AnalyzeMedia processor again and click Advanced.

    The Advanced Configuration page opens.

12. Copy the following configuration into the Config area:

        [Session]
        Engine = In, OCR, Out
        [In]
        Type = NifiInput
        [OCR]
        Type = OCR
        OCRMode = auto
        Languages = en
        [Out]
        Type = NifiOutput
        Input = OCR.Result

13. Click SAVE.

14. Create a connection between the AnalyzeMedia processor and the StandardizeMetadata processor.

    The Create Connection dialog box opens.

15. In the Relationships area, select the success check box and click ADD.

    The connection appears on the canvas. Media files that were processed successfully are sent to the StandardizeMetadata processor. Notice that the media files bypass the filtering step. This makes sense because File Content Extraction is unlikely to extract any useful text from an image file.

Copyright 2018-2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery NiFi Ingest 26.3

Topic Title: Add Media Analysis