[Libav-user] Problem reading motion vectors

Luis Brocan Broki brocanhu86 at gmail.com
Tue Jul 30 13:04:23 CEST 2013


It's a deprecated parameter in AVFrame structure (as well as motion val
3-dimensional array), which i use to compute motion vectors in old versions
of ffmpeg.

If these parameteres has gone from codebase, how i can get now the motion
vectors?

Thanks in advance!


2013/7/30 Paul B Mahol <onemda at gmail.com>

> On 7/30/13, Luis Brocan Broki <brocanhu86 at gmail.com> wrote:
> > Hi everyone!
> >
> > I'm currently developing a program that reads the motion_val table in
> each
> > frame for doing some computations. The problem if since i've upgraded to
> > ffmpeg 2.0 (i come from avcodec-53 version), the second level of
> motion_val
> > table is always null, and  m_pFrame->motion_subsample_log2 is always 0.
> > I've tested agains mp4 (h264) videos, xvid videos, mpeg2 videos, without
> > sucess.
> >
> > Any ideas? what i'm doing wrong? it's now necessary to activate some kind
> > of flag? or use a filter? or how?
> >
> > Thanks in advance!!
> >
>
> I can't find motion_subsample_log2 anywhere in codebase.
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130730/0f5e0dc7/attachment.html>


More information about the Libav-user mailing list