<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 26, 2016 at 11:51 PM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas.dufresne@collabora.com" target="_blank">nicolas.dufresne@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le mardi 26 janvier 2016 à 15:51 -0500, William Katsak a écrit :<br>
> width=1920<br>
> height=1080<br>
> coded_width=1920<br>
> coded_height=1088<br>
><br>
> Thinking that there is some weird resolution mismatch here, I add a <br>
> vaapipostproc width=1920 height=1080 to the pipeline, and it runs<br>
> fine.<br>
><br>
> What could be going on here? Why would it work before, and not now?<br>
> Is <br>
> this an issue with the movie itself, or a regression somewhere in<br>
> the <br>
> software stack?<br>
<br>
</span>It's very common to code 1080p video in 1920x1088. That's because most<br>
encoders works in macroblock of 16x16. I still didn't myself manage to<br>
get through how this is handled by vaapi elements, clearly it's buggy.<br>
This is not the first time such an issue is reported. Please file a<br>
bug.<br>
<br>
cheers,<br>
Nicolas<br>
<br>
p.s. With the libav software decoder, it's handled using the<br>
VideoAlignment mechanism, though for vaapi it's a bit more complex due<br>
to the abstract memory model they use. They need to rely on cropping<br>
meta mechanism, which never worked so well. Ideally, search for<br>
existing bug, it's likely filed multiple time already.<br></blockquote><div><br></div><div><br></div><div>Also vaapidecoder is always advertising un-cropped resolution in caps which may cause issues..</div><div>Please file a bug against gstreamer-vaapi</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Regards,<br><br>Sreerenj Balachandran<br>Intel Open Source Technology Center</div>
</div></div>