ViewModeSwitcher plugin (Version 0.3) (1 Viewer)

spenca

Portal Pro
December 19, 2006
247
9
47
Home Country
Austria Austria
Hi.

@disaster: You can run MediaPortal in the windowed mode and use the freeware tool baretail to watch the log file "online" and use the highlight function of this tool to see the interesting lines.

@spenca: Can you please export your complete settings? I will try to have a look.

Bye
Lars

of course!

<?xml version="1.0" encoding="utf-8"?>
<profile>
<section name="ViewModeSwitcher">
<entry name="parmverboselog">no</entry>
<entry name="parmshowswitchmsg">yes</entry>
<entry name="parmrescanrulesafterchannelchange">yes</entry>
<entry name="parmsuppressinitialmsg">no</entry>
<entry name="parmusefallbackrule">no</entry>
<entry name="parmfallbackviewmode">Normal</entry>
<entry name="parmrulecount">1</entry>
<entry name="parmrule1Enabled">yes</entry>
<entry name="parmrule1Name">Letterboxed</entry>
<entry name="parmrule1ARFrom">1,33</entry>
<entry name="parmrule1ARTo">1,334</entry>
<entry name="parmrule1MinWidth">500</entry>
<entry name="parmrule1MaxWidth">800</entry>
<entry name="parmrule1MinHeight">500</entry>
<entry name="parmrule1MaxHeight">800</entry>
<entry name="parmrule1ChangeAR">no</entry>
<entry name="parmrule1ViewMode">Zoom</entry>
<entry name="parmrule1ChangeOS">no</entry>
<entry name="parmrule1Overscan">0</entry>
<entry name="parmrule1EnableLBDetection">yes</entry>
<entry name="parmrule1VerticalOffSetZoom">0</entry>
<entry name="parmrule1VerticalOffSet14_9">0</entry>
<entry name="parmrule1VerticalOffSetWide14_9">0</entry>
<entry name="parmdisablelbglobaly">no</entry>
<entry name="parmlbcheckinterval">3000</entry>
<entry name="parmupboxenabled">yes</entry>
<entry name="parmupboxwidth">25</entry>
<entry name="parmupboxheight">8</entry>
<entry name="parmupboxstart">1</entry>
<entry name="parmcentboxwidth">35</entry>
<entry name="parmcentboxheight">10</entry>
<entry name="parmlowboxenabled">no</entry>
<entry name="parmlowboxwidth">25</entry>
<entry name="parmlowboxheight">8</entry>
<entry name="parmlowboxstart">92</entry>
<entry name="parmblacklevel">0,1</entry>
<entry name="parmlbdetectioncount">1</entry>
<entry name="parmlboverscanenabled">no</entry>
<entry name="parmlboverscan">0</entry>
<entry name="parmvoffsetzoom">0</entry>
<entry name="parmvoffset149">0</entry>
<entry name="parmvoffsetwide149">0</entry>
</section>
</profile>
 

lkuech

