[Bug 752913] Compositor doesn't show input video at correct scale

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 27 01:12:20 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752913

Matthew Waters <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ystreet00 at gmail.com

--- Comment #1 from Matthew Waters <ystreet00 at gmail.com> ---
Actually, videoscale/compositor's behaviour is valid.  In the videomixer case,
the pixel-aspect-ratio is 1/1 everywhere however in the compositor case, the
pixel-aspect-ratio happens to be != 1/1 so videoscale doesn't actually perform
any actual scaling.  It just sets the par to make the width=1920 filter happy. 
compositor then actually converts this non 1/1 par into the output par (which
is 1/1) and it results in the original stream size.

Specifying either the pixel-aspect-ratio=1/1 or height=1080 in the caps filter
after videoscale will fix this.

Although in order to avoid possibly scaling twice (once in videoscale and once
in compositor) you should remove the videoscale and just set the width/height
properties on the compositor sink pads.

The gray area to the right is a problem and is due to not having enough
information at the time of setting the source caps.  A work around is to
explicitly set the output size.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list