AnsweredAssumed Answered

ui and video combining on imx6q

Question asked by xie huijun on Sep 16, 2015
Latest reply on Nov 2, 2015 by xie huijun

hello everyone, i have some trouble in imx6q about ui and video combining.

 

i'm using buildroot for system (kernel 3.10 + QT5.5 + eglfs2.0 ). i want to play video and show transparent picture(eg: png) on the top of video.

my kernel boot args:"video=mxcfb0:dev=hdmi,1920x1080@60,if=RGB24,bpp=32 "

i have try some methods like this :

set video output to "video16"(BG),and set QT output to "fb1"(FG), this can work, but the background of "fb1" is not transparent and "fb1" have covered the video.

i tried to set the background of qt widget to transparent and set the "alpha"and"color_key" of fb1 device,  but no effect both,or the settings is wrong ?

i also tried to set video output to "video16"(BG),and set QT output to "fb0"(BG), it will just show video only.

 

i can't find any demos for this, is there any method for my purpose ?

i'm look forward to you, thanks.

Outcomes