Hi,
On Thu, May 27, 1999 at 02:55:08PM +0200, Bruno Boettcher wrote:
> i looked at the java media framework, noticed the avi support and the lack of
> the indeo codec needed to decompact the avi's.... found some for windows and
> solaris, but none for linux.... are there some? Or does another solsution
> exist (other than recode the avi's in something else?)
Others already suggested to take a look at the xanim module. If you
can cope with a Unix-only solution you might want to investigate the
more esoteric options of xanim.
It is possible to give xanim a window-id and offset values at
startup. Xanim will then draw the animation at the specified
location in the specified window. If you look close enough at
the sources of xanim you will also find the possibility to
remote-control a running animation. This way you can implement
a pause button for example.
So basically you need to do two things:
1. Write a script (sh/tcl/whatever) which somehow gets the window-id
of your application and starts xanim with some parameters.
2. Write a Java class which creates a new Process to start the
shell script, passing some parameters to it, and waits for
it to finish.
This might seem a bit complicated but it works. You can later on
add options like -pause -stop or -rewind to the script if you
like.
bye...
Andreas Micklei
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]