<div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">When I display a 4:3 aspect ratio video in a 16:9 display screen in fullscreen, the result display shows bright green sidebars OR places the 4:3 video in a random location within the larger display. </div><div dir="ltr">How to remove the green sidebars?</div></div><div>Or, How to center the video in the display?</div><div><br></div><div>GStreamer 1.14.4 on Intel Cherrytrail hardware on Debian GNU/Linux 9 (stretch).</div><div dir="ltr"><br></div><div>Same results with vaapisink or waylandsink.</div><div>Same results with "fullscreen=true" or setting the sizes explicitly via videoscale or vaapipostproc.</div><div><br></div><div>Example pipelines:</div><div><br></div><div>Green sidebars:</div><div>gst-launch-1.0 videotestsrc ! vaapipostproc width=1920 height=1440 ! vaapisink fullscreen=true<br></div><div><br></div><div>Green sidebars:</div><div>gst-launch-1.0 videotestsrc ! video/x-raw, width=1920, height=1440 ! vaapisink fullscreen=true<br></div><div><br></div><div><div>Dark sidebars (good), but can't horizontally position the window (bad):</div></div><div>gst-launch-1.0 videotestsrc ! video/x-raw, width=2880, height=2160 ! vaapisink<br></div><div><br></div><div>Dark sidebars (good), but can't horizontally position the window (bad):</div><div>gst-launch-1.0 videotestsrc ! video/x-raw, width=2880, height=2160 ! waylandsink<br></div><div><br></div><div>Videobox removes green sidebars (good), but performance hit (bad):</div><div>gst-launch-1.0 videotestsrc ! vaapipostproc width=1920 height=1440 ! videobox left=-320 right=-321 top=-1 ! vaapisink fullscreen=true<br></div><div><br></div><div>Videomixer provides similar performance degradation to Videobox as would be expected.</div><div><br></div><div>Does anyone know how to remove the green bars without degrading performance?</div><div><br></div><div>Thanks!</div><div> - David</div></div></div></div></div></div></div>