检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
How Do I Encrypt Transcoded Videos Using HLS? HLS encryption is performed during transcoding. To encrypt transcoded videos using HLS, you need to transcode the videos again and enable Encryption in the transcoding template. For details, see Transcoding Settings.
How Do I Encrypt Transcoded Videos Using HLS? What Is a Key URL? How Do I Obtain It? What If the URL Validation Expires? Can Audio Files Be Encrypted During HLS Encryption? What Are the Differences Between HLS Encryption and Hotlink Protection?
After the configuration is complete, you need to use the transcoding function to encrypt video files. HLS encryption must be enabled for the transcoding template. Parent topic: Security Settings
#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:6 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-KEY:METHOD=AES-128,URI="https://domain-sample/encrypt/get-key?
For details, see Transcoding Settings in VOD User Guide. auto_encrypt No Integer Whether to automatically encrypt a file Possible values are: 0: not encrypted 1: encrypted Default value: 0 A file must be encrypted and transcoded at the same time.
(Optional) Configuring Global Settings If you need to transcode, watermark, and encrypt media files or receive notifications, configure related settings before uploading these files to VOD and then select a template to process these files during or after upload.
If the value is not specified, the default value is used. is_auto_encrypt No Boolean Indicates whether to encrypt data.
Table 6 TemplateGroup Parameter Type Description group_id String Template group ID. name String Template group name. status String Default or not. type String Template group type. auto_encrypt Integer Whether to automatically encrypt a file Possible values are: 0: not encrypted 1:
If the value is not specified, the default value is used. is_auto_encrypt No Boolean Indicates whether to encrypt data. The default value is false, indicating that data is not encrypted. quality_info_list Yes Array of QualityInfoList objects Image quality configuration list.
Encryption Whether to encrypt output media files. Input media files cannot be encrypted. This parameter is unavailable if Output Format is not HLS. Before enabling this function, obtain the key URL by referring to HLS Encryption Settings.
NOTE: If both template_group_name and workflow_name are specified, template_group_name takes effect. auto_encrypt No Integer Whether to automatically encrypt a file Possible values are: 0: not encrypted 1: encrypted Default value: 0.
NOTE: If both template_group_name and workflow_name are specified, template_group_name takes effect. auto_encrypt No Integer Whether to automatically encrypt a file Possible values are: 0: not encrypted 1: encrypted Default value: 0 If encryption is required, a transcoding template
Why Does the Encrypted HLS URL in the Original Streaming URL Remain Unchanged After the Encrypted HLS URL Is Changed? If the URL for obtaining the key is changed, you need to re-encrypt the video. Otherwise, the new encryption key does not take effect. Parent topic: Security
Why Does the Encrypted HLS Video Playback Failed? Possible causes are as follows: The decryption key cannot be obtained. The possible cause is that the URL for obtaining the key is incorrect. You can press F12 when previewing an encrypted HLS video on the console to check whether
Can Audio Files Be Encrypted During HLS Encryption? Yes. However, you need to transcode the audio files to the HLS format. Configure a transcoding template as highlighted in Figure 1. Figure 1 HLS transcoding template Before transcoding, you need to set up the key management service
Can Encrypted Videos Be Played After the URL for Obtaining Keys Is Changed? If the original URL for obtaining the key is still valid, the encrypted video can still be played. If the original URL for obtaining the key is no longer used, configure a new URL on the console and transcode
Why Can't an Encrypted HLS Video Be Played After Being Transcoded for the Second Time? The possible cause is that the key cache is configured on the encrypted HLS server. The Key Management Service (KMS) can cache the queried key locally. When another playback device requests the