VodPackagingConfig

Updated at:

Parameter

Type

Description

Example

object

The video-on-demand packaging configuration.

ManifestName

string

The manifest name. The value must match the regular expression [A-Za-z0-9_]+ and be up to 128 characters in length.

index

StreamSelection

object

The packaging output stream selection configuration.

MinVideoBitsPerSecond

integer

The minimum video stream bitrate, in bps.

100000

StreamOrder

string

The stream sorting rules. Valid values:

  • ORIGINAL: Keeps the input ordinal numbers.

  • VIDEO_BITRATE_ASCENDING: Sorts by video stream bitrate in ascending order.

  • VIDEO_BITRATE_DESCENDING: Sorts by video stream bitrate in descending order.

ORIGINAL

MaxVideoBitsPerSecond

integer

The maximum video stream bitrate, in bps.

1000000000

DrmProvider

object

The DRM encryption provider configuration.

SystemIds

array

The DRM system IDs. The number of system IDs is determined by the protocol type used:

  • DASH: up to two.

  • HLS: one.

  • HLS_CMAF: up to two. Only Apple FairPlay, Google Widevine, and Microsoft PlayReady DRM systems are supported. The corresponding SystemIds are: Apple FairPlay: 94ce86fb-07ff-4f43-adb8-93d2fa968ca2 Google Widevine: edef8ba9-79d6-4ace-a3c8-27dcd51d21ed Microsoft PlayReady: 9a04f079-9840-4286-ab92-e65be0885f95.

string

The DRM system ID. Apple FairPlay, Google Widevine, and Microsoft PlayReady are supported.

edef8ba9-79d6-4ace-a3c8-27dcd51d21ed

EncryptionMethod

string

The encryption algorithm. Valid values:

  • AES_128

  • SAMPLE_AES

AES_128

IV

string

The optional 128-bit (16-byte) hexadecimal value, represented by a 32-character string, used with the key for encrypted data blocks. If you do not specify this value, MediaPackage creates a constant initialization vector (IV). Default value: empty. If specified, the value is passed through to the provider as a constant initialization vector.

0123456789abcdef0123456789abcdef

Url

string

The service URL of the DRM key provider. Specify this parameter based on the provider's integration plan when configuring DRM encryption.

https://drm.example.com/getcontent

SegmentDuration

integer

The duration of each segment, in seconds. The actual segment duration is rounded to the nearest multiple of the source segment duration. Valid values: 1 to 30.

6