[Libav-user] motion vector extraction in H.264 video

gaoyuan gaoyuan1024 at gmail.com
Sun Aug 18 05:26:11 CEST 2013


Hi, all!

 

  I'm trying to extract motion vector in the H.264 video using Zeranoe's
FFmpeg Builds.

 

  FFmpeg version: 2013-06-23 git-c329713

  libavutil      52. 37.101 / 52. 37.101

  libavcodec     55. 16.100 / 55. 16.100

  libavformat    55.  9.100 / 55.  9.100

  libavdevice    55.  2.100 / 55.  2.100

  libavfilter     3. 77.101 /  3. 77.101

  libswscale      2.  3.100 /  2.  3.100

  libswresample   0. 17.102 /  0. 17.102

  libpostproc    52.  3.100 / 52.  3.100

 

This FFmpeg build was configured with:

  --disable-static --enable-shared --enable-gpl --enable-version3
--disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig
--enable-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib

  

  I refered to the method in this blog
http://jiasi.blogspot.com/2011/05/motion-vector-extraction.html and compiled
the code in VS 2012 under windows 7.

 

  I've set the debug_mv of AVCodecContext as FF_DEBUG_VIS_MV_P_FOR |
FF_DEBUG_VIS_MV_B_FOR, and get the result as followed. But the motion_val in
AVFrame did't have the corresponding value. Have you guys meet with this
problem?

 



 

Thanks

Gao Yuan :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130818/aae33213/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 45757 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130818/aae33213/attachment.jpe>


More information about the Libav-user mailing list