Skip to content
mediacoding.dev
Every guide free. No signup wall.

Multimedia Coding for Developers

Explore multimedia programming on every platform from beginner to professional.

Browse by topics

FFmpeg

The FFmpeg CLI and its libraries in C: libavformat, libavcodec, libavfilter, libswscale and libswresample, from a first transcode to your own demux, decode and encode loop.

Video

Codecs (H.264, HEVC, VP9, AV1), containers, timestamps, frame types, color spaces and HDR: how digital video really works, and how to handle it in code.

Audio

Sample formats, channel layouts, resampling, mixing, latency and audio file formats, with PortAudio, miniaudio, libsndfile and the platform audio APIs.

OpenGL

Modern OpenGL and GLSL: buffers, textures, framebuffers, uploading video frames, and rendering pipelines for players, editors and visualizers.

Vulkan

Vulkan from instance to swapchain: pipelines, synchronization, compute shaders, memory management and Vulkan Video decode and encode.

Metal

Apple Metal and the Metal Shading Language: render and compute pipelines, MetalKit, Metal Performance Shaders, and Metal with AVFoundation and Core Video.

WebGPU

WebGPU and WGSL in the browser and natively through wgpu and Dawn: render and compute pipelines, bind groups, video textures and GPU effects that run everywhere.

GStreamer

GStreamer pipelines on the command line and in code: elements, caps, bins, appsrc and appsink, writing plugins in C and Rust, and debugging stalled pipelines.

Streaming

RTSP, RTMP, SRT, HLS and DASH packaging, WebRTC, and low-latency live pipelines: from a camera to a viewer, and what each protocol costs.

Desktop Media Apps

Building players, editors, recorders and visualizers with GTK and GNOME, Qt and KDE, SDL and libVLC: media apps people install on Linux, macOS and Windows.

DSP

Digital signal processing for sound and pictures: filters, FFT, convolution, synthesis, effects, and pitch and time stretching, written from the maths up.

Web Media

Media in the browser: WebGL, the Web Audio API, WebCodecs, Media Source Extensions, MediaRecorder, getUserMedia and the WebRTC APIs.

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.