[fpc-pascal] Embedding a Video Player into a Linux/FP/GTK2 Application ?

Joost van der Sluis joost at cnoc.nl
Mon Jun 23 10:54:25 CEST 2008


Op maandag 23-06-2008 om 09:42 uur [tijdzone +0200], schreef Michael Van
Canneyt:
> 
> On Sun, 22 Jun 2008, Andrew Haines wrote:
> 
> > Henry Vermaak wrote:
> > > 2008/6/21 Graeme Geldenhuys <graemeg.lists at gmail.com>:
> > >> 2008/6/20 Henry Vermaak <henry.vermaak at gmail.com>:
> > >>> mplayer has a -wid option that takes a window id in which to embed
> > >>> itself.  i haven't tried this, though.
> > >> Wow!!!  That is such a cool idea. I just tried it with a simple fpGUI
> > >> one form application. Used xwininfo to find it's window id and
> > >> launched mplayer.  It worked.  :)  That is a neat trick.
> > >>
> > > 
> > > heh, that's cool.  i've been studying the mplayer man pages
> > > religiously while i was messing around with linux on the ps3.  there's
> > > very little mplayer can't do (if you know how to).
> > > 
> > > henry
> > > _______________________________________________
> > > fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> > > 
> > 
> > I managed to make a tiny app with fpgui that uses xinelib to play media
> > files.
> > 
> > It's barely usable but might be interesting to look at.
> 
> Would it be OK to include the xine unit in fpc ?

Then the license should be changed to modified LGPL, instead of plain GPL?

Joost.





More information about the fpc-pascal mailing list