检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Changing the OBS Storage Class of a Media Asset Function Changes the OBS storage class of a media file. By default, the Standard storage class applies to media file upload. You can change the storage class to Infrequent Access or Archive.
Do I Need to Enable OBS Before Using VOD? It depends. If you want to store media files in VOD, then just upload them to VOD. Parent topic: Product Consulting
Do I Need to Enable OBS Before Using VOD? Is There a Bandwidth Limit for Playing Videos Using VOD? Does VOD Support Real-Time Monitoring?
For details, see section "Creating an IAM User and Granting OBS Permissions" in the OBS User Guide. Before calling this API, you need to call the API for Authorizing Access to OBS to authorize VOD to access the OBS bucket where the audio/video files are stored.
Authorizing Access to an OBS Bucket Function Authorizes VOD to access an OBS bucket or cancels the authorization URI PUT /v1.0/{project_id}/asset/authority Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Compared with OBS, VOD can better meet your requirements for online videos. Media files in VOD are stored in an OBS bucket. However, the OBS bucket is invisible and those media files do not occupy any OBS space. You do not need to enable OBS. Parent topic: Product Consulting
If the queried media files are pulled through a URL or hosted by OBS to VOD, the media file storage information such as the original bucket path or URL is returned. If the queried media files are uploaded locally, the media files are stored in the VOD bucket.
Table 8 File_addr Parameter Type Description bucket String OBS bucket name location String Name of the region where the bucket is located. For example, the region name of CN North-Beijing4 is cn-north-4.
uploads&AWSAccessKeyId=MZH0LUL329N1SSXNB3S4&Expires=1596706429&Signature=5D15iJUcTkoWLpE2vn54FQZskXA%3D" } Call the OBS API for initializing a multipart upload task. OBS does not support verification on API Explorer.
Uploads media files Uploads media files to VOD Obtains authorization for multipart upload Confirms media asset upload Authorizing Access to an OBS Bucket Dumping Media Files from OBS Pulls media files from URLs Verifies the upload
Replicating Media Files from OBS to VOD: This method is used to replicate media file copies from OBS buckets to VOD.
Replicating Media Files from OBS to VOD: This method is used to replicate media file copies from OBS buckets to VOD. Pull from URLs: This method is used to pull and store online media files to VOD. This function is available in AP-Bangkok and AP-Singapore region.
Example 1: Uploading a Media File Less Than 20 MB Scenario If you need to process (such as publish and transcode) your local media files in VOD, then you can call VOD APIs and OBS APIs to upload them to OBS buckets owned by VOD.
Table 2 Query Parameters Parameter Mandatory Type Description http_verb Yes String HTTP method for calling the OBS API for multipart upload. For details about the suitable HTTP method, see the OBS API reference.
OBS will verify the MD5 value. For details, see Setting Object Properties. The MD5 value is calculated using the standard MD5 hash algorithm and then encoded using Base64.
Media Files from OBS to VOD.
OBS object path, which must be specific to the object region No String OBS bucket region Table 6 DeleteSubtitle Parameter Mandatory Type Description type Yes String Subtitle type.
Check Whether the OBS Bucket Is Encrypted If the source file is hosted from an OBS bucket to VOD and the output file is stored in a tenant bucket, the transcoded file storage may fail because default encryption has been enabled for the OBS bucket.
Table 2 Query parameters Parameter Mandatory Parameter Type Description http_verb Yes String HTTP method for calling the OBS API for multipart upload. For details about the suitable HTTP method, see the OBS API reference.
buckets Object Storage Service (OBS) Creating a Bucket Uploading an Object