H.264 Encoder & Decoder SDK

AVBlocks provides a cross-platform H.264 encoder SDK and H.264 decoder SDK for C++, .NET (C#, VB, F#) and Python on Windows, macOS and Linux.

Encode raw video to H.264/AVC, decode H.264 to raw frames, or transcode H.264 to and from other codecs and containers — all through one consistent API.

H.264 encoding

  • Encode raw frames to H.264 / AVC.

  • Hardware-accelerated encoding on supported GPUs.

  • Control profile, level, bitrate, GOP size, frame rate and more.

  • Mux directly to MP4 (with FastStart), MPEG-TS or other containers.

H.264 decoding

  • Decode H.264 / AVC to raw video frames.

  • Read from MP4, MPEG-TS, AVI, MKV/WebM and other containers.

  • Feed decoded frames into your own processing or rendering pipeline.

Typical uses

  • Transcode H.264 to H.265/HEVC, VP9 or MPEG-2.

  • Convert H.264 camera footage to web-friendly MP4.

  • Decode H.264 for analysis, thumbnails or frame extraction.

  • Re-encode H.264 at a different resolution or bitrate.

Get started

Part of the Video SDK and Transcoding SDK. See also the H.265 / HEVC SDK.