strukturag/libde265

Open h.265 video codec implementation.

What it solves

libde265 provides a reliable, open-source way to decode H.265 (HEVC) video files. It is designed to be easily integrated into other software applications, allowing developers to add high-efficiency video playback capabilities without building a codec from scratch.

How it works

Written from scratch in C, the library offers a simple, clean API for developers. It handles the complex decoding process by supporting advanced features like WPP and tile-based multithreading, and it uses hardware-specific optimizations (SSE, AVX2, and AVX-512) to ensure high performance. It supports the full Main profile, 10-bit color, and various chroma formats.

Who it’s for

This library is for software developers and engineers who need to add H.265 video decoding support to their own projects, such as media players, streaming tools, or image processing libraries.

Highlights

  • Supports Main, Main 10, and Range Extensions (8 to 16-bit depth).
  • Includes multithreading support for faster decoding.
  • Highly portable with no external dependencies for the core library.
  • Comes with example tools like dec265 for playback and sherlock265 for visual bitstream analysis.
  • Widely used in existing projects like VLC, GStreamer, and libheif.

Related

  • Project
  • Project
  • Project
  • Project