Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE

This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

Add hls AES live encrytion

Suggestions and feature requests, whislists, etc.

Add hls AES live encrytion

Postby scramatte » Sun Aug 23, 2015 5:37 pm


It would be nice to be able to live encrypt HLS segments.
I found scripts to achieve it doesn't works with live stream.

May you can add some parameters to setup AES keys and encrypt .ts generated files ?
Posts: 8
Joined: Sun Jun 07, 2015 11:45 am

Re: Add hls AES live encrytion [SOLVED]

Postby scramatte » Mon Aug 24, 2015 7:25 am

Sorry for noise ...
This feature is already supported :(

Code: Select all
hls_key_info_file key_info_file

    Use the information in key_info_file for segment encryption. The first line of key_info_file specifies the key URI written to the playlist. The key URL is used to access the encryption key during playback. The second line specifies the path to the key file used to obtain the key during the encryption process. The key file is read as a single packed array of 16 octets in binary format. The optional third line specifies the initialization vector (IV) as a hexadecimal string to be used instead of the segment sequence number (default) for encryption. Changes to key_info_file will result in segment encryption with the new key/IV and an entry in the playlist for the new key URI/IV.
Posts: 8
Joined: Sun Jun 07, 2015 11:45 am

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest