Batch Encryption or decryption
- To batch-encrypt a video file, invoke SetEncryptionKey (em_AES_Encryption is recommended), then invoke Encrypt_File. A file that is already encrypted (with any method) is refused.
- To batch-decrypt a video file, invoke SetDecryptionKey with the key used for the encryption, then invoke Decrypt_File. The method is read from the header of the encrypted file; a file that is not encrypted is refused.
The file is processed by the Datastead Multipurpose Encoder, or by the Datastead RTSP/RTMP/HTTP/ONVIF Source when the Multipurpose Encoder is not installed or cannot process the file. See AES Encryption Overview.