Unoffical empeg BBS

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

Page 1 of 2 1 2 >
Topic Options
#192028 - 05/12/2003 12:46 EmpegFace 1.5 Available
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
EmpegFace 1.5 is available at my home page (click on my name below) or at the Downloads section of www.riocar.org.

Release notes from the readme are:

- Removed the ImageGrabber code. Now uses the Winsock
control and loads the images directly into memory without
making a trip to the hard disk first. Hopefully making it
more reliable in more environments. Thanks to Trevor Man
and Bitt Faulk (and others) on the empeg BBS who offered
help and advice, and who kept needling me until I finally
did this. :-)

- You may delete the file IMAGEGRABBER.DLL from your hard
disk if you wish.

- MSWINSCK.OCX is now required. See the notes above for
installation instructions.

- Fixed a bug where sometimes the VFD-refresh timer would
get reset to 1000.

- Added the "resolves to" box to the configuration screen.
I'm anxious to hear whether the overhaul of the downloading code solves problems or creates problems for anyone.
_________________________
Tony Fabris

Top
#192029 - 05/12/2003 12:52 Re: EmpegFace 1.5 Available [Re: tfabris]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
Works great for me!

Seems to hover at 25-30% CPU when viewing the face, and very little when face is hidden.

Found a little bug for when I unchecked show face, it showed the remote. So I unchecked show remote and it showed the face. I went back and forth for a while. After messing around a bit more, it started behaving as normal.
_________________________
~ John

Top
#192030 - 05/12/2003 12:55 Re: EmpegFace 1.5 Available [Re: JBjorgen]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Cool!

Hey, Skunknumber1, does this version solve your problem with the screen sometimes refusing to update on Windows XP?
_________________________
Tony Fabris

Top
#192031 - 05/12/2003 12:58 Re: EmpegFace 1.5 Available [Re: tfabris]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
I should mention that the 25-30% number above was with an Athlon 1.2ghz and Windows XP

It also just exhibited the bug mentioned above again.
_________________________
~ John

Top
#192032 - 05/12/2003 13:03 Re: EmpegFace 1.5 Available [Re: JBjorgen]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Seems to hover at 25-30% CPU when viewing the face, and very little when face is hidden.
The CPU usage is now directly proportional to the number of screen refreshes per second. Increase the time between screen refreshes and the CPU usage will decrease linearly. From the readme file:

To control the number of CPU cycles that the program
consumes, adjust the time between screen refreshes in
the configuration screen. This also controls how much
network bandwidth is used. The less time between screen
refreshes, the more CPU cycles will be consumed.

The program should only consume CPU cycles when it is
actively grabbing screen images from the player and
displaying them. To consume as few CPU cycles as possible,
minimize it to the system tray, or show only the remote
and leave the face hidden.


Found a little bug for when I checked hide face, it showed the remote. So I checked hide remote and it showed the face.
By design. From the readme file:

- You can't turn off both the remote and the face. If you
turn them both off, then one of them will reappear. If
you want to make them both hidden, minimize it to the
system tray.
_________________________
Tony Fabris

Top
#192033 - 05/12/2003 13:03 Re: EmpegFace 1.5 Available [Re: JBjorgen]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
Not sure if this behavior is by design, but the screen doesn't refresh when the config window is open.
_________________________
~ John

Top
#192034 - 05/12/2003 13:04 Re: EmpegFace 1.5 Available [Re: tfabris]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
Guess I should RTFM eh?
_________________________
~ John

Top
#192035 - 05/12/2003 13:07 Re: EmpegFace 1.5 Available [Re: tfabris]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Excellent. It's solved the 100% CPU usage problem.

In the readme you go on about determining whether the player is in standby or not. Since you've got the HTTP code going, you just need to grab /proc/empeg_power and look at the display line.

About the OCX, you could package everything up with InstallShield (or your favourite installer) and it should install and register the OCX for you. It would bloat the download though.

Top
#192036 - 05/12/2003 13:10 Re: EmpegFace 1.5 Available [Re: JBjorgen]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Not sure if this behavior is by design, but the screen doesn't refresh when the config window is open.
Correct, that is also by design. Allows you to change the parameters (such as the network address) without messing up or crashing an in-progress screen refresh. There are a few other cases where it will deliberately pause the screen refreshes, such as when you're dragging the window around the screen. Makes for smoother operation all around.
_________________________
Tony Fabris

Top
#192037 - 05/12/2003 13:16 Re: EmpegFace 1.5 Available [Re: tfabris]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
You can't turn off both the remote and the face. If you
turn them both off, then one of them will reappear. If
you want to make them both hidden, minimize it to the
system tray.

It would seem to be more logical to have the face always present unless minimized. Then allow the remote to show or hide. I can't imagine too much demand to be able to use the remote without seeing what's going on with the display.

