|
Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#81
|
|||
|
|||
Tom,
You are correct. I double checked the settings and still the same problem. I have attached the file requested along with another log file that seems to refer to a dll that is causing an issue. Thanks again, Chris |
#82
|
|||
|
|||
Looks like my attachments did not take.
|
#83
|
||||
|
||||
Quote:
The part that really slows things down is finding the "optimal" color palette to represent the image. Currently this done by inserting each color in the image into a tree (usually done with an octree but since the OSD uses 32 bit colors including transparency instead of 24 it is a hextree) and merging leafs together to maintain a maximum of 256 colors. Other methods exist including using a default palette for all colors. I've considered implementing a default palette scheme that people can use optionally, and will probably do this at some point. It should make this quite a bit faster and with dithering might not look too bad. Getting back to the theoretical 256 color STV. Just having such an STV and the option to turn off dithering would make things faster and the OSD would look better. You can see how reducing colors speeds things up just by changing the background between a one color image and an image with a color gradient. However, even bigger optimizations could be made. If you know that you are always using the same palette, you wouldn't have to keep recalculating it. I was thinking that I would/could write some code to save/load a set palette from a file. Additionally, if you know you don't have to reduce the number of colors, it might improve performance if the palette were loaded into a data structure with faster lookup characteristics like a hash table. Then you would have eliminated: time to calculate the color palette, tree based lookup overhead, dithering overhead. That would be a lot. But there is one more, perhaps even better possible optimization that would work with any of the fixed palette techniques. The Sage OSD plugin architecture is setup so that the plugin can, if it is capable of supporting it, receive updates to just the region of the OSD that has changed (such as if you are moving around in a menu). Currently, I can't really implement this because, in order to modify only a portion of the screen, I would not be able to modify the palette. With a fixed palette, this problem goes away and I could implement the region based updates. Finally, when will all this be done? Well, for the most part, implementing major functionality (divx, dvd, etc) is a priority for me. Once I have the major bases covered, I will once again address the quantization optimization problem. Having said that, let me add that I will probably release a sort of Xcard color reduction SDK at some point with which anybody could take the ball and run with it. Secondly, if someone actually comes up with an STV that is only 256 colors, it would certainly become a much higher priority for me to get that part of it implemented. t |
#84
|
||||
|
||||
Quote:
t |
#85
|
|||
|
|||
Thanks alot. You definitely have some great plans. I'm not sure if it is the memory leak that you mentioned, the new sagetv beta, or my low power cpu P4 1.7 ghz but I am experience cpu utilization around 75 percent when playing videos when with 350 tvout i only got around 10.
|
#86
|
|||
|
|||
Tom ,
Here it is Chris |
#87
|
||||
|
||||
Quote:
t |
#88
|
||||
|
||||
Quote:
t |
#89
|
|||
|
|||
Quote:
Ok I will be waiting. One thing I like already with the xcard is the fact that I can play DVDs (even without this plugin) from an RDP session. I am that much closer to disconnectiong the KVM from the HTPC for good here soon. Chris |
#90
|
||||
|
||||
Quote:
t |
#91
|
|||
|
|||
Quote:
Yes it does. Not being an expert I thought it belonged in there. I might try cutting it out and see how it goes. I just cut it out and started Sage up again, and yes it is Sage that is adding it. Not sure what it could be. Am I the only one with the junk? Chris |
#92
|
||||
|
||||
What is it that makes an stv 32 bit colour? Is it just the images? Can't all the images be run through a batch to reduce them to 256 colours?
|
#93
|
||||
|
||||
That might help but the real goal would be to produce an STV that used a grand total of 256 colors so that all screens (except perhaps if you are displaying album covers, photos, etc) would use the same fixed color palette. Also, I haven't really looked to closely at how the STVs output the various gui components but I image that some of them are painted rather than just loaded from an image. To make it look good, I think that it probably be better to start with a design with a smaller color palette in mind.
t |
#94
|
||||
|
||||
Well, I don't even have an x-card but I'm still interested in seeing this fully developed. It would prove to be an excellent choice for output for anyone...
I've converted the images folder included with the SageMC STV from RGB to index 256 colours... Maybe I could email it to you to try out, if it'll help. Let me know. It's too large to post here. |
#95
|
||||
|
||||
As mentioned above, the images are not the only things producing colors on the screen -- there are various colored shapes drawn also, some of which are semitransparent, which will change the color of whatever they are drawn over. Then, if all the images are converted to 256 colors, they would all have to use the _same_ 256 colors (maybe you did that too). So, I don't think it would be a simple matter of loading a new set of images: that might help, but the rest of the UI still affects the colors on the images, especially those semi-transparent UI colors.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#96
|
||||
|
||||
I'm going to have to put off making a new release until tomorrow. I'm in the middle of testing some new code, a few problems cropped up, and I'm too tired to get if fixed tonight. Definitely stay tuned for it tomorrow, though. I'll back out my changes if I have to.
t |
#97
|
||||
|
||||
Is today tomorrow?
I've been using this plugin for a week or so now, and am LOVING IT! I have only had the known problem of not being able to delete a show until another show has been loaded.. weird, annoying, but still worth the admission price!!!
Will today's update have a fix for that???? I'm still flushed and giddy with happiness over this plugin.. |
#98
|
||||
|
||||
Quote:
t |
#99
|
||||
|
||||
Screen squished?? !!
Funny thing happened this morning when I fired up SageClient with the new 0.0.7 plugin.. the OSD fits the TV screen perfectly, but all my video is now compressed into the middle 4/5 of the screen.. it's squished with large black bars on the left and right of the video... but the OSD is right! Anybody have any idea how this happened, or how I can correct this?
Thanks! I'm using Sage 2.2.3 beta and X-Card Plugin 0.0.7 Funny it worked last night after installing 0.0.7 (didn't reboot after install), but this morning after a PC reboot is when it started. Last edited by Stuntman; 01-15-2005 at 11:36 AM. |
#100
|
||||
|
||||
Ok here's another XCard noob. I've gotten the media player included with Xcard to work, so don't think it's hardware problem.
Problem I get is when I try to play a mpeg Sage just closes with no error message. Three error log files are created however. To setup I installed drivers off the cd, then I installed the app in the winxp\apps\disk1 folder of the cd. I extracted xcard ver .07 to the Sage folder and added the 2 lines to the properties file. I also set the decoders to use the Sigma ones. I'm sure I'm missing some critical step, but can't figure it out yet. Also just for fun I uninstalled the Sage client, deleted everything and reinstalled, doing all the above. does the same thing. I attached the 3 log files that were created and the Client Properties file. Thanks for the help, Marc |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|