Hi all, i’m facing an issue related to gstreamers module “vaapipostproc” in version 1.14.4. I’m trying to adjust the colorbalance of a video stream by setting the following properties
-
saturation -
contrast -
brightness while active streaming. I’m doing this by setting the following properties:
g_object_set( G_OBJECT( vaapipostproc ), "saturation", saturation, NULL ); g_object_set( G_OBJECT( vaapipostproc ), "contrast", contrast, NULL ); g_object_set( G_OBJECT( vaapipostproc ), "brightness", brightness, NULL ); whereas saturation, contrast and brightness are properly initialized gfloat variables. It seems that there is a domination order contrast > brightness > saturation.
I’ll explain this shortly: Case I: 1.
Setting saturation to maximum -> Image is properly adjusted 2.
Minimal reduction of brightness -> Saturation of image is reset 3.
Resetting brightness to default value -> Image has again the saturation of (1) Case II: 1.
Setting brightness to maximum -> Image is properly adjusted 2.
Minimal reduction of contrast -> Brightness of image is reset 3.
Resetting contrast to default value -> Image has again the brightness of (1) Case III: 1.
Setting saturation to maximum -> Image is properly adjusted 2.
Minimal reduction of contrast -> Saturation of the image is reset 3.
Resetting the contrast to default value -> Image has again the saturation of (1) I’ve checked this behavior by setting the property values programmatically in code and also by setting up the pipeline with the corresponding values up front.
Am I doing wrong, or is there a bug in the module “vaapipostproc”?
Thanks in advance! Best regards Michael Bitte beachten / Please note! ******************************************************************************* AGCO GmbH Diese E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet ist und kann vertrauliches This email is intended solely for the use of the individual to whom it is addressed and may contain _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Tue, 16 Jul 2019 at 08:14, Timtchenko, Michael wrote:
> Hi all, > > i'm facing an issue related to gstreamers module "vaapipostproc" in version 1.14.4. I'm trying to adjust the colorbalance of a video stream by setting the following properties > > > - saturation > > - contrast > > - brightness > > while active streaming. > > I'm doing this by setting the following properties: > > g_object_set( G_OBJECT( vaapipostproc ), "saturation", saturation, NULL ); > g_object_set( G_OBJECT( vaapipostproc ), "contrast", contrast, NULL ); > g_object_set( G_OBJECT( vaapipostproc ), "brightness", brightness, NULL ); > > whereas saturation, contrast and brightness are properly initialized gfloat variables. > > It seems that there is a domination order contrast > brightness > saturation. > > I'll explain this shortly: > > Case I: > > 1. Setting saturation to maximum -> Image is properly adjusted > > 2. Minimal reduction of brightness -> Saturation of image is reset > > 3. Resetting brightness to default value -> Image has again the saturation of (1) > > Case II: > > 1. Setting brightness to maximum -> Image is properly adjusted > > 2. Minimal reduction of contrast -> Brightness of image is reset > > 3. Resetting contrast to default value -> Image has again the brightness of (1) > > Case III: > > 1. Setting saturation to maximum -> Image is properly adjusted > > 2. Minimal reduction of contrast -> Saturation of the image is reset > > 3. Resetting the contrast to default value -> Image has again the saturation of (1) > > > I've checked this behavior by setting the property values programmatically in code and also by setting up the pipeline with the corresponding values up front. > > Am I doing wrong, or is there a bug in the module "vaapipostproc"? It smells like a bug. But before, what backend are you using? can you share your test app? and finally, can you share a GST_DEBUG=vaapipostproc:5 log? You can open an issue in gitlab and upload those files :) Thanks vmjl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Created an issue as recommended. The requested files are attached.
#182 Thx 4 reply :) -----Ursprüngliche Nachricht----- Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Víctor Jáquez Gesendet: Dienstag, 16. Juli 2019 10:41 An: Discussion of the development of and with GStreamer <[hidden email]> Betreff: [External] Re: vaapipostproc + colorbalance not working properly On Tue, 16 Jul 2019 at 08:14, Timtchenko, Michael wrote: > Hi all, > > i'm facing an issue related to gstreamers module "vaapipostproc" in > version 1.14.4. I'm trying to adjust the colorbalance of a video > stream by setting the following properties > > > - saturation > > - contrast > > - brightness > > while active streaming. > > I'm doing this by setting the following properties: > > g_object_set( G_OBJECT( vaapipostproc ), "saturation", saturation, > NULL ); g_object_set( G_OBJECT( vaapipostproc ), "contrast", contrast, > NULL ); g_object_set( G_OBJECT( vaapipostproc ), "brightness", > brightness, NULL ); > > whereas saturation, contrast and brightness are properly initialized gfloat variables. > > It seems that there is a domination order contrast > brightness > saturation. > > I'll explain this shortly: > > Case I: > > 1. Setting saturation to maximum -> Image is properly adjusted > > 2. Minimal reduction of brightness -> Saturation of image is reset > > 3. Resetting brightness to default value -> Image has again the saturation of (1) > > Case II: > > 1. Setting brightness to maximum -> Image is properly adjusted > > 2. Minimal reduction of contrast -> Brightness of image is reset > > 3. Resetting contrast to default value -> Image has again the brightness of (1) > > Case III: > > 1. Setting saturation to maximum -> Image is properly adjusted > > 2. Minimal reduction of contrast -> Saturation of the image is reset > > 3. Resetting the contrast to default value -> Image has again the saturation of (1) > > > I've checked this behavior by setting the property values programmatically in code and also by setting up the pipeline with the corresponding values up front. > > Am I doing wrong, or is there a bug in the module "vaapipostproc"? It smells like a bug. But before, what backend are you using? can you share your test app? and finally, can you share a GST_DEBUG=vaapipostproc:5 log? You can open an issue in gitlab and upload those files :) Thanks vmjl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel Bitte beachten / Please note! ******************************************************************************* AGCO GmbH Sitz der AGCO GmbH: Johann-Georg-Fendt-Str.4, 87616 Marktoberdorf, Germany Registergericht Amtsgericht Kempten HRB 10327 Geschäftsführer: Michael Gschwender, Peter-Josef Paffen, Dr. Heribert Reiter, Ekkehart Glaeser Vorsitzender des Aufsichtsrates: Dr. Rob Smith ******************************************************************************* Diese E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungsäußerung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von AGCO dar. Sind Sie nicht der Empfänger, so haben Sie diese E-Mail irrtümlich erhalten und jegliche Verwendung, Veröffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder AGCO noch der Absender übernehmen die Haftung für Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren angehängte Dateien (sofern vorhanden) auf Viren zu überprüfen. ******************************************************************************* This email is intended solely for the use of the individual to whom it is addressed and may contain confidential and/or privileged material. Any views or opinions presented are solely those of the author and do not necessarily represent those of AGCO. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. Neither AGCO nor the sender accepts any responsibility for viruses and it is your responsibility to scan and virus check the email and its attachment(s) (if any). ******************************************************************************* _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |