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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 27 00:41:54 PDT 2015


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

            Bug ID: 752913
           Summary: Compositor doesn't show input video at correct scale
    Classification: Platform
           Product: GStreamer
           Version: 1.5.2
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: mathieu.hinderyckx at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When using the compositor to display videos with the width parameter,
compositor doesn't lead to correct displaying (videomixer does)

VIDEOMIXER (correct):

gst-launch-1.0 videomixer name=mix sink_1::xpos=1920 sink_2::ypos=1080
sink_3::xpos=1920 sink_3::ypos=1080 ! videoconvert ! xvimagesink \
  videotestsrc pattern=1 ! \
  video/x-raw,format=I420,framerate=\(fraction\)10/1,width=1920,height=1080 ! \
    timeoverlay text="Lossless:" shaded-background=true ! queue ! \
    mix.sink_0 \
  videotestsrc pattern=5 ! \
  video/x-raw,format=I420,framerate=\(fraction\)10/1,width=1920,height=1080 ! \
    timeoverlay text="1080p "  shaded-background=true ! queue ! \
    mix.sink_1 \
  videotestsrc pattern=9 ! \
  video/x-raw,format=I420,framerate=\(fraction\)10/1,width=1280,height=720 ! \
    videoscale ! video/x-raw,width=1920 ! \
    timeoverlay text="720p" shaded-background=true ! queue ! \
    mix.sink_2 \
  videotestsrc pattern=1 ! \
  video/x-raw,format=I420,framerate=\(fraction\)10/1,width=960,height=540 ! \
    videoscale ! video/x-raw,width=1920 ! \
    timeoverlay text="540p"  shaded-background=true ! queue ! \
    mix.sink_3

COMPOSITOR (wrong):

gst-launch-1.0 compositor name=mix sink_1::xpos=1920 sink_2::ypos=1080
sink_3::xpos=1920 sink_3::ypos=1080 ! videoconvert ! xvimagesink \
  videotestsrc pattern=1 ! \
  video/x-raw,format=I420,framerate=\(fraction\)10/1,width=1920,height=1080 ! \
    timeoverlay text="Lossless:" shaded-background=true ! queue ! \
    mix.sink_0 \
  videotestsrc pattern=5 ! \
  video/x-raw,format=I420,framerate=\(fraction\)10/1,width=1920,height=1080 ! \
    timeoverlay text="1080p "  shaded-background=true ! queue ! \
    mix.sink_1 \
  videotestsrc pattern=9 ! \
  video/x-raw,format=I420,framerate=\(fraction\)10/1,width=1280,height=720 ! \
    videoscale ! video/x-raw,width=1920 ! \
    timeoverlay text="720p" shaded-background=true ! queue ! \
    mix.sink_2 \
  videotestsrc pattern=1 ! \
  video/x-raw,format=I420,framerate=\(fraction\)10/1,width=960,height=540 ! \
    videoscale ! video/x-raw,width=1920 ! \
    timeoverlay text="540p"  shaded-background=true ! queue ! \
    mix.sink_3

The compositor adds a gray area to the right and does not show the correct
height for the lowest 2 videos. When adding the height=1080 as parameter to the
last 2 videoscale elements, displaying is correct.

-- 
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