Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#19888 - 09/10/2000 16:33 displayserver
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
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


Attachments
4-19137-displayserver.tgz (99 downloads)

_________________________
Frank van Gestel

Top
#19889 - 09/10/2000 16:44 Re: displayserver [Re: fvgestel]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
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



Top
#19890 - 09/10/2000 16:56 Re: displayserver [Re: altman]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
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
_________________________
Frank van Gestel

Top
#19891 - 09/10/2000 17:01 Re: displayserver [Re: altman]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
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
_________________________
Frank van Gestel

Top
#19892 - 09/10/2000 17:52 Re: displayserver [Re: fvgestel]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Hm, I guess you need JDK installed on your Empeg to do this?

-Tony
MkII #554
_________________________
- Tony C
my empeg stuff

Top
#19893 - 09/10/2000 23:13 Re: displayserver [Re: tonyc]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
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
_________________________
Frank van Gestel

Top
#19894 - 10/10/2000 01:11 Re: displayserver [Re: fvgestel]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I have found some problems with the comments in the HTML file. Please remove them and the applet will work

Frank van Gestel
_________________________
Frank van Gestel

Top
#19895 - 10/10/2000 02:14 Re: displayserver [Re: fvgestel]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
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



Top
#19896 - 10/10/2000 08:07 Re: displayserver [Re: fvgestel]
jwtadmin
enthusiast

Registered: 05/09/2000
Posts: 210
Loc: Ipswich, MA
Very cool! Quick install nothing to configure!
We need to do this with the rest of the FTP/HTTP/TELNET packages!



_________________________
___ John Turner "It's easier to ask for forgiveness than to ask for permission"

Top
#19897 - 10/10/2000 11:37 Re: displayserver [Re: jwtadmin]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
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
_________________________
|| loren ||

Top