Writing gst-play for RPI DISPMANX

munezbn.dev munezbn.dev at gmail.com
Sun Nov 6 07:41:47 UTC 2016


munezbn.dev wrote
> Hi All,
> 
> I am working on a sample player based on gstplayer "dispmanx-play"
> 
> It is pretty much same as gst-play with minor changes and additionally I
> have integrated with dispmanx for custom window.
> 
> For some reason I was not able to make use of set_renderer rectangle 
> because i was not able to resize window. Set renderer does work for
> playing it in full screen with force-aspect-ratio TRUE/FALSE . But I
> wanted to have control on video such that i can resize it to desired size
> at playtime and move it around using keys.
> 
> So  I have added code for
> 
> 1] Create dispmanx window with screen resolution and use it as Gst Player
> Videorenderer
> 
> Added keyboard  mappings for,
> 
> 2] Toggle Fullscreen with full stretched or default aspect ratio.
> 3] Toggle background ( show/hide a black background layer)
> 4] Move video window when it is not in full screen.
> 
> I will upload this on github soon and share the link here.  If it is OK
> then it can be part of gstPlayer 
> 
> Thanks & Regards
> Munez


Initial code available at,

https://github.com/munezbn/dispmanx-gst-play.git

Kindly note that this package is based on buildroot and it required some
changes in buildroot files.
So I expect you to face some compilation issue which you should be able to
fix it easily.

Thanks & Regards
Munez




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Writing-gst-play-for-RPI-DISPMANX-tp4680492p4680493.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list