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

Andrew Haines AndrewD207 at aol.com
Mon Jun 23 04:45:19 CEST 2008


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.

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xine.pas
Type: text/x-pascal
Size: 90476 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20080622/04dbc240/attachment.pas>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xinehack.pas
Type: text/x-pascal
Size: 9970 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20080622/04dbc240/attachment-0001.pas>


More information about the fpc-pascal mailing list