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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Yogesh Marwaha
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.

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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Stefan Sauer
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
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel