[FFmpeg-devel] Decoding motion vectors

Loren Merritt lorenm
Wed Nov 21 12:28:30 CET 2007


On Tue, 20 Nov 2007, Nicola Adami wrote:

>    my objective is to get motion vector information and I'am using
> something similar to what is described in
> ff_print_debug_info().
> Everything does work fine if the MB partition is one level (i.e. 8x8,
> 16x8, 8x16 and 16x16) but I have no idea
> on where to look for retrieving 8x8 sub-partitions (i.e. 4x4, 8x4 and
> 4x8) of inter predicted macro-blocks.
> Any suggestion?

Same thing, see AVFrame.motion_subsample_log2

--Loren Merritt




More information about the ffmpeg-devel mailing list