kmssink + gtk video window

Russel Winder russel at winder.org.uk
Wed Jul 11 10:53:49 UTC 2018


On Tue, 2018-07-10 at 22:09 -0700, nagendra sarma wrote:
> thanks Matt
> 
> As i am new to gtk+ my question is little confusing.. sorry for that 
> 
> i want to put my requirement more clear 
> 
> i am creating media player using gtk+ and gstreamer (playbin) 
> 
> gtk window opens with all controls in it.  on pressing play button i
> am
> creating playbin  using kmssink as video sink, the video is playing
> well but
> my gtk window is not visible , even mouse also not visible 
> my requirent is to keep my gtk+ window on top always with gstreamer
> running
> in background 
> 
> please suggest how to achieve this ?

I believe you will need to use gtksink or gtkglsink. This is what
Sebastian told me to do for Me TV, and it works very well. Me TV was in
C++, but is now in Rust. The code is on GitHub if you want to take a
look at it:

https://github.com/Me-TV/Me-TV/blob/master/src/gstreamer_engine.rs

> regards
> Nagendra
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180711/da8b6b54/attachment.sig>


More information about the gstreamer-devel mailing list