Recent

Author Topic: xine or mplayer  (Read 5792 times)

bshellenberg

  • New member
  • *
  • Posts: 8
xine or mplayer
« on: June 25, 2005, 09:58:35 pm »
Does anyone know where to start in trying to embed either xine or mplayer into the lazarus LCL? In windows this was easy, but now in linux, I really have no idea where to start looking. Has anyone done this sort of thing? Any help would be appreciated.

Anonymous

  • Guest
xine or mplayer
« Reply #1 on: June 27, 2005, 10:58:25 am »
mplayer has an option of embedding itself in a window (by it's window id)

Anonymous

  • Guest
xine or mplayer
« Reply #2 on: June 27, 2005, 10:59:51 pm »
Thanks for the reply. I knew it was possible (xine will do the same but from what I understand its more of a moving target) but I just don't know how to do it. Have you ever done this before? Tips, pointers etc.? I'm at a loss as to where to start.

Anonymous

  • Guest
xine or mplayer
« Reply #3 on: June 29, 2005, 12:35:23 am »
hm. you can execute mplayer with the option -wid <windowid> e.g.
mplayer -wid <id-number> <filename>
(without the <'s ofcoutse). mplayer has a lot ofoptions, and can be controlled externally with commands (like play, rewind).
In the forum there should be information on how to get a component's window id.
PGtkWindow(PGtkWidget(form1.handle)^.Window)^.windowID
you can search the forum for information on how to get teh window id.

Onjahyr-BR

  • Full Member
  • ***
  • Posts: 121
xine or mplayer
« Reply #4 on: September 13, 2006, 05:18:30 am »
Lazarus in Linux, how sintaxe for execute xine in TForm?

 

TinyPortal © 2005-2018