Samuel East

CTO at S3Bubble OTT Media Streaming

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...

Creating A Multipart Uploader With The New AWS NodeJS SDK

In this post I will go through an share some code and issues that came accross when building and uploader with the new AWS V3 Node SDK. You can find the docs for the new SDK here. https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html I would also suggest keeping an eye on the Github repo https://github.com/aws/aws-sdk-js-v3...