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 …

Important update notice on a very popular post on this website.

My post on how to create a secure adaptive bit-rate HLS stream with Nginx/RTMP/Ffmpeg on Ubuntu 20.04 is by far the most popular content on my website. About 60% of all visitors come to that page through Google. I have an essential message to everybody who followed this tutorial. You should really edit a couple of lines in your nginx.conf in case you are using adaptive bit rate streams, sooner …

What I’ve been working on

In the early summer of 2019 I purchased an Oculus Virtual Reality headset, and this made me discover my passion for 3D. A very popular “game” for the Oculus is VRChat, and in it people are allowed to upload their own worlds and avatars. Obviously, I wanted to try this out myself, so I started searching for a free app that could help me with this. And that is how …

A little update

Hi everyone. It’s been a while since I last posted here so this little update is long due. I’ve been getting a LOT of responses to this little post here, and I want to thank specifically a person called James for responding to many comments that I haven’t commented on myself. I’ve not been keeping up with those as good as I should have. Sorry about that. Although I am …

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 …

500 subscribers on YouTube

Today I’ve reached the mark of 500 subscribers on my YouTube channel. It may not be that much, especially when compared with popular Youtubers. But for me it’s special nevertheless. So thanks everybody!

How to setup Nginx+RTMP live stream server

IMPORTANT UPDATE! These guides may be outdated. Please see the new guide here: https://www.ustoopia.nl/featured/nginx-rtmp-hls-ssl-videojs-on-ubuntu-18-04/ I made a couple of Youtube video’s with some instructions on how to setup your own private live-stream server using Nginx running on Ubuntu 18.04. . Click on the CONTINUE READING link below to see a copy of the variables that I used in the video’s. You can also find it on my Pastebin if you …

Unattended Ubuntu ISO Maker

Just found an awesome script online that I tested today and it works great. It’s a script that allows you to create an ISO for a unattended installation for Ubuntu 16.04.3 LTS. Just made myself one of those ISO’s and I’m going to try to see if I can implement it in my PXE environment. If not, I can always place it on a USB flash drive and boot from …

Adding cloud storage as permanent mount to Ubuntu Server 16.04

Many cloud storage services give you the option to mount your online storage as an extra drive on your operating system. This can be done really easy on any operating system that runs a desktop environment. But I wanted to add my storage as a mounted drive on Ubuntu Server, and it does not use a desktop environment so I use WinSCP and Putty to administrate my server. I did …

Disable IPv6 on Ubuntu 16.04 Permanently

If you want IPv6 disabled permanently on a Ubuntu 16.04 system, here’s a good way to do it. Disabling it like this should keep it disabled permanently, even after performing updates that could potentially enable it again without you knowing it. I haven’t tested it so I’m not 100% certain but if you decide to upgrade Ubuntu to 16.10 or the most recent version, it should still have ipv6 disabled …

How to install MP4Box on Ubuntu 16.04 Headless

“MP4Box is a multimedia packager, with a vast number of functionalities: conversion, splitting, hinting, dumping and others. It can be used for performing many manipulations on multimedia files like AVI, MPG, TS, but mostly on ISO media files (e.g. MP4, 3GP). It is a command-line tool so it can be utilized by scripts like the php script that I want to use. MP4Box is included in the GPAC package.” I want …