GNOME Bugzilla – Bug 738067
gl: Downloading YUY2 is broken and creates blocky artefacts
Last modified: 2014-10-07 12:34:09 UTC
Try using " ... ! gleffects ! video/x-raw,format=YUY2 ! xvimagesink". The output looks like wrongly scaled. Using I420 instead looks as expected. Changing libgstgl to not use RB textures for YUY2 does not help much, in that case the complete output is bright green (not zero-green).
frag_RGB_to_YUY2_UYVY uses r and g unconditionally for the output, not sure what effect that has when luminance/alpha textures are used. Might be the reason for the green.
commit 9dc1f9be369cd2376568db06cded1eadddec37b6 Author: Matthew Waters <matthew@centricular.com> Date: Tue Oct 7 23:04:30 2014 +1100 glcolorconvert: fix UYVY download green screen commit 2fb0b28f74600bb5d7ebaa979dc37cfde263d919 Author: Matthew Waters <matthew@centricular.com> Date: Tue Oct 7 22:50:22 2014 +1100 glcolrconvert: fix YUY2 download - The shader was outputing the wrong values compared with raw videotestsrc. - deal with the texture edge properly. - properly sample the 2x1 rectangle for the u and v values - don't double sample the y value and 1.4 9468f73d40e2e19cee49595c954f25bea7146a39 3dc839d5ed55f340b9ef4e8dff5340726592f5c3