displayserver

Posted by: fvgestel

displayserver - 09/10/2000 16:33

Here is displayserver, a utility to show your empeg-display
in a webbrowser. Installation is simple. Copy the tgz file to your empeg. unpack and run the executable.
copy the index.html file to your PC or webserver and edit it to your needs.
Open the index.html file in your webbrowser and off you go
Package can also be found at http://fvgestel.dyndns.org/empeg/
and a live demo can be found at http://fvgestel.dyndns.org/xxxx/ (when it's connected)
I haven't looked at the network load it will generate, but I think around 100kb/sec. You can edit the usleep in displayserver.c to a more apropriate setting if this bothers you..

Frank van Gestel
Posted by: altman

Re: displayserver - 09/10/2000 16:44

Just a quick thought - the empeg protocol contains a "screen grab" function to do this sort of thing (how do you think we did the screengrabs in the manual? ;) ). You could use this, which would mean the empeg doesn't need any mods (& it'll work on mk1's) - but then again, it will only work when the player is running.

Hugo


Posted by: fvgestel

Re: displayserver - 09/10/2000 16:56

Hugo,

I mainly wrote this because I hav got a bunch of servers connected to each other in the attic, while my workstation is in the living room with only one UTP-cable running down.
So when I hook up my empeg in the attic, I couldn't see the output of my programs.
This way I can.

While I am writing this it even sounds like a load of crap to me. hehe, I just wanted to do some funny coding...

One question; Is it possible to send IR-commands from other processes too? ( some loopback IR-device )

Frank van Gestel
Posted by: fvgestel

Re: displayserver - 09/10/2000 17:01

another point :
the java security model requires the class file to be on the same server as to where the network-connection is made,
so I had to write some kind of HTTP-server in it. If it would use the empeg protocol, it would still need a HTTP-server on the empeg.

Frank van Gestel
Posted by: tonyc

Re: displayserver - 09/10/2000 17:52

Hm, I guess you need JDK installed on your Empeg to do this?

-Tony
MkII #554
Posted by: fvgestel

Re: displayserver - 09/10/2000 23:13

No, you don't need anything else than the displayserver binary and the empegApplet.class file on the empeg.
displayserver acts as an HTTP-server and will supply the class file to your browser. after that the applet connects to the HTPP-server again and will receive the streaming display data


Frank van Gestel
Posted by: fvgestel

Re: displayserver - 10/10/2000 01:11

I have found some problems with the comments in the HTML file. Please remove them and the applet will work

Frank van Gestel
Posted by: altman

Re: displayserver - 10/10/2000 02:14

Mmm, not possible at the moment, no.

I suspect you could do a quick hack on the /dev/ir driver so that writes to the driver get looped back into the input buffer though, which would be the neatest way to do it.

Hugo


Posted by: jwtadmin

Re: displayserver - 10/10/2000 08:07

Very cool! Quick install nothing to configure!
We need to do this with the rest of the FTP/HTTP/TELNET packages!



Posted by: loren

Re: displayserver - 10/10/2000 11:37

I second that notion. I'm off to buy a linux book today and start getting my fingers dirty though, time to dive in and stop waiting for others to do it for me. I know all the basics, but most of what you guys are talking about is over my head. Heh, while i'm at it...can anyone recommend a good midrange starting book?


|| loren.cox
|| 080000446