ffmpuzzle
Puzzle #47 · Standard · 5 params

H.265 · Bitrate 3M · 720p · AAC · TS

The scenario

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.

The answer

Video CodecH.265
Bitrate3M
Resolution720p
AudioAAC
ContainerTS

The command

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

Why

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.

Play

A new FFmpeg encoding puzzle every day. Six tries, in the browser or from your terminal.

$ play today's puzzle

← all puzzles