Home › Audio & video

Audio & video

Video and audio coding, streaming and packaging, real-time media, audio processing, image codecs and camera pipelines.

Video coding

Inside block-based video encoders and decoders.

Streaming & packaging

Delivering encoded media over HTTP.

Adaptive bitrate streaming

medium

The client fetches short HTTP segments and picks each segment's rendition from throughput estimates, buffer level, or both, trading stalls against quality and switches.

decision O(rungs) per segment (BOLA, throughput rule); MPC enumerates rungs^horizon plans; state O(window) samples

adaptive streaming manifests

Planned.

low latency hls dash

Planned.

media containers

Planned.

Common Encryption (CENC)

low

ISO/IEC 23001-7 fixes how MP4 samples are encrypted and where key ID, IVs and clear/protected byte ranges are stored, so one file serves many DRM systems.

per sample O(protected bytes), one cipher pass; cbcs 1:9 runs the cipher on about 1 block in 10 of the protected range

Video transcoding ladder

medium

Turn one source into resolution x bitrate x codec renditions chosen from measured rate-quality points, cut on aligned keyframes so players can switch mid-stream.

hull O(n log n) in n probe encodes; encode work about the sum of rung pixels x frames; parallel across chunks and rungs

chunked parallel encoding

Planned.

subtitle formats webvtt

Planned.

A/V sync and media clocks

low

How audio and video stay lip-synced: per-stream timebases, PTS/DTS, PCR and RTCP clock mapping, and a master clock that slave streams chase by dropping, repeating or resampling.

O(1) per frame; one 128-bit mul/div per timestamp conversion; correction needs no buffering beyond the output queues

Perceptual quality metrics (PSNR, SSIM, VMAF)

low

Full-reference scores that say how bad a compressed picture looks: PSNR (pixel error), SSIM (structure), VMAF (learned fusion), and when each one lies.

O(pixels) per frame; measured on one M4 Pro core: PSNR about 0.1 ms, SSIM about 3 ms per 1080p luma plane (order of)

Real-time communication

Calls and live media over the network.

RTP and RTCP

low

RTP stamps each media packet with sequence number, media-clock timestamp and source ID; RTCP reports loss, jitter, round trip and clock mapping within a bandwidth cap.

header parse O(CSRC + extension words), 3.9 ns plain header measured; sequence tracking O(1); RTCP about 5 % of session bandwidth

Jitter buffer

medium

A receiver-side buffer holds packets just long enough, a delay tracked from recent arrivals, to reorder them and hand out media at a steady rate.

per packet O(1) with an EWMA or a histogram; O(W log W) with a sorted window of W delays (about 550 ns for W = 100, measured below)

packet loss concealment

Planned.

webrtc

Planned.

sdp offer answer

Planned.

Selective forwarding unit

medium

A server receives each participant's media once and forwards chosen packets to every other participant, picking the quality layer per receiver without decoding anything.

per packet O(1) per subscriber (select, rewrite, encrypt, send); fan-out O(N) per published packet; streams N up, N(N-1) down

NAT traversal (STUN, ICE, TURN)

medium

Learn your public address with STUN, swap candidate addresses over signalling, test pairs with ICE checks, and fall back to a TURN relay if no direct path works.

O(L x R log(L x R)) to order candidate pairs; checks paced at one per Ta (default 50 ms); keepalives O(1) per path

sip signaling

Planned.

SRTP

low

Per-packet encryption, authentication and replay protection for RTP and RTCP that keeps the headers readable, with the packet index derived from the 16-bit sequence number.

per packet one AES pass over the payload plus one tag computation; index and replay check O(1), 2.5 ns measured

Audio processing

Cleaning, mixing and shaping audio in real time.

acoustic echo cancellation

Planned.

noise suppression

Planned.

automatic gain control

Planned.

audio loudness normalization

Planned.

dynamic range compression

Planned.

audio mixing

Planned.

audio mixing graph

Planned.

audio spatialization hrtf

Planned.

realtime audio callback

Planned.

parameter smoothing

Planned.

plugin delay compensation

Planned.

time stretching pitch shifting

Planned.

midi protocol

Planned.

Audio coding

Compressing speech and music.

Image codecs & camera pipelines

Still-image formats and turning sensor data into good pictures.

image codecs

Planned.

progressive decoding

Planned.

demosaicing

Planned.

auto exposure focus white balance

Planned.

image denoising

Planned.

image alignment registration

Planned.

video stabilization

Planned.

line buffer streaming

Planned.

background subtraction

Planned.

Astronomy & remote-sensing imaging

Calibrating and measuring scientific images of the sky and the Earth.

astrometric plate solving

Planned.

image differencing psf matching

Planned.

source extraction

Planned.

radiometric calibration

Planned.