[Ffmpeg-devel] motion_val

Michael Niedermayer michaelni
Mon Nov 6 14:06:04 CET 2006


Hi

On Fri, Nov 03, 2006 at 02:48:36PM -0800, sarah shams wrote:
> Hi,
> I am trying to extract motion vectors from an mpeg sequence but i have problem using  AVFrame.motion_val .  When i use it for .3gp sequences it works but when i use it for a .mpeg file and try to read  the values of the array, it gives a  sementation fault error. 
> The problem is that, i am not sure how and where  the values of motion_val are calculated for different video formats.
> I would appreciate it if you could help me with this problem.

you did set AVCodecContext.debug_mv right?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list