OpenH264 implements H.264 Baseline Profile encoding and decoding for real-time use cases such as WebRTC, with broad CPU and mobile platform ports.
Overview
OpenH264 from Cisco is a codec library for H.264 video encoding and decoding at Constrained Baseline Profile up to Level 5.2. It targets real-time applications including WebRTC sessions where predictable latency matters more than exhaustive profile coverage.
The encoder supports arbitrary resolutions, rate control modes, slice partitioning, multi-threaded slice encoding, temporal scalability, simulcast outputs, long-term reference frames, and dynamic bitrate or resolution changes. The decoder accepts Annex B byte streams and outputs YUV 4:2:0 planar frames with multi-reference support when signaled.
Build instructions cover Windows, macOS, Linux, Android, iOS, and Windows Phone with optional optimized assembly paths on x86 and ARM NEON. Assembly relies on NASM versions noted per platform, and mobile builds integrate with platform SDK and NDK toolchains.
Sources and binaries are distributed under Cisco's open H.264 licensing model aimed at interoperable, royalty-friendly real-time video stacks.
Key features
- H.264 Baseline encode and decode
- WebRTC-oriented performance
- Simulcast and temporal scalability
- Multi-threaded slice encoding
- Dynamic bitrate and resolution
- Annex B byte stream I/O
- ARM and x86 code paths
- Mobile and desktop platform builds
Use cases
- WebRTC video pipelines
- Real-time conferencing clients
- Embedded H.264 codec needs
- Cross-platform media prototypes