GNOME Bugzilla – Bug 642443
strange edge effect for low resolution video
Last modified: 2011-02-17 09:34:26 UTC
OS: openSUSE 11.3 When trying the effects of cheese, I found that the edge effect doesn't work well with the low resolution video. I tried several gst-launch commands and the following is my findings: - If the input format is YUV(YUY2) and the resolution is low, the output of edgetv->xvimagesink becomes weird (see the attachment). $ gst-launch -v videotestsrc ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! edgetv ! ffmpegcolorspace ! xvimagesink - If the resolution is high (e.g. 640x480), edgetv works perfectly. - If the input format is RGB or YUV(I420), edgetv works perfectly. - ximagesink works while xvimagesink doesn't. $ gst-launch -v videotestsrc ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! edgetv ! ximagesink Wonder why YUV(YUY2) ruins the output of edgetv->xvimagesink.
Created attachment 180970 [details] strange edge effect
Created attachment 180971 [details] normal edge effect It looks like something wrong between the conversion of YUV and RGB.
Found 4 patches fixing this bug: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=cff70878b66a980037868d72ca0e0fb9e9b52397 http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=9c9f97251a44cb4f05993cbe9dabfc40560a147f http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=d774b460770d9433a483367da59d9241e085991b http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=6e9deae749a32f5654cc2b62445da0ab8b74cf73