tencent cloud

Feedback

Media Deletion

Last updated: 2022-08-24 16:59:06

    Overview

    Media deletion involves deleting media resources stored in VOD to reduce the storage costs. VOD provides a rich-featured and easy-to-use media deletion service.

    Strengths Description
    Comprehensive features Two deletion modes are supported:
  • Complete deletion: The source file uploaded to VOD and all the files generated after processing such as transcoded files and screenshots are deleted.
  • Partial deletion: Only a part of files such as the source file and the transcoded file of the specified definition are deleted.
  • Ease of use Automatic deletion and manual deletion are supported.
    Automatic deletion:
    • You can specify the expiration time when uploading a media file. Upon expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted.
      • You can specify the expiration time when using a server API for upload application.
    • You can specify the expiration time for an uploaded media file. Upon expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted.
      • You can set this through the console or an API.
    Manual deletion:
  • You can delete files in the console.
  • You can call an API to delete files.
  • Use Cases

    Media deletion is generally used to reduce the storage costs or remove non-compliant media.

    Use Case Description
    Ecommerce platform After an item is removed, the images and videos of the item are also removed to reduce the storage costs.
    Video website Copyright-infringing and non-compliant media resources can be deleted. For old and unpopular videos, you can delete the source HD videos while retaining only the transcoded LD videos to reduce the costs.
    Game/Sports event recording Old game and sports media files that are confirmed to be no longer needed can be deleted.
    Enterprise event Photos taken and media resources generated during enterprise team building activities generally don't need to be retained permanently. You can set a validity period for enterprise employees to view, watch, and download them. You can specify an expiration time when uploading the media files to automatically delete them upon expiration.
    Burn-after-reading application In burn-after-reading applications, resources uploaded by end users will become unavailable after a certain period of time (such as 24 hours). For such applications, the media expiration time can be specified during upload, and VOD will automatically delete relevant media resources upon expiration.

    Directions

    For detailed directions on how to delete media files in the console, see:

    For media deletion server APIs, see:

    • ApplyUpload. Enter the ExpireTime parameter to specify the expiration time of the uploaded file in VOD.
    • ModifyMediaInfo. Enter the ExpireTime parameter to modify the expiration time of the media file.
    • DeleteMedia.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support