|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
xine and TCLDear All, I have managed to invoke XINE using TCL (using the TCL exec statement). I can then collect the PID returned and send a kill via XINE to stop XINE. But all this is very clunky and not very smooth on the screen I am looking at opening a LINUX PIPE in TCL and sending commands to XINE via the PIPE. XINE seems to be able to handle commands to it through STDIN - there appears to be a function which accepts commands via STDIN in the documentation on XINE. This can be used in TCL ie : 1.
Form a pipe to XINE from TCL with XINE instructed to accept commands via the PIPE ie via STDIN and leave this running in the background. 2. Use the pipe to send commands to play an AVI , pause, stop , select another AVI to play etc. I know how to do 1. and if anyone wants can email the method - but can 2. be done ? If so how ? The documentation does not make it clear how to drive XINE via the STDIN port ? Rgds, John Lever ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ xine-user mailing list xine-user@... https://lists.sourceforge.net/lists/listinfo/xine-user |
|
|
Re: xine and TCLHi John
I never used TCL, but its UIs look a bit old to me. Anyway, instead of scripting the xine-ui, you could also use one of the several xine bindings to write a simple app which shows a video in C, C++, Java, Python, and Perl if I remember correctly. See the xine download page for links to the non-native (aka C language) bindings. Good luck, Matthias On 01.09.2008, at 13:00, <logical@...> <logical@...> wrote:
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ xine-user mailing list xine-user@... https://lists.sourceforge.net/lists/listinfo/xine-user |
| Free Forum Powered by Nabble | Forum Help |