<div dir="ltr"><div><div><div>Thanks for the advice.<br></div>On my particular case, I'm interested in detecting overlays, so it's not really about estimating the motion but more estimating what's not moving.<br>
</div>Recent papers have obtained good results by estimating a first approximate overlay position directly on these MVs, though after that you effectively have to work on parts of the decoded frames.<br></div>Anyway, thanks for the explanation !<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-28 23:38 GMT+01:00 Camera Man <span dir="ltr"><<a href="mailto:i.like.privacy.too@gmail.com" target="_blank">i.like.privacy.too@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 03/28/2014 12:18 PM, cyril poulet wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As a matter of fact, I wanted to use them for computer vision, where calculating edge densities and motion estimation are important.<br>
Now that these are deprecated, the only way is to first decode each frame then re-calculate MVs and DCTs, which is computationnally costly...<br>
</blockquote>
<br></div>
You probably don't want to use them for computer vision; They are specifically optimized for minimizing visual artifacts on one hand, and staying within protocol constraints on the other (e.g. some streams have no I-frames but do have guaranteed "frame convergence" - which means the motion on those is guaranteed to be "wrong").<br>

<br>
It's not that they can't be useful, it's that the MV information is "very noisy" compared to what you'd get from computer vision stuff. Doing a pyramid Lucas-Kanade (openCV and libccv both have good implementations, supposedly) does not require a lot of CPU and provides vastly better motion estimation for computer vision.<div class="HOEnZb">
<div class="h5"><br>
<br>
<br>
______________________________<u></u>_________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/<u></u>listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>