[FFmpeg-user] ffmpeg command required to convert MPEG TS to HLS with transcoding to aac

Dave Blanchard dave at killthe.net
Sat Dec 10 23:54:23 EET 2022


On Sat, 10 Dec 2022 20:38:51 +0100
Robin van der Linden via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:

> Hello,
> 
> ffmpeg can do this, at least some parts. It will create the segments and a master.m3u8 file for each track by itself. Still you will need to create master.m3u8 File wich references all the tracks master.m3u8 yourself. My Script is about 3500 lines long, so be prepared that you have to code lot yourself.

I'd suggest using nginx with the mpegts plugin to do all the HLS work, which will simplify things quite a bit. Or better yet, use SRT for streaming, which in my experience works far better than HLS. (Much better latency at least.)

Dave



More information about the ffmpeg-user mailing list