For Programmers: Free Programming Magazines  


Home > Archive > Tcl > July 2004 > Xine and Tcl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Xine and Tcl
Bgc

2004-07-29, 8:57 am

Hello All,

This is a question about using video with Tcl/Tk on Linux platforms.
Current offerings are MPlayerTcl and XanimTcl
(http://membres.lycos.fr/scriptdevel/mplayertcl/). However, neither
MPlayer or Xanim are standard packages available for Debian, whereas
Xine is. I'm interested in creating a Tcl/Tk extension for Xine, and
I'm wondering if someone can point me in the right direction. What I
have so far is:

http://xinehq.de/index.php/hackersguide#AEN1098

(from the Xine Hacker's Guide) and SWIG:

http://www.swig.org/

Any help would be appreciated, and this is for a OSS project...

Thanks
David McClamrock

2004-07-29, 8:57 am

Bgc wrote:

> I'm interested in creating a Tcl/Tk extension for Xine, and
> I'm wondering if someone can point me in the right direction.


Xine has a fairly extensive man page with lots of command-line options. At
least in theory, you should be able to get a pretty good start by (1)
deciding which options you want and (2) designing a GUI with buttons, menu
items, or whatnot, to execute Xine commands with those options, plus
scales, spinboxes, or whatnot to make changes, and so on. In case you favor
a more nearly conventional GUI than the futuristic Xine UI, you might get
some ideas for the GUI from Kaffeine <http://kaffeine.sourceforge.net>, a
KDE front end for Xine.

David McClamrock
Bgc

2004-07-29, 3:58 pm

David,

> Xine has a fairly extensive man page with lots of command-line options. At
> least in theory, you should be able to get a pretty good start by (1)
> deciding which options you want and (2) designing a GUI with buttons, menu
> items, or whatnot, to execute Xine commands with those options, plus
> scales, spinboxes, or whatnot to make changes, and so on. In case you favor
> a more nearly conventional GUI than the futuristic Xine UI, you might get
> some ideas for the GUI from Kaffeine <http://kaffeine.sourceforge.net>, a
> KDE front end for Xine.


I agree that interacting with the Xine API via Tcl/Tk is a good way to
start. Along those lines, an interesting project is here:

http://toxine.sourceforge.net/

It is a text-based interface to Xine's API. The author notes, "You
can also see how to implement your own xine library frontend, because
toxine implement almost all xine's API calls."

Steve
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com