| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #44 (permalink) |
| Portal Member Join Date: Mar 2007 Age: 39
Posts: 58
Thanks: 0
Thanked 1 Time in 1 Post
| Need some help: if i am in the preview windows the rule works and my tv switched to zoom. But if i switch to fullscreen i the rule doen't work. TV stays in Normal!?!? I use cyberlink codec and have a dektop resolution of 1232 x 692. |
| | |
| | #45 (permalink) |
| Portal Developer Join Date: Feb 2007 Location: Hamburg Age: 35
Posts: 573
Thanks: 32
Thanked 49 Times in 21 Posts
Country: | Hi Stone. Can you please enable the verbose log in the plugin config and create a log? Attach the log here in this thread... maybe I can see whats going wrong. Bye Lars
__________________ Using a wide screen and tired of changing the aspect ratio via remote all the time? Use the ViewModeSwitcher Plugin and everything is working automatically. Are you able to find your home in MediaPortal? Yes you are! With the WorldMap plugin! |
| | |
| | #46 (permalink) |
| Portal Member Join Date: Aug 2006 Age: 21
Posts: 66
Thanks: 2
Thanked 1 Time in 1 Post
| WOOT!! Ive been looking for sumthing like this... 1 thing though, does it only work with tv strames?... or can it work with all video so that i can use it with the yahoo plugin or when i watch avi's |
| | |
| | #47 (permalink) |
| Portal Developer Join Date: Feb 2007 Location: Hamburg Age: 35
Posts: 573
Thanks: 32
Thanked 49 Times in 21 Posts
Country: | I did never test it with the yahoo plugin. But it works definitely with all videos I have under "MyVideos" and there are avi, divx, m2t and others... Bye Lars
__________________ Using a wide screen and tired of changing the aspect ratio via remote all the time? Use the ViewModeSwitcher Plugin and everything is working automatically. Are you able to find your home in MediaPortal? Yes you are! With the WorldMap plugin! |
| | |
| | #48 (permalink) |
| Portal Member Join Date: Dec 2006 Age: 29
Posts: 165
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | hi!! thx for this plugin! it solves lots of probs for me! just one question, please. if i enable it, the sound in tv sounds to be a little bit hacked every 3 seconds? could this be? takes it so much cpu time? i just want to detect 4:3 letterbox format and switch to zoom then. thx!!! Mario EDIT: my cpu is a intel 2,1 GHz with 30-40% load in watching TV normally. Last edited by spenca; 2007-07-12 at 14:05. |
| | |
| | #49 (permalink) |
| Portal Developer Join Date: Feb 2007 Location: Hamburg Age: 35
Posts: 573
Thanks: 32
Thanked 49 Times in 21 Posts
Country: | Hi Spenca. Yes. Letterbox detection is really CPU consuming. What you can try to do its to make the fields that the plugin checks a little bit smaller. But I guess it will not become much better. I the most cases not the detection itself is CPU consuming but the ScreenGrabber function that takes the screen shot that my plugin analyses. Unfortunately I have no influence on that grabber. Bye Lars
__________________ Using a wide screen and tired of changing the aspect ratio via remote all the time? Use the ViewModeSwitcher Plugin and everything is working automatically. Are you able to find your home in MediaPortal? Yes you are! With the WorldMap plugin! |
| | |
| | #50 (permalink) |
| Portal Developer Join Date: Aug 2005 Location: Copenhagen Age: 29
Posts: 711
Thanks: 0
Thanked 9 Times in 6 Posts
Country: | Hi there, I just discovered the existence of this plug-in by chance due to it being mentioned in the EVR support thread. As Ikuech mentioned, i created the AutoCropper plug-in that 'ships' with MediaPortal (and lives a life of obscurity in the Process Plugins section .In general i dont think its a good idea to have multiple plug-ins doing the same or similar work unless there is a good reason for it, so i think it would be a good idea to merge with the autocropper plugin, or rather integrate useful bits and pieces of the AutoCropper into the ViewModeSwitcher as the latter seems to have the more general framework and a much nicer interface (i hate making interfaces .lkuech: I suppose the most usable part of the AutoCropper would be the FrameAnalyzer itself that computes bounds given a frame, since its a bit more general than just letterbox detection (in Denmark subtitles below or partly below the letterbox are very common). It might also be a bit faster, if i read your code correctly since you seem to examine alot of pixels (might be wrong though, only took a quick look at the code). Finally i have some easily implementable ideas for making it faster yet by searching for the bounds in a binary search like style, and avoiding the use of GetPixel (which is very expensive). Btw, regarding the frame grabber, i think its performance is very much a question of the video card/ driver. The grab consists of two parts, first converting the video surface to an ARGB surface. This speed of this step probably depends alot on the video hardwares support for the StrechRect operation and the color conversion taking place etc. However, for converting the ARGB surface to a bitmap i relied on the SurfaceLoader.SaveToStream utility method which i wouldnt be surprised to discover is slow as hell. So while you dont have direct control over the grabber, i could certainly look into making it faster. |
| | |
![]() |
| Bookmarks |
| Tags |
| plugin, version, viewmodeswitcher |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ein neues Plugin von einem bestehenden Plugin programmiertechnisch ableiten? | bartmanson | Plugins/Erweiterungen | 10 | 2008-05-20 00:07 |
| MCE Plugin Plugin | sambuddy | Plugins | 1 | 2006-06-23 09:00 |
| memory plugin-newbie plugin dev. questions | newbie23 | Plugins | 13 | 2005-09-08 21:19 |
| plugin : GetHome / my plugin ? | Boris | General Development (no feature request here!) | 0 | 2005-08-07 13:28 |
| Plugin Request - Cinema Preview Plugin | Schrauber | Plugins | 0 | 2004-08-17 16:34 |