<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Please avoid top posting on these lists - it's considered bad form.<br>
<br>
<div class="moz-cite-prefix">On 2014-03-25 12:10, cyril poulet
wrote:<br>
</div>
<blockquote
cite="mid:CACNsTQGjJKQ410+h=SAz=Erm2a=Rssno4-sf9RKUKdv=Ju6OAg@mail.gmail.com"
type="cite">
<div class="gmail_extra">
<div class="gmail_quote">2014-03-25 12:06 GMT+01:00 Tomas Härdin
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:tomas.hardin@codemill.se" target="_blank">tomas.hardin@codemill.se</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5"><br>
On 2014-03-25 11:29, cyril poulet wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all<br>
As others who already posted on this matter but got no
answers, I'm trying to get motion vectors from h264
codec (P-frames).<br>
Before v2, they seemed to be available in
AVFrame::motion_val, (along with motion_subsample_log2
and mb_type), which are now deprecated.<br>
<br>
Is there any way to get these values since v2 ?<br>
<br>
(I'm also interested in getting back the dct_coeff for
I-frames, but something tells me that all these
questions are linked)<br>
</blockquote>
</div>
</div>
I think the general direction nowadays is to hide such
internals. If you want access to this stuff in the future
you'll have to fork and hack the functionality in<br>
<br>
/Tomas<br>
</blockquote>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div dir="ltr">So i've understood, but I don't really see why
these values are not available anymore. I realize that messing
with the internals of various codecs is not why libav is made
for, but these fields are calculated anyway, so why not
propagate it to the AVFrame ?<br>
</div>
</blockquote>
<br>
Because they're internal, and having them exposed hampers
refactoring efforts. If you want stuff to remain "like before" then
just use some specific old version of ffmpeg in your application (or
even a specific commit)<br>
<br>
/Tomas<br>
</body>
</html>