Changing brightness/contrast/hue/saturation using xvimagesink having no effect.

Stefan Sauer ensonic at hora-obscura.de
Tue Jun 12 07:12:05 PDT 2012


On 06/07/2012 05:37 AM, Yogesh Marwaha wrote:
> Hi,
>
> I'm trying to change brightness/contrast/hue/saturation values using
> xvimagesink (inside playbin) but it is having no effect.
>
> I set brightness like:
>         g_object_set(G_OBJECT(m_pVideoSink), "brightness",
> qBound(-100, value, 100) * 10, NULL);
>
> and I get the correct value when I query the value like:
>         g_object_get(G_OBJECT(m_pVideoSink), "brightness", &b, NULL);
>
> I've correctly set the sink property of playbin to xvimagesink.
Your xvideo backend probably does not support it (e.g. mine has
brightness and contrast, but no hue and saturation). Check using the
"xvinfo" tool. As an alternative plug the colorbalance element and use
it there.

Stefan
>
> Please help me find the solution.
>
> I've openSUSE 12.1 (Tumbleweed), gstreamer-0.10.36,
> gstreamer-base-0.10.36, gstreamer-good-0.10.31, xorg 7.6 on Intel
> Clarkdale system with integrated graphics)
>
> Regards,
>
> Yogesh
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list