EDIT: unless the hardware display is within easy sight. nevermind.
_________________________
~ John

Top
#192038 - 05/12/2003 13:16 Re: EmpegFace 1.5 Available [Re: tman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Since you've got the HTTP code going, you just need to grab /proc/empeg_power and look at the display line.
Cool. I'll look at that for version 1.6, thanks!

you could package everything up with InstallShield
My day job involves writing InstallShield programs, so I know all about how to do that.

and register the OCX for you
Fortunately, this OCX didn't need to be registered in order to work. Just drop it in the system folder and all is well.

It would bloat the download though.
Exactly why I didn't do it. An installshield program would be overkill for just one EXE and one OCX. Also, if I'm going to make an installshield for the thing, then it would be silly if I didn't include the VB6 runtimes (I mean, what's the point of doing an installer if it doesn't have the runtimes) and that would REALLY REALLY bloat the installer. So I just figured since hand-copying the OCX works, it was the most lightweight and therefore the best option.

Also, there's something about getting a utility that doesn't require an installer that I really like. I feel better knowing exactly what files I'm getting instead of having them hidden in an installer.
_________________________
Tony Fabris

Top
#192039 - 05/12/2003 13:19 Re: EmpegFace 1.5 Available [Re: JBjorgen]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I can't imagine too much demand to be able to use the remote without seeing what's going on with the display.
That's the way I use it most of the time. I just have the remote up and leave the face hidden. Allows me to play/pause and switch tracks without using any network bandwidth to download screenshots. Most of the time I'm just switching tracks or pausing the player.
_________________________
Tony Fabris

Top
#192040 - 05/12/2003 13:24 Re: EmpegFace 1.5 Available [Re: tfabris]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
touché.

I assumed that's what Empeg Tray was for. Ok...I'll stop giving useless criticism now.

Thanks for the great app.
_________________________
~ John

Top
#192041 - 05/12/2003 13:27 Re: EmpegFace 1.5 Available [Re: JBjorgen]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I assumed that's what Empeg Tray was for
From the beginning, this program was just meant to be a graphical version of Empegtray anyway.

...and your criticisms are not useless. I'm listening. It's just that some of them are things I'd already considered. Thanks for offering the suggestions, it's what communities like this are all about.
_________________________
Tony Fabris

Top
#192042 - 05/12/2003 13:35 Re: EmpegFace 1.5 Available [Re: tfabris]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
You could probably get rid of the OCX if you called wsock32 directly. It's a lot more involved though as the OCX provides a simplified interface. I think it's the only way you can get UDP support as well but don't quote me on that.

Top
#192043 - 05/12/2003 13:38 Re: EmpegFace 1.5 Available [Re: tman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
You could probably get rid of the OCX if you called wsock32 directly.
I had definitely considered doing just that. But like you said, the functions in the OCX are much simpler. If I'd had to do it from scratch, it would never have gotten done at all.

I think it's the only way you can get UDP support as well but don't quote me on that.
The OCX does have UDP support, but I'm not sure how extensive it is.
_________________________
Tony Fabris

Top
#192044 - 05/12/2003 13:51 Re: EmpegFace 1.5 Available [Re: tfabris]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
The OCX does have UDP support, but I'm not sure how extensive it is.
Oops. There are quite a few companies selling their own UDP controls and they go on about how you don't need to call wsock32 directly if you buy their control etc...

There is some example wsock32 code for TCP here.

Top
#192045 - 05/12/2003 14:00 Re: EmpegFace 1.5 Available [Re: tman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Thanks for the sample code. Looked at it. Yeah, definitely a lot easier to just use the OCX.
_________________________
Tony Fabris

Top
#192046 - 05/12/2003 14:46 Re: EmpegFace 1.5 Available [Re: tfabris]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
Killer, it runs in Wine under Linux.

Older versions might have too, but I didn't try until now.


Attachments
191081-EmpegFace15-wine.png (128 downloads)



Edited by ricin (05/12/2003 15:00)
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#192047 - 05/12/2003 15:37 Re: EmpegFace 1.5 Available [Re: ricin]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Cool! How well does it run, and do the buttons work correctly?
_________________________
Tony Fabris

Top
#192048 - 05/12/2003 15:49 Re: EmpegFace 1.5 Available [Re: tfabris]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
Yeah, everything works fine. I haven't played with it too much, but so far it hasn't crashed on me or anything.
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#192049 - 05/12/2003 16:27 Re: EmpegFace 1.5 Available [Re: tfabris]
skibum
enthusiast

