[Bug 711003] New: [videoscale] borders are filled with green when using NV12 pixelformat

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 28 12:44:44 CET 2013


https://bugzilla.gnome.org/show_bug.cgi?id=711003
  GStreamer | gst-plugins-base | 1.2.0

           Summary: [videoscale] borders are filled with green when using
                    NV12 pixelformat
    Classification: Platform
           Product: GStreamer
           Version: 1.2.0
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ospite at studenti.unina.it
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Hi,

when using videoscale with add-borders=1 and the NV12 pixelformat the borders
result filled in green.

This is the test pipeline which shows the problem:

gst-launch-1.0 videotestsrc ! video/x-raw,format=NV12,width=640,height=480 !
videoscale add-borders=1 !
video/x-raw,width=800,height=480,pixel-aspect-ratio=1/1 ! videoconvert !
autovideosink

This is because the borders are not filled in black explicitly when NV12 is
used, the attached patch fixes the issue, but maybe there is a better way to do
it.

BTW, I came across a similar issue with the rotate plugin:
https://bugzilla.gnome.org/show_bug.cgi?id=710392

I can understand that the operation "filling a frame buffer in black" is not
that simple as it appears when taking into account different pixel formats, so
maybe a "library" way to fill frame buffers with a given color could be added
to GStreamer.

Just an idea, I don't have development time to spend on such a project right
now.

Thanks,
   Antonio

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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