Update media asset information

更新时间:
复制 MD 格式

ApsaraVideo VOD lets you set media asset information before uploading a file and modify it for existing assets.

Overview

ApsaraVideo VOD distinguishes between editable and immutable media asset information.

  • You can modify the title, category, and description of a media asset. To modify the storage class, see Modify the storage class of a media asset.

  • Source file information, such as the file size, type, and storage region, cannot be modified.

Console management

Log on to the ApsaraVideo VOD console. In the navigation pane on the left, choose Media Files. Click Audio/Video, Image, or Short Video Material. On the page that appears, find the asset you want to update and click Manage to edit its information. For more information, see Media asset management.修改

API and SDK operations

The following table lists the API operations for updating media asset information.

Information type

Description

API reference

Basic information

Modifies properties of a single audio or video file, such as the title, description, thumbnail, category ID, and tags.

UpdateVideoInfo

Modifies properties for one or more audio or video files in a batch. Editable properties include the title, description, thumbnail, category ID, and tags.

UpdateVideoInfos

Modifies properties for one or more image files in a batch. Editable properties include the title, description, tags, and category ID.

UpdateImageInfos

Source file information

This is metadata extracted from the source media file. This information, including size, type, dimensions, status, and storage region, cannot be modified.

GetMezzanineInfo

Playback information

Playback information, such as the encoding format, definition, bitrate, and frame rate, cannot be directly modified. However, you can transcode the asset to generate new audio and video streams.

Audio and video transcoding

AI data

AI metadata is the output data generated by AI processing. You cannot modify AI metadata, but you can resubmit the AI job to overwrite it.

GetMediaAuditResult

Usage notes:

  • Using a server-side SDK to call API operations is recommended for simplicity and efficiency. For more information, see Usage notes. For details about a specific API operation, see the SDK example section in the corresponding API reference.

  • Alternatively, you can manually create and send HTTP or HTTPS requests. For more information, see request syntax.