Welcome to Firefly
Switch language
Firefly Docsss
Last Updated: 2026-08-27 07:36:09

Common Issues

Rockchip Platform

Common Issues

SymptomWhat to check
Unknown decoder/encoderUse ffmpeg -version and ffmpeg -encoders/-decoders to verify the active build
MPP/RGA device cannot be openedCheck device nodes, user groups, kernel drivers, and the DTS
RGA reports No hw context providedAdd -hwaccel_output_format drm_prime when decoding
RGA rejects a format or sizeTry a common format such as nv12, and check dimension and crop-coordinate alignment
CPU usage remains high with hardware accelerationCheck whether software filters are causing hwdownload and hwupload operations
A format cannot be hardware-decodedCheck whether the target SoC supports the codec, bit depth, profile, and resolution

Display detailed logs:

ffmpeg -loglevel verbose <other-options>
dmesg | grep -Ei 'mpp|rga|vpu|rkvdec|rkvenc'

References:

On this page