PDA

View Full Version : Interactive video in linux


torchestra@gmail.com
01-10-2005, 12:47 AM
I am doing a project where I create a film that can be stretched longer
or
shorter while it is running. The videofiles will be streamed. I have
created three films that each are split into smaller files. These files

will be assembled back to a film at runtime.
The user can decide which film he wants to see a runtime. If he choses
to move o level 1only clips from the first film will be loaded into the

player, if the user changes to the second level, only clips from the
second film will be loaded from that point.

Anyway, Quicktime has the quicktime for java which enables me to create

a java applet to control the quicktime player, but there is no
quicktime in linux. I want to know wheter there exists a player that
supports mpeg4 and can be controlled using scripts or java. the
functions I need is the ability to preload movies and start playing
movies.

Jan Panteltje
01-10-2005, 03:19 AM
On a sunny day (30 Sep 2005 04:47:48 -0700) it happened torchestra@gmail.com
wrote in <1128080868.796402.243500@g49g2000cwa.googlegroups. com>:

>I am doing a project where I create a film that can be stretched longer
>or
>shorter while it is running. The videofiles will be streamed. I have
>created three films that each are split into smaller files. These files
>
>will be assembled back to a film at runtime.
>The user can decide which film he wants to see a runtime. If he choses
>to move o level 1only clips from the first film will be loaded into the
>
>player, if the user changes to the second level, only clips from the
>second film will be loaded from that point.
>
>Anyway, Quicktime has the quicktime for java which enables me to create
>
>a java applet to control the quicktime player, but there is no
>quicktime in linux. I want to know wheter there exists a player that
>supports mpeg4 and can be controlled using scripts or java. the
>functions I need is the ability to preload movies and start playing
>movies.
mplayer can play mpeg4, and can be used from the command line or scripts
without GUI.
As for 'preload' you can create your own buffers in that coffee language?
mplayer can cache large amounts of data too, probably will come in your way.
mplayer is a very cool application.

torbs
01-10-2005, 05:00 AM
Where can I get good documentation for the use mplayer in scripts, and
the command line syntax?

torbs
01-10-2005, 05:02 AM
.... and I almost forgot. Thank you

Grant Edwards
01-10-2005, 05:09 AM
On 2005-09-30, torbs <torchestra@gmail.com> wrote:

> Where can I get good documentation for the use mplayer in scripts, and
> the command line syntax?

$ man mplayer

--
Grant Edwards grante Yow! Let's climb to the
at TOP of that MOUNTAIN and
visi.com think about STRIP MINING!!

HASM
01-10-2005, 05:14 AM
"torbs" <torchestra@gmail.com> writes:

> Where can I get good documentation for the use mplayer in scripts, and
> the command line syntax?

Read the man page for mplayer. Scroll down to the section for
-input <commands>

You can run
mplayer -input cmdlist
to list all commands in your version of mplayer.
mplayer -input keylist
to print keys that can be bound to commands.
You can then write to mplayer from a script using those keys.
Or you can try
mplayer -input file=<filename>
and make filename a FIFO you can send commands to.

-- HASM