[Bug 740614] New: gstqtglvideosink: Color matrix possibly wrong on larger videos (BT 709)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 24 02:53:56 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740614
  GStreamer | qt-gstreamer | 1.4.3

           Summary: gstqtglvideosink: Color matrix possibly wrong on
                    larger videos (BT 709)
    Classification: Platform
           Product: GStreamer
           Version: 1.4.3
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: qt-gstreamer
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ibooij at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Hi,

Using qtgstreamer 1.2.0

I was seeing video that was very 'red'. This only happended on larger videos,
e.g. 1600x640. Smaller videos, e.g. 720x480 were working fine.

I am not an OpenGL expert by any means, so I had some trouble finding what the
cause was.

What I found using apitrace, was that the color matrix for the smaller videos
was different than the one for the bigger videos. This came down to the the
choice of color matrix in
elements/gstqtvideosink/painters/openglsurfacepainter.cpp, from line 136.

If I remove the special color matrix for GST_VIDEO_COLOR_MATRIX_BT709, so
basically make that case fall through to GST_VIDEO_COLOR_MATRIX_BT601, the
colors in the videos, both larger and smaller, are correct.

By the way, playing the videos using gst-launch (both 0.10 and 1.0) works
perfectly fine.

If I need to be more specific, please let me know.

By the way, I'm really pleased with qt-gstreamer. I was using ffmpeg and doing
my own opengl stuff for displaying video, but this works a lot nicer, with a
lot less code on my side. 

cheers,
Ilja

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