<HTML><BODY><div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div>
                <base target="_self" href="https://e.mail.ru/">
                
            <div id="style_15232839560000000369_BODY"><div class="class_1523288923">
<p>Hello,<br><br>I have rk3399 and installed mpp(<a href="https://github.com/rockchip-linux/mpp" target="_blank">https://github.com/rockchip-linux/mpp</a>).<br><br>I am receiving rtsp stream using by ffmpeg(C++).<br>And now I have to decode h264 video using by mpp but I don't understand how to do this. <br><br>I found <a href="https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/rkmppdec.c" target="_blank" rel=" noopener noreferrer">https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/rkmppdec.c</a>  and try to use this code for decoding.</p><p>I stopped on the code line below:</p><p> ret = <span class="pl-c1_mailru_css_attribute_postfix">ff_decode_get_packet</span>(avctx, &pkt);<br><br>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)<br><br>Or maybe is there a better way for h264 decoding using by hw?<br><br>Thanks,<br>Anton Prikazchikov<br></p>
</div></div>
            
        
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div></BODY></HTML>