[Gambas-user] Looking for some gb.media examples

Benoît Minisini gambas at ...1...
Sun Sep 25 12:27:43 CEST 2016


Le 24/09/2016 à 03:42, Christopher McLennan a écrit :
> Hello
>
> I have a desire to use the MediaPlayer control from the gb.media component
> so that I can invoke some logic when the "AboutToFinish" event is raised.
> I've looked at the VideoPlayer and the VerySimpleVideo player examples from
> the Software Farm but these use the gb.media.form's MediaView widget and
> the events I need are not implemented in that control.
>
> Does someone know if there are some good video playback reference examples
> using the gb.media component?  I tried to bang around this evening to get
> something to work but so far to luck.  Seeing a few examples would really
> help me build my understand of the component.
>
> FYI: I am using Gambas 3.9.0 on Lubuntu 14.04
>
> Thanks very much.  I love using Gambas for all kinds of projects!
>
> -Piper

The main example for gb.media is "MediaPlayer".

The MediaView widget of gb.media.form component is a simplified media 
player. If you want power, you need to deal with gb.media, that is a 
"thin" (not really thin actually) gambas layer on top of GStreamer.

But if you want to really understand what to do, you have to read 
GStreamer documentation and tutorial. Because the logic of gb.media is 
the same.

Regards,

-- 
Benoît Minisini




More information about the User mailing list