MP2 - V2.1 - [MP2-645] 14:9 zoom mode is not correctly scaling

Discussion in 'Older releases' started by The Solutor, April 4, 2017.

Thread Status:
Not open for further replies.
  1. The Solutor

    The Solutor Portal Pro

    Joined:
    August 25, 2012
    Messages:
    63
    Likes Received:
    11
    Ratings:
    +16 / 0
    Home Country:
    Italy Italy
    [​IMG]

    I think that in this very case an image is better than 1000 words and logs.



    14/9 is a great MP1 feature while watching mismatched source/display aspect ratio, perhaps that feature is missing on WMC, and not that immediate to use in Kodi, so a good selling point for MP.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    11,219
    Likes Received:
    1,148
    Gender:
    Male
    Ratings:
    +2,465 / 22
    Home Country:
    Germany Germany
    Show System Specs
    This looks as if the display is simply zooming too much.

    @morpheus_xx , I tend to agree with the OP that our 14:9 display is a little bit overdoing things. Can these parameters be externally set or does it require a code adjustment?
     
  4. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,171
    Likes Received:
    4,788
    Ratings:
    +6,865 / 11
    Home Country:
    Germany Germany
    Show System Specs
    Just writing it down here for reference.

    The zooming in MP2 is done by:
    Changes to 14:9 could be done on C# side (good), if the shaders have to be touched I can't help too much (I avoid to touch them...)

    The current image is increased by 12.5%. The related code of MP1 is here. It also uses the 12.5% factor, but the later handling of the video frame is completely different.

    At the moment I don't see a quick change here, as it could affect more components like the VideoBrush etc.
     
  5. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    11,219
    Likes Received:
    1,148
    Gender:
    Male
    Ratings:
    +2,465 / 22
    Home Country:
    Germany Germany
    Show System Specs
    I'll add it to Jira for later reference: MP2-645
     
    Last edited: April 20, 2017
  6. The Solutor

    The Solutor Portal Pro

    Joined:
    August 25, 2012
    Messages:
    63
    Likes Received:
    11
    Ratings:
    +16 / 0
    Home Country:
    Italy Italy
    The 12.5% value is correct

    1.77777 -12.5% = 1.554 = 14/9

    But it isn't what actually happens. The actual "14/9 zoom" enlarges the image more than the plain "zoom" setting, which is 25% while watching a 16/9 program on a 4/3 display.

    In short the actual result is wrong by more than 200%, not exactly my definition of "a bit overdoing" function :)

    P.S. Aside the specific bug, I think that would be very nice to have the zoom factors manageable from the user settings (if not from the UI, at least editing an xml) given aside the good old 4/3 and 16/10 displays, the PC world seem (finally) abandoning the hideous 16/9 aspect ratio as the sole standard.

    There are many convertibles which have the 15/9 or 3/2 AR, we have the 21/9 ultrawide displays, and so on, where a custom zoom setting may be very useful.
     
    Last edited: April 21, 2017
  7. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,171
    Likes Received:
    4,788
    Ratings:
    +6,865 / 11
    Home Country:
    Germany Germany
    Show System Specs
    @The Solutor I think I fixed the issue. Looks like it was an error of "Math.Max" vs. "Math.Min" ;)

    Please check the attached patch. It is based on 2.1 Final release and needs to be placed under "C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SkinEngine" (take a backup of existing file before!)

    Zoom Normal:
    00_Zoom_Normal.jpg

    Zoom 14:9:
    01_Zoom_14_9.jpg
    I also checked 4:3 inputs, zoom factor looks o.k. there as well.
     

    Attached Files:

  8. The Solutor

    The Solutor Portal Pro

    Joined:
    August 25, 2012
    Messages:
    63
    Likes Received:
    11
    Ratings:
    +16 / 0
    Home Country:
    Italy Italy
    @morpheus_xx

    Sorry for the late reply but I missed your last message here.

    Whatever... I can confirm that the bug is fixed.

    Thanks a lot!:)
     
Loading...
Thread Status:
Not open for further replies.

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!