All Products
Search
Document Center

ApsaraVideo Media Processing:Parameter details

Last Updated:Jun 15, 2026

The InputFile parameter specifies the input file in OSS. The FpShotConfig parameter specifies media fingerprint settings such as the primary key, storage type, and similarity threshold.

InputFile details

Parameter

Type

Required

Description

Bucket

String

Yes

The OSS bucket that stores the input file. For more information, see OSS bucket.

Location

String

Yes

The region of the OSS bucket that stores the input file. For more information, see OSS region. Set the value to oss-cn-shanghai.

Object

String

No

The OSS object used as the input file. The object URL must be UTF-8 encoded, with reserved characters percent-encoded. For more information, see OSS object.

FpShotConfig details

Parameter

Type

Required

Description

PrimaryKey

String

Yes

The primary key of the video. Each primary key must be unique.

SaveType

String

Yes

The storage type. Valid values:

  • nosave: Does not save data to the database.

  • save: Deduplicates and stores data.

  • forcesave: Forces a data save.

  • onlysave: Saves data to the database only.

FpDBId

String

No

The ID of the fingerprint library. If not specified, the default library is used.

TextType

String

No

The text type. Requires a Text DNA. Valid values:

  • Text: A long text string.

  • ASR: A speech recognition result.

SimilarityThreshold

Float

No

The similarity threshold when `SaveType` is set to `save`.

  • Value range: [0, 1].

  • Default value: 0.8.