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

Michael Van Canneyt michael at freepascal.org
Mon Jun 23 09:42:32 CEST 2008



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 ?

Michael.



More information about the fpc-pascal mailing list