Blog

Creating A HLS Job With Ffmpeg

The code below gives an example of how to create HLS playlist using the video encoding tool FFmpeg. It uses a FFmpeg filter to resize the video to 3 resolutions 360, 720 and 1080. It then maps each one of these to an encoding process that will specify different settings...

Media Security & Acceptance 2021

Basics In this post I would like to go through how people are downloading your media starting with the very basic and ending up in the most complex online security setups with DRM providers. I have been working as a developer focusing on Media streaming for around 10 years and...

FFmpeg Combining Adverts

I decide to have a little prototyping session and wanted to see how easy it would be to split a movie into multiple sections based on milliseconds and then insert adverts and combine it all back together in one movie. You can see my progress on GitHub. https://github.com/samueleastdev/ffmpeg-combining-ads To run...

EZDRM Cloudformation Template JSON & Setup

Here is a Cloudformation template that can be used with AWS Cloudformation service to create a SPEKE server and also setup the licence server with EZDRM. You need to create a key_server.py file with this contents. import base64 from key_server_common import ClientResponseBuilder, ServerResponseBuilder def server_handler(event, context): host = event['headers']['Host'] stage...