On date Saturday 2010-05-29 19:03:08 +0200, Nico Juralewsky encoded:
> Hello,
> 
> my task is if it is possible to extract the motion information in
> video codecs. I have seen that in the libavcodec/mpegvideo.c is a
> function MPV_decode_mb_internal (...) with a motion vector variable.
> My problem is that I'm new in this topic ffmpeg.
> 
> Now my question: Is there any possibility how I can get the motion
> information, for example to visualize this. In my project I have to
> test how I can get the motion information and implement it into an
> OpenCV program for image processing tasks.
> 
> Is there anyone who can give some hints in which code segment in the
> libavcodec library I have to see or how I can proceed to get the
> motion information?

libavcodec/motion_est.c implements motion estimation as used by
ffmpeg. It has been recently discussed to make that API public, to
make it usable for example by a libavfilter filter.

I don't know if opencv already has ME algorithms available, but either
an opencv-based libavfilter filter either a native implementation
using the ffmpeg ME stuff would be welcome.

> Thank you for input.

Regards.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to