High DPI support for MediaInfo Lite

View previous topic View next topic Go down

High DPI support for MediaInfo Lite

Post by chjc on Tue Jan 10, 2017 11:33 am

While currently most tools within the codec pack support high DPI display (aside from Windows's own graphical glitches), MediaInfo Lite doesn't support high DPI as of yet. I have a 15" 4K display, which I have my scaling at 250%. While running MediaInfo Lite by itself to inspect files from the right click menu, the OS detects it doesn't support high DPI and scales it for me. While being quite blurry at 250%, due to it being a small tool I didn't care too much.

However, what kills it is when opening it via the properties menu in MPC-HC. Due to MPC-HC supports high DPI, it tells the OS that it could handle scaling itself. What MPC-HC didn't expect is that due to MediaInfo not supporting, its UI is extremely small and basically unreadable on my screen. (attached screenshot below in spoiler)

Notice in the screenshot, the details menu has very sharp normal sized text, while the mediainfo tab is basically unreadable. The regular MediaInfo window is scaled by the OS, bus due to it being a 250% scale it appears blurry.
image:

Original Image Link: Click Here for 4K Image

Preview Image:



Thanks, and have a great day!

chjc

Posts : 6
Join date : 2017-01-10

View user profile

Back to top Go down

Re: High DPI support for MediaInfo Lite

Post by Admin on Tue Jan 10, 2017 3:38 pm

This is a flaw in MPC-HC. It only uses the MediaInfo DLL to get the information. MPC-HC itself is responsible for the display.

Admin
Admin

Posts : 3323
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: High DPI support for MediaInfo Lite

Post by Admin on Tue Jan 10, 2017 4:14 pm

It will look better in next version. I found a fix to scale the text.

Admin
Admin

Posts : 3323
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: High DPI support for MediaInfo Lite

Post by chjc on Wed Jan 11, 2017 2:58 am

Thanks for the reply and fix! I'll be looking foward for the next version.

On the side note, instead of fixing the scaling, wouldn't adding high DPI support for MediaInfo Lite fix the root problem, or is it not possible at this time? With the market trend moving towards higher DPI displays it might be more effecient in the long run.

Either way, thanks again for the reply!

chjc

Posts : 6
Join date : 2017-01-10

View user profile

Back to top Go down

Re: High DPI support for MediaInfo Lite

Post by Admin on Wed Jan 11, 2017 2:28 pm

MPC does not use the MediaInfo Lite tool. Both use the MediaInfo DLL for getting the information. But user interface is controlled by the tools themselves.

I don't have source code for the MediaInfo Lite tool, so I can't modify it. Maybe someone can write a better replacement tool. It is a relatively simple program.

Admin
Admin

Posts : 3323
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: High DPI support for MediaInfo Lite

Post by chjc on Thu Jan 12, 2017 2:31 am

I see, thanks for the reply!

On the side note, I was reading a thead about MPC-BE and while checking it out of curiousity I found they were able to add high DPI support on the mediainfo page. I do not know if they are using the same tool nor do I have any interest in switching to that player though.


(Image attached)

chjc

Posts : 6
Join date : 2017-01-10

View user profile

Back to top Go down

Re: High DPI support for MediaInfo Lite

Post by Admin on Thu Jan 12, 2017 5:43 pm

The text scaling in MPC-HC has already been fixed. It will be available in next version of the codec pack.

Admin
Admin

Posts : 3323
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: High DPI support for MediaInfo Lite

Post by Admin on Thu Jan 12, 2017 9:38 pm


Admin
Admin

Posts : 3323
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: High DPI support for MediaInfo Lite

Post by chjc on Fri Jan 13, 2017 2:20 am

Thanks for the fix! It's working perfectly now. Very Happy

chjc

Posts : 6
Join date : 2017-01-10

View user profile

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum