Skip to content

Instantly share code, notes, and snippets.

@mmcc
Created February 11, 2014 22:17
Show Gist options
  • Save mmcc/8945386 to your computer and use it in GitHub Desktop.
Save mmcc/8945386 to your computer and use it in GitHub Desktop.
Encrypted HLS stream
{
"input": "s3://zencodertesting/tobias.mp4",
"output": [
{
"audio_bitrate": 64,
"audio_sample_rate": 22050,
"base_url": "s3://zencodertesting/tobias-encrypted/",
"filename": "file-64k.m3u8",
"format": "aac",
"public": 1,
"type": "segmented",
"encryption_method": "aes-128"
},
{
"audio_bitrate": 56,
"audio_sample_rate": 22050,
"base_url": "s3://zencodertesting/tobias-encrypted/",
"decoder_bitrate_cap": 360,
"decoder_buffer_size": 840,
"filename": "file-240k.m3u8",
"max_frame_rate": 15,
"public": 1,
"type": "segmented",
"video_bitrate": 184,
"width": 400,
"format": "ts",
"encryption_method": "aes-128"
},
{
"audio_bitrate": 56,
"audio_sample_rate": 22050,
"base_url": "s3://zencodertesting/tobias-encrypted/",
"decoder_bitrate_cap": 578,
"decoder_buffer_size": 1344,
"filename": "file-440k.m3u8",
"public": 1,
"type": "segmented",
"video_bitrate": 384,
"width": 400,
"format": "ts",
"encryption_method": "aes-128"
},
{
"audio_bitrate": 56,
"audio_sample_rate": 22050,
"base_url": "s3://zencodertesting/tobias-encrypted/",
"decoder_bitrate_cap": 960,
"decoder_buffer_size": 2240,
"filename": "file-640k.m3u8",
"public": 1,
"type": "segmented",
"video_bitrate": 584,
"width": 480,
"format": "ts",
"encryption_method": "aes-128"
},
{
"audio_bitrate": 56,
"audio_sample_rate": 22050,
"base_url": "s3://zencodertesting/tobias-encrypted/",
"decoder_bitrate_cap": 1500,
"decoder_buffer_size": 4000,
"filename": "file-1040k.m3u8",
"public": 1,
"type": "segmented",
"video_bitrate": 1000,
"width": 640,
"format": "ts",
"encryption_method": "aes-128"
},
{
"audio_bitrate": 56,
"audio_sample_rate": 22050,
"base_url": "s3://zencodertesting/tobias-encrypted/",
"decoder_bitrate_cap": 2310,
"decoder_buffer_size": 5390,
"filename": "file-1540k.m3u8",
"public": 1,
"type": "segmented",
"video_bitrate": 1484,
"width": 960,
"format": "ts",
"encryption_method": "aes-128"
},
{
"audio_bitrate": 56,
"audio_sample_rate": 22050,
"base_url": "s3://zencodertesting/tobias-encrypted/",
"decoder_bitrate_cap": 3060,
"decoder_buffer_size": 7140,
"filename": "file-2040k.m3u8",
"public": 1,
"type": "segmented",
"video_bitrate": 1984,
"width": 1024,
"format": "ts",
"encryption_method": "aes-128"
},
{
"base_url": "s3://zencodertesting/tobias-encrypted/",
"filename": "playlist.m3u8",
"public": 1,
"streams": [
{
"bandwidth": 2040,
"path": "file-2040k.m3u8"
},
{
"bandwidth": 1540,
"path": "file-1540k.m3u8"
},
{
"bandwidth": 1040,
"path": "file-1040k.m3u8"
},
{
"bandwidth": 640,
"path": "file-640k.m3u8"
},
{
"bandwidth": 440,
"path": "file-440k.m3u8"
},
{
"bandwidth": 240,
"path": "file-240k.m3u8"
},
{
"bandwidth": 64,
"path": "file-64k.m3u8"
}
],
"type": "playlist"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment