<div dir="ltr">I asked the same thing not 2 weeks ago, and the answer seems to be : there is no replacement. Either modify the codec to suite your needs, or recalculate it afterwards (which is what I did, as i was not good enough to go so deep in the code)<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-04 17:11 GMT+02:00 Roman Savchenko <span dir="ltr"><<a href="mailto:gmstima@gmail.com" target="_blank">gmstima@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi All,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I have to use AVFrame mb_type and motion_val fields in my code, but for now they are deprecated and not filled with correct values.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I try to search some info in internet about it but can not find direct answer. I know that they are hidden in private implementation of codecs, but how can I extract them.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I can not include "h264.h" to use H264Context, because its not a part of api.</div><div style="font-family:arial,sans-serif;font-size:13px">

I try to use FF_DEBUG_MB_TYPE but without any effect.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks for any advice.</div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">Regards,</div><div style="font-family:arial,sans-serif;font-size:13px">R. Savchenko.</div></div>
<br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>