ffmpeg-rockchip is an unofficial FFmpeg variant that wires Rockchip MPP and RGA into decode, encode, and filter stages for a hardware transcoding pipeline on supported SoCs.
Overview
ffmpeg-rockchip targets Rockchip platforms that expose MPP (Media Process Platform) and RGA (2D Raster Graphic Acceleration), with RK3588-class devices called out as typical hardware. It aims to deliver a full hardware transcoding path through the FFmpeg command-line interface, including decoders, encoders, and filters.
Hardware decoders support up to 8K 10-bit H.264, HEVC, VP9, and AV1, with options such as AFBC output, de-interlace via IEP, and allocator modes. Encoders support up to 8K H.264 and HEVC with async frame-parallel encoding. RGA-backed filters handle scaling, pixel format conversion, cropping, transposing, blending, and async work, with zero-copy DMA across stages.
Usage guidance is available on the project wiki. Operators need a Rockchip BSP or vendor kernel (5.10 and 6.1 are noted as tested) and permission to access the relevant device nodes. The work is an unofficial FFmpeg fork and not affiliated with Rockchip Electronics.
Beyond upstream FFmpeg’s general multimedia libraries and tools, this build focuses on integrating vendor media acceleration rather than changing the overall role of FFmpeg as a processing toolkit.
Key features
- MPP hardware decoders up to 8K
- MPP async H.264 and HEVC encoders
- RGA scale and format filters
- AFBC image path support
- Zero-copy DMA pipeline
- De-interlace via IEP
- FFmpeg CLI compatibility
Use cases
- Hardware transcode on RK3588 devices
- Low-copy video processing on Rockchip
- Embedded Linux media servers