Retired Team Member
  • Premium Supporter
  • February 16, 2007
    576
    83
    52
    Hamburg
    Home Country
    Germany Germany
    Well. I would say you found a bug of my plugin ;)

    If you create a rule that does not switch to any zoom mode... than the letterbox detection is not working at all... even if the rule fits the conditions.
    The only workaround is to set the rule to a zoom mode you normally use...like the mode "normal" or "stretch".

    I'll have a look if it is possible to fix that in a later version without breaking to much ;)

    bye
    Lars
     

    lkuech

    Retired Team Member
  • Premium Supporter
  • February 16, 2007
    576
    83
    52
    Hamburg
    Home Country
    Germany Germany
    Hi Sven.

    Unfortunately I have no idea how something like this can happen. I'm sure the plugin can't help you because it needs the right information about aspect ratio and video size. This information is provided by MediaPortal. If this info is already wrong ... the plugin is useless.
    Normally the codec is responsible to analyse the videostream (like the ts files that come from the tvserver) and "give" the results back to the player (MediaPortal).
    On your System seems something serious wrong, because my configuration is nearly similar to yours (TVE3 set to ts files, PDVD as video codec) and does work pretty well.

    The only thing I was wondering about during I was browsing your log file was the screen size and the source and target of the planescene:
    Code:
    [Info.][11]: PlaneScene: screen WxH : 389x271
    [Info.][11]: PlaneScene: AR type    : Zoom14to9
    [Info.][11]: PlaneScene: PixelRatio : 1
    [Info.][11]: PlaneScene: src        : (17,33)-(702,541)
    [Info.][11]: PlaneScene: dst        : (333,111)-(722,382)

    This is really weird.
    The Screen WxH should be the resultion of your screen (in my case 1920x1080). Was your MP in window mode while you have created the log?
    The "src" is a rectangle that is cropped out of the complete video (normally this is the same as the video size, as long as did not change anything to the cropping settings)
    The "dst" is the target rectangle where the source rectangle should be shown on the screen. Normally this is your complete screen (in my case again 0,0,1920,1080).

    In your case the target is bigger than the screen size... so you don't see the right site of your video.

    Maybe there are some strange settings in your MediaPortal.xml that lead to such an effect... Try to rename it (it's in your "C:\Dokuments and Settings\AllUsers\Team MediaPortal\MediaPortal\" folder. You will have to configure MP complete new because this file hold nearly all client related settings. But for a quick test this should be ok.

    Bye
    Lars
     

    lkuech

    Retired Team Member
  • Premium Supporter
  • February 16, 2007
    576
    83
    52
    Hamburg
    Home Country
    Germany Germany
    Hi Sven.

    Was this information helpful for you?
    If your problem is gone with a new mediaportal.xml, then your have most likely some wrong settings in your screen/ui calibration.

    Bye
    Lars
     

    SvenZ

    Portal Pro
    June 1, 2008
    120
    2
    Chemnitz/Sachsen
    Home Country
    Germany Germany
    Hi lkuech
    please be patient to receive some further information.
    Actually I have re-installed a virginal XP with MP RC2 with the result, that my live TV freezes all the time (window and fullscreen).
    So first of all I have to fix that (however :confused: ) and then I will deal with some plugin issue again.
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Hi, I need some help with this!

    All 4 of my available channels transmits in both 4:3 format, and 16:9, but always 704 x 576, the 16:9 transmissions is just send with the anamorphic flag, so the TV knows when to strech it.

    I don't think that this plugin can check for this flag, perhaps I'm doing it wrong?

    The important part here is that I can't check the video height and width, because they are always the same.

    What I COULD do was to check for black bars in the side, just the same way you do it in the top and bottom. But the plugin can't do that at the moment :(
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Hi, I need some help with this!

    All 4 of my available channels transmits in both 4:3 format, and 16:9, but always 704 x 576, the 16:9 transmissions is just send with the anamorphic flag, so the TV knows when to strech it.

    I don't think that this plugin can check for this flag, perhaps I'm doing it wrong?

    The important part here is that I can't check the video height and width, because they are always the same.

    What I COULD do was to check for black bars in the side, just the same way you do it in the top and bottom. But the plugin can't do that at the moment :(

    Figured out that that the MPVideo filter apparantly is broken (lots of dead threads in the forum on this subject!). Using any other filter, like PowerDVD or DScaler fixed the problem, but introduced another; terrible artifacts in the form of interlacing.

    Currently I have turned of HW-decoding of MPEG2 in PowerDVD and that looks like a fix. CPU is around 12-20% and I can live with that since my CPU is a dual-core.

    So: Nothing wrong with the plugin, but I don't think that I need it, since the AR is correct when NOT using MPVideo-filter. I guess this is the price we pay for buying a cutting-edge chipset :rolleyes:
     

    lkuech

    Retired Team Member
  • Premium Supporter
  • February 16, 2007
    576
    83
    52
    Hamburg
    Home Country
    Germany Germany
    Yeah.

    Wow tourettes. That are really great news for all the Vista Users out there. Thanks.

    bye
    Lars
     

    Users who are viewing this thread

    Top Bottom