MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2007-04-26, 18:26   #41 (permalink)
Portal Tester
 
flokel's Avatar
 
Join Date: Oct 2005
Location: Unterfranken
Age: 24
Posts: 711
Thanks: 42
Thanked 28 Times in 25 Posts

Country:

My System

Default

No problem
__________________
Regards,
Flo
flokel is offline   Reply With Quote
Old 2007-06-26, 14:59   #42 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Nuremberg
Age: 20
Posts: 153
Thanks: 5
Thanked 2 Times in 2 Posts

Country:

My System

Default

I've been searching for something like this for quite some time now. Big thanks!

Regards,
Simon
illStyle is offline   Reply With Quote
Old 2007-06-26, 16:08   #43 (permalink)
Portal Member
 
G.B. Wolf's Avatar
 
Join Date: Mar 2007
Age: 27
Posts: 220
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Default

Nice plugin... I need to play around with the values a bit, but thumbs up for now.

best regards
G.B.
G.B. Wolf is offline   Reply With Quote
Old 2007-07-08, 16:21   #44 (permalink)
Portal Member
 
Join Date: Mar 2007
Age: 39
Posts: 58
Thanks: 0
Thanked 1 Time in 1 Post


Default

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.
Stone is offline   Reply With Quote
Old 2007-07-09, 07:05   #45 (permalink)
Portal Developer
 
lkuech's Avatar
 
Join Date: Feb 2007
Location: Hamburg
Age: 35
Posts: 573
Thanks: 32
Thanked 49 Times in 21 Posts

Country:

My System

Default

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!
lkuech is offline   Reply With Quote
Old 2007-07-11, 15:38   #46 (permalink)
Portal Member
 
dipunm's Avatar
 
Join Date: Aug 2006
Age: 21
Posts: 66
Thanks: 2
Thanked 1 Time in 1 Post


Default

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
dipunm is offline   Reply With Quote
Old 2007-07-11, 19:03   #47 (permalink)
Portal Developer
 
lkuech's Avatar
 
Join Date: Feb 2007
Location: Hamburg
Age: 35
Posts: 573
Thanks: 32
Thanked 49 Times in 21 Posts

Country:

My System

Default

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!
lkuech is offline   Reply With Quote
Old 2007-07-12, 13:50   #48 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 29
Posts: 165
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

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.
spenca is offline   Reply With Quote
Old 2007-07-12, 14:51   #49 (permalink)
Portal Developer
 
lkuech's Avatar
 
Join Date: Feb 2007
Location: Hamburg
Age: 35
Posts: 573
Thanks: 32
Thanked 49 Times in 21 Posts

Country:

My System

Default

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!
lkuech is offline   Reply With Quote
Old 2007-07-16, 18:00   #50 (permalink)
Portal Developer
 
ziphnor's Avatar
 
Join Date: Aug 2005
Location: Copenhagen
Age: 29
Posts: 711
Thanks: 0
Thanked 9 Times in 6 Posts

Country:

My System

Default

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.
ziphnor is offline   Reply With Quote
Reply

Bookmarks

Tags
plugin, version, viewmodeswitcher

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

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


All times are GMT +1. The time now is 06:04.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden