imx6dl平台使用gstreamer中gui叠加问题

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6dl平台使用gstreamer中gui叠加问题

Jump to solution
4,173 Views
819265478
Contributor I

我们的gui位于fb0,想使用gstreamer采集视频显示到fb1,通过alpha及key color来叠加显示,目前插件分别是imxv4l2src和imxv4l2sink,发现设置alpha无效,导致gst-launch-1.0 imxv4l2src ! imxv4l2sink的视频遮盖住了我们的gui,如果使用

gst-launch-1.0 imxv4l2src ! imxv4l2sink overlay-left=20 overlay-top=20  则能看到被遮盖的部分gui(如图片1),由此我猜测是alpha设置未生效,所以想问如何设置alpha才可?(图片1是当前的效果,图片2是想要实现的效果)

Labels (5)
0 Kudos
1 Solution
3,444 Views
joanxie
NXP TechSupport
NXP TechSupport

I don't know how you test this, but you can refer to the sample code as below

https://community.nxp.com/message/612485 

View solution in original post

0 Kudos
6 Replies
3,444 Views
yanglv
Contributor I

大神如何设置的,能附相关的源码供学习吗?

0 Kudos
3,444 Views
819265478
Contributor I

已解决,需要使用overlaysink搭配fb0的alpha,keycolor进行设置,结贴

0 Kudos
3,444 Views
zhengl
Contributor II

什么版本的BSP?  MXCFB_SET_LOC_ALPHA有办法使用alpha in pixel吗?  4.14.98的kernel好像没有办法设置alpha in pixel里.

0 Kudos
3,444 Views
819265478
Contributor I

不能沉啊  有没有人啊  指示一下呀

0 Kudos
3,445 Views
joanxie
NXP TechSupport
NXP TechSupport

I don't know how you test this, but you can refer to the sample code as below

https://community.nxp.com/message/612485 

0 Kudos
3,444 Views
819265478
Contributor I

有没有人啊   在线等

0 Kudos