Media Server 25.4
Media Server Help

# Add a Clip to the Database

After creating a database, train Media Server to recognize each audio clip by running the action `TrainAudioMatchClip`.

To add an audio clip to the database

- Add a clip using the action TrainAudioMatchClip. For example:

  `curl http://localhost:14000/action=TrainAudioMatchClip -F database=Music -F audiodata=@clip1.wav`

  Alternatively, the following example provides the path of the audio clip rather than sending the audio data:

  `curl http://localhost:14000/action=TrainAudioMatchClip -F database=Music -F audiopath=clip1.wav`

  Media Server adds the clip to the database and returns the identifier.

Copyright 2025 Open Text
Version 25.4 | Last updated October 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 Media Server 25.4

Topic Title: Add a Clip to the Database