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 744395 - Quality issue in video-blend
Quality issue in video-blend
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.4.5
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-02-12 13:26 UTC by Muthu
Modified: 2018-11-03 11:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Muthu 2015-02-12 13:26:18 UTC
While overlaying a logo in video, I have used the following pipeline

gst-launch-1.0 videotestsrc ! gdkpixbufoverlay location=<logo_1240x1900.png> overlay-width=100 overlay-height=152 ! autovideosink

The quality of logo was not upto the mark and I have observed staircase effect. While digging into this, found that the issue was in video-blend.c module

1. Chroma sub-sampling is not performed before packing in video-blend.c. Chroma sub-sampling while 4:4:4 to 4:2:0 format conversion should be done before packing. Because this is not done, chroma pixels are directly dropped that led to aliasing. 
2. The coefficients used in RGB to YUV conversion are not same mentioned for Studio swing for BT.601 or Full swing for BT.601 in http://en.wikipedia.org/wiki/YUV. Use of coefficients from http://en.wikipedia.org/wiki/YUV improves the visual quality in Cb and Cr components. The Y coefficients are not summing to 256. So there seems to be some error.

Other than this, also found resizing by different filters may be added along with bilinear which is already existing. Lanczos2 gives better visual quality. Bilinear doesn’t give good quality though.
Comment 1 GStreamer system administrator 2018-11-03 11:35:01 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-base/issues/163.