MPEG-2 Encoder & Decoder SDK

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

MPEG-2 (H.262 / MPEG-2 Part 2) remains the backbone of DVD, digital broadcast (DVB, ATSC) and many professional workflows. AVBlocks lets you encode, decode and transcode MPEG-2 and its Program Stream / Transport Stream containers through one API.

MPEG-2 encoding

  • Encode raw frames to MPEG-2 video.

  • Control bitrate, GOP structure, frame rate and interlacing.

  • Mux to MPEG-2 Program Stream (PS) for DVD or MPEG-2 Transport Stream (TS) for broadcast.

MPEG-2 decoding

  • Decode MPEG-2 video to raw frames.

  • Read from Program Stream, Transport Stream (TS / MTS / M2TS) and other containers.

  • Integrate decoded frames into your own pipeline.

Typical uses

  • DVD authoring — produce compliant MPEG-2 Program Streams.

  • Broadcast / contribution — create and process MPEG-2 Transport Streams.

  • Transcode MPEG-2 archives to H.264 / H.265 to save storage.

  • Decode broadcast recordings for editing or analysis.

Get started

Part of the Video SDK and Transcoding SDK. See also the H.264 SDK.