[gstreamer-bugs] [Bug 602834] New: [ffmpegcolorspace] does un-necessary conversion from RGB to ARGB

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 24 06:53:30 PST 2009


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

           Summary: [ffmpegcolorspace] does un-necessary conversion from
                    RGB to ARGB
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: phil at base-art.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


It looks like ffmpegcolorspace converts from RGB to ARGB even if downstream
elements support both. This example shows it:

gst-launch -v videotestsrc num-buffers=1 ! "video/x-raw-yuv" ! ffmpegcolorspace
!
"video/x-raw-rgb,bpp=(int)32,depth=(int)24,endianness=(int)4321,width=(int)320,height=(int)240,framerate=(fraction)30/1;video/x-raw-rgb,bpp=(int)32,depth=(int)24,endianness=(int)4321,width=(int)320,height=(int)240,framerate=(fraction)30/1,red_mask=(int)65280,green_mask=(int)16711680,blue_mask=(int)-16777216,alpha_mask=(int)255"
! fakesink

fakesink gets these caps: caps = video/x-raw-rgb, bpp=(int)32, depth=(int)24,
endianness=(int)4321, width=(int)320, height=(int)240,
framerate=(fraction)30/1, red_mask=(int)65280, green_mask=(int)16711680,
blue_mask=(int)-16777216

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