[Bug 792651] gstreamer pipeline unable to change video brightness using vaapipostproc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 25 11:25:45 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=792651

Tapas Kumar Kundu <tapascst at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOTABUG                     |---

--- Comment #2 from Tapas Kumar Kundu <tapascst at gmail.com> ---
I can still reproduce this issue with your code. I compiled your code against
gstreamer-1.12.4 on Intel Ivybridge platform as below: 

libtool --mode=link gcc -g vaapipostproc_test.c -o vaapipostproc_test
`pkg-config gstreamer-1.0 --libs --cflags` `pkg-config gtk+-2.0 --libs
--cflags` `pkg-config gstreamer-video-1.0 --libs --cflags`
libtool: link: gcc -g vaapipostproc_test.c -o .libs/vaapipostproc_test -pthread
-I/home/janardana/src/gstreamer/head/gstreamer
-I/home/janardana/src/gstreamer/head/gstreamer/libs
-I/home/janardana/src/gstreamer/head/gstreamer
-I/home/janardana/src/gstreamer/head/gstreamer/libs -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-2.0
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -pthread
-I/home/janardana/src/gstreamer/head/gstreamer/libs
-I/home/janardana/src/gstreamer/head/gstreamer
-I/home/janardana/src/gstreamer/head/gstreamer/libs
-I/home/janardana/src/gstreamer/head/gstreamer
-I/home/janardana/src/gstreamer/head/gstreamer/libs
-I/home/janardana/src/gstreamer/head/gst-plugins-base/gst-libs
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-L/home/janardana/src/gstreamer/head/gstreamer/gst/.libs -lgtk-x11-2.0
-lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0
-lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype
-L/home/janardana/src/gstreamer/head/gstreamer/libs/gst/base/.libs
-L/home/janardana/src/gstreamer/head/gst-plugins-base/gst-libs/gst/video/.libs
/home/janardana/src/gstreamer/head/gst-plugins-base/gst-libs/gst/video/.libs/libgstvideo-1.0.so
/home/janardana/src/gstreamer/head/gstreamer/libs/gst/base/.libs/libgstbase-1.0.so
/home/janardana/src/gstreamer/head/gstreamer/gst/.libs/libgstreamer-1.0.so
-lgobject-2.0 -lglib-2.0 -pthread
janardana at janardana-Lenovo-V480c:~/src/gstreamer_program$ 



Then I run it as below : 

./vaapipostproc_test 

(lt-gst-plugin-scanner:3439): GStreamer-WARNING **: Failed to load plugin
'/home/janardana/src/gstreamer/head/gst-plugins-bad/ext/vulkan/.libs/libgstvulkan.so':
/home/janardana/src/gstreamer/head/gst-plugins-bad/ext/vulkan/.libs/libgstvulkan.so:
undefined symbol: gst_vulkan_display_wayland_new
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
saturation = 1.118000 / brightness = 0.703193 / contrast = 1.939569
saturation = 0.007639 / brightness = 0.701023 / contrast = 1.865630
saturation = 0.692543 / brightness = 0.972346 / contrast = 0.773652
saturation = 0.855991 / brightness = 0.792819 / contrast = 1.100712
saturation = 0.774666 / brightness = 0.182814 / contrast = 0.350862
saturation = 0.336113 / brightness = 0.785597 / contrast = 0.106252
saturation = 0.441843 / brightness = -0.693075 / contrast = 1.478191
saturation = 0.228305 / brightness = 0.186030 / contrast = 0.862436
saturation = 0.240296 / brightness = 0.993570 / contrast = 0.797715
saturation = 0.366023 / brightness = -0.277194 / contrast = 0.983066
saturation = 0.645769 / brightness = 0.073399 / contrast = 0.045241
saturation = 0.109451 / brightness = 0.009052 / contrast = 0.753974
saturation = 1.216653 / brightness = 0.547144 / contrast = 0.336692

But I don't see any change in brightness. So vaapipostproc still broken ? Could
you please tell me what log will be helpful for you to debug ? I can provide
you any logs from my system .

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list