After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 774781 - iqa does not take buffer formats into account
iqa does not take buffer formats into account
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-21 12:02 UTC by LRN
Modified: 2018-11-03 13:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
an image with three pixels (R, G and B) (98 bytes, image/png)
2016-11-21 12:03 UTC, LRN
Details
an image with three pixels (G, R and B) (101 bytes, image/png)
2016-11-21 12:04 UTC, LRN
Details

Description LRN 2016-11-21 12:02:00 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
Comment 1 LRN 2016-11-21 12:03:00 UTC
Created attachment 340409 [details]
an image with three pixels (R, G and B)
Comment 2 LRN 2016-11-21 12:04:20 UTC
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
Comment 3 GStreamer system administrator 2018-11-03 13:59:26 UTC
-- 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.