Media9

Short notes on video encoding, streaming and media tooling.

Choosing a keyframe interval for adaptive streaming

Segment length and keyframe interval have to agree, otherwise players cannot switch renditions cleanly. Two seconds is a sensible default for most on-demand catalogues.

Why constant quality beats constant bitrate for archives

A fixed bitrate wastes space on static scenes and starves fast ones. Quality-targeted encoding lets the encoder spend bits where the picture needs them.

Audio loudness: a short checklist

Measure integrated loudness, keep true peak under minus one decibel, and normalise once at the end of the chain rather than at every step.