[Libav-user] How to use rkmpp decoder?

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Apr 11 20:50:46 EEST 2018

2018-04-10 8:34 GMT+02:00, Anton Prikazchikov <prikaz08-at-mail.ru at ffmpeg.org>:
> My purpose is decoding a received from RTCP stream h264 AVPacket-s to
> AVFrame-s using by hardware of rk3399 (Rockchip RK3399 is a processor for
> computing(aarch64, Rockchip platform))
> I found that rk3399 has mpp. Media Process Platform(mpp) is the video codec
> parser and  Hardware Abstraction Layer library for the Rockchip platforms.
> Mpp provides C API for decoding h264 video files using by hardware of
> Rockchip platform.
> And now i am thinking that the problem is converting from AVPacket(contain
> H264 data from RTCP stream) to MppPacket(this packet i will send to hardware
> decoder)

Since libavcodec supports rkmpp, this is not something you have to do.

Did you already implement software decoding with libavcodec?
Once this works, you should only have to switch from the "h264"
decoder to the "h264_rkmpp" decoder to make it work.

Please avoid top-posting here, Carl Eugen

More information about the Libav-user mailing list