GNOME Bugzilla – Bug 774781
iqa does not take buffer formats into account
Last modified: 2018-11-03 13:59:26 UTC
How to reproduce: * Take two video streams, put them through iqa. * Observe the result. * Put videoconvert elements and capsfilters before iqa sinkpads and convert one stream into I420, the other to, say, BGRA. * Observe that the result is different now. Expected result: iqa refuses to compare streams with different formats OR iqa internally (by itself or inside dssim library) converts streams into the same format as needed Actual result: iqa passes buffers from both streams to dssim, claiming that the streams have RGBA format, regardless of the actual stream format
Created attachment 340409 [details] an image with three pixels (R, G and B)
Created attachment 340410 [details] an image with three pixels (G, R and B) Use these two images like this: gst-launch-1.0 multifilesrc location="rgb.png" index=0 caps="image/png,framerate=\(fraction\)12/1" ! pngdec ! videoconvert ! "video/x-raw,format=RGBA" ! iqa name=iqa do-dssim=true ! videoconvert ! autovideosink sync=false multifilesrc location="grb.png" index=0 caps="image/png,framerate=\(fraction\)12/1" ! pngdec ! videoconvert ! "video/x-raw,format=RGBA" ! iqa. then change one of the capsfilters from RGBA to I420
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/476.