livestream/hlsgenerator
2025-02-02 17:10:23 +02:00
..
example.webm Add prototyping programs 2025-02-02 17:10:23 +02:00
go.mod Add prototyping programs 2025-02-02 17:10:23 +02:00
main.go Add prototyping programs 2025-02-02 17:10:23 +02:00
README.md Add prototyping programs 2025-02-02 17:10:23 +02:00

HLSGenerator

Simple test program that manages hls segments itself and lays them out in a m3u8 playlist

mkdir -p segments
ffmpeg -i example.webm -c:v libx264 -c:a aac -b:a 128k -ac 2 -pix_fmt yuv420p -preset ultrafas
t -hls_time 1 -f hls segments/index.m3u8