<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 21, 2015 at 5:28 PM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.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="">On Do, 2015-05-21 at 15:24 -0400, Stirling Westrup wrote:<br>
> I've built a videowall player pipeline that works for videos with square<br>
> pixels, but when someone tries to play something with a different pixel<br>
> aspect ratio, the video gets clipped, cropped and displayed wrong.<br>
><br>
> I'm trying to sort out the culprits, but pixel-aspect-ratio isn't really<br>
> discussed in the docs, and I don't actually know how most elements respond.<br>
> For that matter, I never know when talking about widths and heights of<br>
> frames, if that is in stored-pixels or displayed-pixels.<br>
<br>
</span>It's in stored pixels, and the pixel-aspect-ratio describes the ratio<br>
between the pixel height and width.<br></blockquote><div><br></div><div>Ah, that was not what I had assumed. It explains much. So, just to make sure I'm clear on this, it would imply that I should basically never input a parameter or negotiate a size in anything other than stored-pixels.<br><br>For example, suppose I want to scale my video to full screen on a video sink with an 800x600 (display) pixel resolution. I might find myself negotiating for "video/x-raw,width=640,height=600,pixel-aspect-ratio=1.25" and get what I wanted? (assuming, of course, that my source has a pixel aspect ratio of 1.25)?<br><br><br></div></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Stirling Westrup<br>Programmer, Entrepreneur.<br><a href="https://www.linkedin.com/e/fpf/77228" target="_blank">https://www.linkedin.com/e/fpf/77228</a><br><a href="http://www.linkedin.com/in/swestrup" target="_blank">http://www.linkedin.com/in/swestrup</a><br><a href="http://technaut.livejournal.com" target="_blank">http://technaut.livejournal.com</a><br><a href="http://sourceforge.net/users/stirlingwestrup" target="_blank">http://sourceforge.net/users/stirlingwestrup</a></div>
</div></div>