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
Libav-user mailing list

Reply via email to