NiFi Ingest 25.2
NiFi Ingest

# MediaServiceImpl

Manages the static resources and FFmpeg libraries that are required to analyze rich media files. All processors that require media analysis resources have a “Media Service” property that must reference an instance of this service.

## Properties

Name | Default Value | Description
--- | --- | ---
KeyView Service |  | A KeyViewExportServiceImpl that manages the location of the Export SDK. The Media Service uses File Content Extraction to process document files such as Adobe PDF documents.
External Output Directories |  | A comma-separated list of directories that processors can write output to. Restricting output to specified directories increases security, preventing files from being written to any location in the file system. Any directory that you specify must exist. By default, this property has no value and you can only write output to a FlowFile.
Speech Language Pack Directory |  | The path to a directory that contains language packs for speech-to-text. More than 60 language packs are available. You can download language packs from the MySupport portal. Extract your language packs into this folder. To use the latest speech-to-text models, extract the `MediaServerLanguagePack` package into this directory. The files `micro.dat` and `small.dat` (among others) should be in the directory `<SpeechLanguagePackDirectory>/Common/`. To use legacy speech-to-text, or speaker clustering, download legacy language packs and extract them into this directory, such that the files are located in a subfolder that matches the language - for example `<SpeechLanguagePackDirectory>/ENUK/`, or `<SpeechLanguagePackDirectory>/DEDE/`.
Database type | None | Specifies the type of database to connect to. Some types of media analysis require access to training data that is stored in a database. The training data must be generated using Media Server. For information about how to set up a database and populate it with training data, refer to the Media Server Administration Guide.
Database Service |  | A DatabaseServiceImpl to use to communicate with an external MySQL or PostgreSQL database that contains training data.
FFmpeg Override Directory |  | FFmpeg libraries are used when ingesting some rich media files. You only need to set this property if you want to use your own custom build of FFmpeg. Set this property to the path of the directory that contains the libraries.
Libheif Override Directory |  | Knowledge Discovery uses Libheif to provide support for HEIC images. You only need to set this property if you want to use your own custom build of libheif. Set this property to the path of the directory that contains the library.

Copyright 2018-2025 Open Text
Version 25.2 | Last updated April 2025

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 25.2

Topic Title: MediaServiceImpl