Media Server 25.4
Media Server Help

# CreateVisualClusteringDatabase

Creates a new, empty, database for visual clustering.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name for the new database (maximum 254 bytes). | Yes
`numsamples` | (Integer, default `20`) The number of samples to extract from each video you add to the database. Media Server stores these samples in the database and uses them to generate the training required to cluster the video. You cannot change this value after the database is created. | No

## Example

The following example creates an empty database named `BroadcastClips`.

    /action=CreateVisualClusteringDatabase&database=BroadcastClips

## Response

    <autnresponse>
        <action>CREATEVISUALCLUSTERINGDATABASE</action>
        <response>SUCCESS</response>
        <responsedata></responsedata>
    </autnresponse>

## See Also

To add items to the database, so that Media Server can cluster them, use the action TrainVisualClusteringItem.

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: CreateVisualClusteringDatabase