I am stuck for a month with a video example given in Qt Video Overview.
I tried that code, but I only got a blank square (QWidget). I am using GStreamer0.10 for media playback over Qt5. I also played a video with gst-launch-0.10 command and it works okay, but I cannot determine what's happening in Qt and why it won't work.
I looked in the error log of X Server, located in /etc/X11/Xorg.0.log
, and when I use fbdev as a display driver configured in /etc/X11/xorg.conf
it shows me the error:
"FBDEV(0): FBIOPUTCMAP: Invalid argument"
When I use modesetting driver everything acts the same but no errors. I figured out that when I deleted xorg.conf file and start X server again, video works but with lack of colors and with flickering. Also the example works well on my Ubuntu VM and via vnc client. Every advice and help will be appreciated.
Target machine: BeagleBone Black
Distribution: Debian Jessie 8.2
Kernel Version: 4.1.15-ti-rt-r43
List of available drivers in /usr/lib/xorg/modules/drivers: ati_drv.so, mach64_drv.so, nouveau_drv.so, r128_drv.so, vesa_drv.so, fbdev_drv.so, modesetting_drv.so, omap_drv.so, radeon_drv.so
Here is a full error log from Xorg when I try to launch my Qt application on BeagleBone Black under Debian Jessie 8.2 -> http://pastebin.com/4x8KztBk
xorg.conf file from /etc/X11 -> http://pastebin.com/4WhX8pJc