[FFmpeg-user] extract motion data

Stevens, Christoph (Christoph) christoph.stevens at alcatel-lucent.com
Thu Jul 2 17:36:43 CEST 2015


Dear ;



I am trying to extract the motion vector data from an AVframe after calling avcodec_decode_video2 , and tried the following Enabling the debug_mv as well as debug on the AVCodecContext resulted in the deprecated struct motion_val to stay empty 0x0.

As well as an alternative approach via a call to av_frame_get_side_data , on an AVFrame of which an example can be found in the /libavfilter/vf_codecView.h did result in an empty structure .



I wonder why the above : motion_val and/or side_data struct stay empty or nill ?

can anyone help me out  , I surely overlooking something



Thank you very much



Greetings Christoph



More information about the ffmpeg-user mailing list