[MPlayer-users] Streaming to mplayer with php, how that ?

Cedric Malitte cedric.malitte at gmail.com
Sat Oct 3 16:47:39 CEST 2009


Hi all,I'm new to this list.
I'm testing mplayer and I'd like to be able to stream videos to mplayer
using php.

The purpose of the thing is to send videos to mplayer depending on inputs
received.

So there's an mplayer process running in idle mode on a Xserver, and I'd
like to send it videos.

I tried to use mencoder to stream videos, works more or less well, but I do
not want to reencode.
If I reencode, there's a lag at start and I do not need that.
I might be missing something in the switches...

But, because there's always a but, I need to know when the video is done
playing....

The process should look like this:

User action -> input triggers -> php process -> send video to mplayer

If no action, plays randomly some "waiting" videos.

I use php because I do not want to go into Gui programming in C for video
selection and so on, plus, my system has it's configuration done in xml/php.

It's an embedded system with basicly just one Xorg, and a backend in php.

I'd be glad if some could help me in my madness :)

I hope I'm clear enough.

Cheers,
Cedric


More information about the MPlayer-users mailing list