[FFmpeg-devel] extract mv data

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

The codec which is used is h264 .
I didn't check the cmd-line tool yet , what option do I give ? --debug  vismv ?


-----Original Message-----
From: ffmpeg-devel-bounces at ffmpeg.org [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Michael Niedermayer
Sent: jeudi 2 juillet 2015 17:44
To: FFmpeg development discussions and patches
Subject: Re: [FFmpeg-devel] extract mv data

On Thu, Jul 02, 2015 at 03:29:20PM +0000, Stevens, Christoph (Christoph) wrote:
> Dear ;
> I am trying to extract the mv 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 , of which an example can be found in the /libavfilter/vf_codecView.h did result in an empty structure .
> I wonder why the above stays empty or nill  , can anyone help me out 
> Thank you very much

what codec is used ? not all codecs support extracting MV data also does it work with ffmpeg (the command line tool) ?


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.

More information about the ffmpeg-devel mailing list