Super fast HLS trimming with frame accuracy

Description This article is an evolution of this code: Trim HLS stream with frame accuracy using ffmpeg and Bash script The implementation gets a group if HLS chunks (.ts) and based on input and output points (timestamps) it creates an mp4 output file frame accuracy trimmed, and with AV perfectly aligned. Thanks to the underlying algorithmContinue reading “Super fast HLS trimming with frame accuracy”

Trim HLS stream with frame accuracy using ffmpeg and Bash script

Introduction The main idea of this post is to practise with ffmpeg and write down my experiences, issues that I have found, possible solutions, etc. To achieve that I developed a group of bash scripts that are able to trim a HLS stream using ffmpeg . The purpose of these scripts is to perform a VERY FASTContinue reading “Trim HLS stream with frame accuracy using ffmpeg and Bash script”