[Libav-user] How to use rkmpp decoder?

Anton Prikazchikov prikaz08 at mail.ru
Mon Apr 9 17:27:10 EEST 2018


I have rk3399 and installed mpp( https://github.com/rockchip-linux/mpp ).

I am receiving rtsp stream using by ffmpeg(C++).
And now I have to decode h264 video using by mpp but I don't understand how to do this. 

I found  https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/rkmppdec.c   and try to use this code for decoding.
I stopped on the code line below:
ret =  ff_decode_get_packet (avctx, &pkt);

This function requires .h files from ffmpeg which i have not in my compiled version. Could someone prompt can I add some flags at configuration stage for .h files or somthing else?(I don't want take these files from github src)

Or maybe is there a better way for h264 decoding using by hw?

Anton Prikazchikov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180409/a4de0aa6/attachment.html>

More information about the Libav-user mailing list