<div dir="ltr">Hello all,<div><br></div><div>I have a question and I hope someone can help me.</div><div>I want to extract all motion vectors in P_type mocroblock  in a P_frame  during encoding </div><div>h264 video with libx264 (x264). libx264 uses X264Context in the function x264_frame to encode</div><div>video. Then, I want to know how can I access to  macroblocks in a picture and </div><div>how to access to motion vectors table on this picture while using the X264Context struct.</div><div>With MpegEncContext we can access them while using MpegEncContext struct's mb_type, *mvs[2], mb_width, mb_height and mb_stride. But I don't know how to have such informations ( </div><div>mb_type, *mvs[2], mb_width, mb_height and mb_stride) with X264Context struct.</div><div><br></div><div>Please I need your help.</div><div><br></div><div>Regards</div></div>