Build a Nginx/Ffmpeg adaptive bit rate HLS live-stream server on Ubuntu 22.04

This tutorial is an updated and improved version of a previous tutorial that I wrote. This new tutorial will work 100% on a (fresh) Ubuntu 22.04 system. The tutorial was put together in August 2023. UPDATE: I’ve put together a script that does everything automatically. Check it out here! All throughout this tutorial, I will be using the non-existing domain name: your.hostname.com as an example. You will need to replace …

Create a secure adaptive bit-rate HLS stream with Nginx/RTMP/Ffmpeg on Ubuntu 20.04 (2021)

6-8-2023 UPDATE: I wrote a new tutorial, suited for Ubuntu 22.04. Go to the new tutorial. 24-07-2023 UPDATE: Before you read/follow this tutorial, I want to inform you of something important. In case you follow this tutorial, there’s a big chance you won’t be able to get the adaptive streams to work correctly. I don’t know exactly why or what has changed, but I believe the audio codec is no …