[FFmpeg-devel] Understanding motion vectors from ff_print_debug_info()

Oleg tagrus
Wed Aug 12 09:23:39 CEST 2009


Hello. 
I have a question about motion vectors. As you wrote here
"http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-August/033535.html", "AVFrame.motion_val is always populated, if the codec has motion vectors
 at all. The motion vectors have to be stored somewhere, so there's no
 penalty for exporting them."

But, in my program, AVFrame.motion_val is populated  only when I'm
setting AVCodecContext.debug_mv = 1. But, in this case, motion vectors
are drew in frame.

So, how to populate AVFrame.motion_val without vizualization?


In advance, thank you for answer.




More information about the ffmpeg-devel mailing list