Display video (or camera) in small window over webpage

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Display video (or camera) in small window over webpage

ソリューションへジャンプ
895件の閲覧回数
pgentili
Contributor III

Hi all,

I'd like to display a video (or the camera) in a small window over Chrome. We need to achieve this on two systems: the imx6dl and imx8mm.

I tried this simple pipeline but the video is flickering (maybe because chrome and gstreamer are both writing on the same fb).

gst-launch-1.0 filesrc location=Spin_1.mp4 typefind=true ! qtdemux ! queue ! vpudec ! imxg2dvideosink window-x-coord=0 window-y-coord=0 window-width=640 window-height=360

Any idea? Playing the media with chrome is out of question because of missing hw acceleration.

Thanks

Paolo Gentili

ラベル(2)
0 件の賞賛
返信
1 解決策
878件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello pgentili,

 

Which  bsp are you using? which distro?  because I used the 5.4.47 and it works like a charm.

 

Regards

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
879件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello pgentili,

 

Which  bsp are you using? which distro?  because I used the 5.4.47 and it works like a charm.

 

Regards

 

0 件の賞賛
返信
868件の閲覧回数
pgentili
Contributor III

Hi, I'm using yocto krogoth on the iMX6DL and yocto zeus on iMX8MM.

The first test I did was only performed on the imx6dl and it's indeed flickering. On the imx8mm I tried only after your suggestion and it's working fine (with differente sink: waylandsink).

 

Since on the imx6 we already have implemented a different solution based on the second frame buffer we can close this topic.

 

Thanks.

0 件の賞賛
返信