Registered: 27/03/2002
Posts: 248
Loc: Swindon, UK
Just out of interest, why does it require 24 bit colour depth? Surely 16bit would be enough? My slow old laptop supports 24bit, but I only run it at 16bit as it's not that critical to me.
_________________________
Andy MK2a 60GB Amber 040103916 32mb/Light Kit MK2a 50GB Amber 030102560 32mb

Top
#192050 - 05/12/2003 16:52 Re: EmpegFace 1.5 Available [Re: skibum]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Because of the method I used to create buttons on the skins. Any other color depth other than 24 bit, and the results of the visual basic point function were random and unreliable.

It knows which button you hit because it does a "point" call on the mouse position on the skin file. I tried a million ways to read that information in color depths other than 24 bit, and the RGB value returned was totally random unless it was in 24 bit. The problem is totally VB's fault and it's at a lower level than I've got control over.
_________________________
Tony Fabris

Top
#192051 - 05/12/2003 17:10 Re: EmpegFace 1.5 Available [Re: tfabris]
jbauer
veteran

Registered: 08/05/2000
Posts: 1429
Loc: San Francisco, CA
Thank you for continuing to work on this Tony! Each version is better and better!

- Jon

Top
#192052 - 05/12/2003 17:20 Re: EmpegFace 1.5 Available [Re: jbauer]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Quite welcome. Glad they're getting better, and not worse, like the software put out by certain companies *COUGH*microsoft*COUGH* these days.
_________________________
Tony Fabris

Top
#192053 - 05/12/2003 17:23 Re: EmpegFace 1.5 Available [Re: tfabris]
skibum
enthusiast

Registered: 27/03/2002
Posts: 248
Loc: Swindon, UK
Tony,

Thanks for explaining it. I was just curious.
_________________________
Andy MK2a 60GB Amber 040103916 32mb/Light Kit MK2a 50GB Amber 030102560 32mb

Top
#192054 - 05/12/2003 17:27 Re: EmpegFace 1.5 Available [Re: skibum]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
You're welcome. The truth is that I could (theoretically) use a completely different skinning method and be able to have it work in low bit depths, but then the program would run slower and creating the skins wouldn't be nearly as easy.
_________________________
Tony Fabris

Top
#192055 - 05/12/2003 22:28 Re: EmpegFace 1.5 Available [Re: tfabris]
Skunk
Master Boot Logo(er)

Registered: 26/08/2003
Posts: 525
Loc: California
Dude Tony, right on!! I cant wait to try it!
I've been stuck at home these past two days due to a starter problem in my car. I would try it now but my lap top is at work and I took the Network card out of my 5 year old son's computer, since he does not need it. Looks like I'll have to wait till Monday.
_________________________
aka: [color:"blue"]Boot Logo Master[/color]
PayPal Contributions for Custom Boot Logos are gladly accepted. <img src="/ubbthreads/images/graemlins/smile.gif" alt="" />
itirado[@]adobe[.]com

Top
#192056 - 06/12/2003 06:23 Re: EmpegFace 1.5 Available [Re: tfabris]
skibum
enthusiast

Registered: 27/03/2002
Posts: 248
Loc: Swindon, UK
Tony, a small enhancement for version 1.6 for you. Currently the tooltip for the icon in the task bar is 'empegface 1.5'. Any chance of including the hostname/ipaddress. Will make it easier for me to work out which one is which.

Also, I tried doing a screen capture using paintshop pro of the pair next to each other. However, psp doesn't capture them. I even captured the whole screen, and got everything except the empegface's :-(
_________________________
Andy MK2a 60GB Amber 040103916 32mb/Light Kit MK2a 50GB Amber 030102560 32mb

Top
#192057 - 06/12/2003 12:57 Re: EmpegFace 1.5 Available [Re: skibum]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Tony, a small enhancement for version 1.6 for you. Currently the tooltip for the icon in the task bar is 'empegface 1.5'. Any chance of including the hostname/ipaddress.
Ah, I take it that means you've got two separate copies working for two separate empegs? That's cool, I was trying to remember what other birds I was killing with the stone of the Winsock calls.

It sounds like changing the tooltip might be do-able, so that's on my to-do list now. Thanks for the suggestion.

Also, I tried doing a screen capture using paintshop pro of the pair next to each other. However, psp doesn't capture them.
It must be a malfuction in that version of PaintShop, because I just got a perfectly good screen shot, including transparency and everything. The resulting screen shot is attached to this post.

Of course, I didn't use PaintShop's "screen capture" feature to do it. Didn't you know that screen captures are built into the Windows OS? The PrintScreen key captures the whole screen to the clipboard (then you select EDIT-PASTE in PaintShop), and Alt+PrintScreen captures the currently selected window. Both methods worked for me just now when I tried them.


Attachments
191177-screencap.jpg (153 downloads)

_________________________
Tony Fabris

Top
Page 1 of 2 1 2 >