Issue in compositor element

Baby Octopus jagadishkamathk at gmail.com
Wed Jan 18 13:11:48 UTC 2017


Hi,

Compositor element seems to stretch/compress the video based on
pixel-aspect-ratio, and then use xpos and ypos on the stretched/compressed
video size. This looks wrong to me and like a bug. Can someone confirm pls?

For example, if video is 100x100 par of 2/1,  and I want to position another
100x100 adjacent to it, second 100x100 and xpos=100 and ypos=0, this second
video gets positioned from the center of first video and resultant video is
300x100

Pipeline:
gst-launch-1.0 videotestsrc pattern=0 !
video/x-raw,width=100,height=100,pixel-aspect-ratio=2/1 ! comp. videotestsrc
pattern=18 ! video/x-raw,width=100,height=100,pixel-aspect-ratio=2/1 ! comp.
compositor name=comp sink_0::xpos=0  sink_0::ypos=0 sink_1::xpos=100
sink_1::ypos=0 ! videoconvert ! autovideosink -v

No composition also stretches the video
gst-launch-1.0 videotestsrc pattern=0 !
video/x-raw,width=100,height=100,pixel-aspect-ratio=2/1 ! compositor
name=comp sink_0::xpos=0  sink_0::ypos=0  ! videoconvert ! autovideosink -v






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Issue-in-compositor-element-tp4681530.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list