Low-latency HLS for a live worship service stream. H.265 at 3 Mbps for 720p (church WiFi bandwidth constraint), 1-second GOP for low latency, AAC for iPhone compatibility, MPEG-TS for HLS segment compatibility.
| Video Codec | H.265 |
| Bitrate | 3M |
| Resolution | 720p |
| Audio | AAC |
| Container | TS |
ffmpeg -i input.mp4 -c:v libx265 -b:v 3M -x265-params "keyint=30:min-keyint=30" -c:a aac -b:a 96k -f mpegts output.ts
Apple Low-Latency HLS requires MPEG-TS segments (not fMP4) for sub-2-second latency. Each segment must start with an IDR frame, so the GOP size directly determines the minimum achievable latency — 1-second GOP = ~2-second glass-to-glass.
A new FFmpeg encoding puzzle every day. Six tries, in the browser or from your terminal.