Mp4Encryption

Field

Type

Repeated

Description

encryption_key_id

string

The 16-byte key ID used to identify the key, hexadecimal or GUID encoded.

encryption_key

string

The 16-byte key used to encrypt the data, hexadecimal encoded.

encryption_pssh

string

The PSSH box(es) to include in the MP4, base64 encoded. This is typically given by the DRM provider.

encryption_scheme

Mp4Encryption.Mp4EncryptionScheme

The common encryption scheme used to encrypt data, as per ISO/IEC 23001-7:2016.

Enums defined in this message

Name

Number

Description

MP4_ENCRYPTION_SCHEME_CBCS

0

Default: CBCS encryption scheme (AES-CBC 10% pattern encryption). Full-sample encryption for audio tracks, subsample encryption for video tracks.

MP4_ENCRYPTION_SCHEME_CENC

1

CENC encryption scheme (AES-CTR). Full-sample encryption for audio tracks, subsample encryption for video tracks.