AVEncryptionInfo

This describes encryption info for a packet. This contains frame-specific info for how to decrypt the packet before passing it to the decoder.

The size of this struct is not part of the public ABI.

Members

Variables

crypt_byte_block
uint crypt_byte_block;

Only used for pattern encryption. This is the number of 16-byte blocks that are encrypted.

iv
ubyte* iv;

The initialization vector. This may have been zero-filled to be the correct block size. This should always be 16 bytes long, but may be changed in the future.

iv_size
uint iv_size;
Undocumented in source.
key_id
ubyte* key_id;

The ID of the key used to encrypt the packet. This should always be 16 bytes long, but may be changed in the future.

key_id_size
uint key_id_size;
Undocumented in source.
scheme
uint scheme;

The fourcc encryption scheme, in big-endian byte order.

skip_byte_block
uint skip_byte_block;

Only used for pattern encryption. This is the number of 16-byte blocks that are clear.

subsample_count
uint subsample_count;
Undocumented in source.
subsamples
AVSubsampleEncryptionInfo* subsamples;

An array of subsample encryption info specifying how parts of the sample are encrypted. If there are no subsamples, then the whole sample is encrypted.

Meta