GNOME Bugzilla – Bug 755486
glimagesink: doesn't support YUY2 properly
Last modified: 2015-12-02 11:56:28 UTC
Created attachment 311966 [details] glimagesink yuy2 is bad It's seems glimagesink is not drawing YUY2 frames nicely. Just type this pipeline: gst-launch-1.0 videotestsrc ! video/x-raw,format=YUY2 ! glimagesink See attached image.
Created attachment 311968 [details] GST_DEBUG=*:6 with videotestsrc num-buffers=1
Created attachment 311971 [details] Chainsaw effect with YUY2
This is what I see in the logs. _gl_mem_init: new GL texture context:<glcontextglx0> memory:0x7f10bc011090 format:6 dimensions:320x240 stride:640 size:153600 Format 6 is GST_VIDEO_GL_TEXTURE_TYPE_RG
commit c8099e6e7184cab84118570156c009b7a29d34f4 Author: Matthew Waters <matthew@centricular.com> Date: Wed Dec 2 22:42:39 2015 +1100 glcolorconvert: improve the YUY2/UYVY->RGBA conversion shader Don't offset the y-axis. We only need to offset on the x-axis. Removes a sawtooth pattern on horizontal and vertical edges. https://bugzilla.gnome.org/show_bug.cgi?id=755486