Open topic with navigation

# Run Analysis on All Audio and Video Files

To run speech-to-text on all files identified by KeyView as containing audio or video, run the Lua script `scripts/IdolSpeech.Lua`. The script reads settings from the `[IdolSpeechSettings]` section of the CFS configuration file.

The following example demonstrates how to run the script and specify information about your Speech Server:

    [ImportTasks]
    Pre0=Lua:scripts/IdolSpeech.lua

    [IdolSpeechSettings]
    IdolSpeechServers=server:15000
    IdolSpeechLanguage=ENUK

The `IdolSpeechServers` parameter specifies the host name or IP address, and ACI port, of your Speech Server. Speech-to-text processing can be time consuming, so you can distribute the load over more than one Speech Server. For information about how to do this, see Use Multiple Speech Servers.

The `IdolSpeechLanguage` parameter is optional and specifies the language pack to use for transcription. If you do not set this parameter, Speech Server runs language detection on each file and chooses a language pack automatically. If you know that all of your files are in the same language, Micro Focus recommends setting this parameter to reduce the load on the Speech Server.

If you prefer to send files to your IDOL Speech Server by writing them to a shared folder, add the `IdolSpechUseSharedPath` and `SharedPath` parameters to the configuration:

    [ImportTasks]
    Pre0=Lua:scripts/IdolSpeech.lua

    [IdolSpeechSettings]
    IdolSpeechServers=server:15000
    IdolSpeechLanguage=ENUK
    IdolSpeechUseSharedPath=true
    SharedPath=\\server\SharedPath

Setting the parameter `IdolSpeechUseSharedPath` to `true` specifies that CFS sends files to Speech Server by copying them to a shared folder. The `SharedPath` parameter specifies the location of the shared folder. The folder must be accessible to both CFS and Speech Server.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm