Log in

View Full Version : MediaInfo.NET


Pages : [1] 2 3

stax76
15th September 2019, 08:50
MediaInfo.NET is a windows application that shows info about media files.


Website

https://github.com/stax76/MediaInfo.NET

https://i.postimg.cc/0Q3RNTMD/image.png

Klaus1189
15th September 2019, 22:20
Thanks, I check it out.

ChaosKing
15th September 2019, 22:51
Looks nice. I didn't know mediainfo had an advenced mode, now I do :D

Groucho2004
15th September 2019, 23:21
I didn't know mediainfo had an advenced modeIt doesn't. I assume that by "advanced" he means the "Complete" option that can be passed to the Mediainfo API interface which will extract all available info from a media file.

stax76
15th September 2019, 23:21
In staxrip there is a context menu where you can toogle user/developer view, I don't know how it's named and used in the original GUI.

Raw view shows what property name you pass to the API and what value you will get for this property, it looks like this:


General

CompleteName : D:\Samples\Big Buck Bunny.mkv
Format/String : Matroska
Format_Version : Version 4
FileSize/String : 1.56 GiB
Duration/String : 10 min 34 s
OverallBitRate/String : 21.2 Mb/s
Encoded_Application/String: Lavf58.20.100
Encoded_Library/String : Lavf58.20.100
ErrorDetectionType : Per level 1

Video

ID/String : 1
Format/String : VP9
CodecID : V_VP9
Duration/String : 10 min 34 s
Width/String : 3 840 pixels
Height/String : 2 160 pixels
DisplayAspectRatio/String: 16:9
FrameRate_Mode/String : Constant
FrameRate/String : 60.000 FPS
ColorSpace : YUV
Language/String : English
Default/String : Yes
Forced/String : No
colour_range : Limited
colour_primaries : BT.709
transfer_characteristics : BT.709
matrix_coefficients : BT.709

Audio

ID/String : 2
Format/String : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
CodecID : A_AAC-2
Duration/String : 10 min 34 s
Channel(s)/String : 6 channels
ChannelLayout : C L R Ls Rs LFE
SamplingRate/String : 48.0 kHz
FrameRate/String : 46.875 FPS (1024 SPF)
Compression_Mode/String : Lossy
Title : ISO Media file produced by Google Inc. Created on: 12/12/2018.
Default/String : Yes
Forced/String : No



The normal view looks different:


General

Complete name : D:\Samples\Big Buck Bunny.mkv
Format : Matroska
Format version : Version 4
File size : 1.56 GiB (1601 MB)
Duration : 10 min 34 s
Overall bit rate : 21.2 Mb/s
Writing application : Lavf58.20.100
Writing library : Lavf58.20.100
ErrorDetectionType : Per level 1

Video

ID : 1
Format : VP9
Codec ID : V_VP9
Duration : 10 min 34 s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 60.000 FPS
Color space : YUV
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio

ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : A_AAC-2
Duration : 10 min 34 s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Title : ISO Media file produced by Google Inc. Created on: 12/12/2018.
Default : Yes
Forced : No

stax76
17th October 2019, 08:17
2.0 is out, features:

- High DPI support
- A search/filter feature
- A tab bar showing each track in a dedicated tab
- Move to the next and previous file of the folder
- Raw view to show parameters as used in the MediaInfo API

Does also Install/Uninstall.

https://github.com/stax76/MediaInfo.NET

https://raw.githubusercontent.com/stax76/MediaInfo.NET/master/Main.png

BetA13
17th October 2019, 19:14
nice....
I think im using it instead of mediainfo now..

Is it possible to make a dark theme? Or maybe possible to let the user decide wich background/font color they want...
I cant stand the White Background, since im using mediainfo quite often, it hurts my eyes when using it longer...

Besides that, i love it.. Its more clean, a bit more Modern. I approve :)

Best Regards...

stax76
17th October 2019, 22:10
It's probably not easy, instead of trying to theme WinForms like MusicBee does it might be more sane redoing it completely in WPF, I would probably need 2-3 days to get it as polished as it is now.

I'm not that much a dark theme user myself. I use dark theme only in VS code because it's the default, I've not even enabled it in mpv.net even though it's perfectly capable. Probably I should try the dark theme in Visual Studio as I spent much time using it.

If people request it I might do it but if the project gets little feedback and few stars then I might just be wasting my time. Feedback and stars are a motivation for me, there is much feedback for staxrip because video encoding is an extremely complex task and people always wonder how things can be done, and there are the bugs of course, Revan and me don't see many stars these days but it's OK especially because many people express much love for staxrip, I've seen many awesome appreciation posts and mails, I also got many donations in the pre streaming era.

mpv.net on the other side gets its amount of stars, when I'm working on new features and improvements it gets 5-10 stars per week, it tells me that I'm doing something useful and that I'm not alone being a passionate mpv user. Feedback was very sad in the beginning but now it's perfect, thank you for supporting it in the beginning and to everybody who supports it.

Stars, likes and popularity in general don't tell the full truth though, there are many brilliant people and heroes not many people seem to recognize. Some of my past and present heroes like D.I.T.C., B-Boy Physicx or Meg Myers are not well known. Some of my favorite music has less than 100 likes:

https://www.youtube.com/watch?v=UzTHLHu1Qb0&list=PLnVfFuh_eWkHea5HbrAxu8PaL4frxuiA7&index=5&t=0s

Sounds 6,486,027,521 times better than Luis Fonsi to me, I don't understand Spanish, GANGNAM STYLE is OK though...

ChaosKing
17th October 2019, 23:15
I'm not that much a dark theme user myself. I use dark theme only in VS code because it's the default, I've not even enabled it in mpv.net even though it's perfectly capable. Probably I should try the dark theme in Visual Studio as I spent much time using it.

Wouldn't simply changing the background color be enough in this case? (+ adding darktheme item to context menu)

stax76
17th October 2019, 23:59
Wouldn't simply changing the background color be enough in this case? (+ adding darktheme item to context menu)

There are some details like the 'Search' hint done with an API call or the Clear button, in the end you would probably end up with much custom drawing which is rather unpleasant to do and replacing controls.

WPF had it's issues in the beginning, that's why I didn't use it early but now it's really that much better than WinForms, it's like comparing cmd with powershell, massive improvement. I should have used it earlier and I bet the musicbee author regrets it as well.

In staxrip most dialogs are code generated just to avoid dealing with WinForms, yesterday I was thinking how am I going to let users edit settings and had all kind of crazy ideas until I settled for an approach, something I maybe have learned from mpv and also use in Open with++ (INI conf thing). I already had the WinForms designer open and then realized I can't do this anymore (High DPI is such an amazing pain in the ass with WinForms), ironic thing is Microsoft has currently one of it's best engineers (that guy from the roslyn team) working to port the WinForm designer to .NET Core, I don't know why they are doing this.

edit:

I wish it would be easier to use HTML, Microsoft is not helping much with that and Electron is too heavy for small tools, maybe there are ways I did not figure out yet.

edit2:

@BetA13

Thanks for the positive feedback btw.

ChaosKing
18th October 2019, 09:06
I already had the WinForms designer open and then realized I can't do this anymore (High DPI is such an amazing pain in the ass with WinForms), ironic thing is Microsoft has currently one of it's best engineers (that guy from the roslyn team) working to port the WinForm designer to .NET Core, I don't know why they are doing this.

edit:

I wish it would be easier to use HTML, Microsoft is not helping much with that and Electron is too heavy for small tools, maybe there are ways I did not figure out yet.


Yeah I have the feeling .net core will be unnecessary complex (and fat) under the hood, I mean look at the ported apis count https://github.com/dotnet/announcements/issues/130

I only see QT5+QML or the new thing by google "Flutter" as an alternative to electron. Flutter focuses on mobile, but they saw that it also works for desktop and even web. Scroll down for pics https://medium.com/flutter-community/flutter-for-desktop-create-and-run-a-desktop-application-ebeb1604f1e0

And there is also https://github.com/chromelyapps/Chromely for cross plattform .net+html apps.

stax76
18th October 2019, 10:18
Yeah I have the feeling .net core will be unnecessary complex (and fat) under the hood, I mean look at the ported apis count https://github.com/dotnet/announcements/issues/130

So far I know only the basics of .NET Core, usually I watch Microsoft's videos when they release new stuff. Wrote a small tool called ShellNew (https://github.com/stax76/ShellNew) and ported some of my private tools. For something serious like porting mpv.net I think it's better to wait until it becomes part of the OS or tree shaking is available, I don't like having larger binaries than necessary and I don't want to tell users that they have to install the runtime, I remember how that went when staxrip was first released 2002.

QT is notoriously difficult to install and setup I think, gave up two times and would probably need days. If I really wanted to do something portable it would be definitely under consideration, but there are numerous options.

About Flutter I don't know, does the world really need another language (works only with Dart I think), does this language bring something new to the table (some question for go) and will it be a successful language. It would also mean using a new IDE and editor since Google prefers Intelli and I really love my VS/VS Code.

I'm not sure I read about Chromely before, I've bookmarked it now.

GUIs are fine but at the moment I really like to play with PowerShell and the new Windows Terminal. :)

ChaosKing
18th October 2019, 10:28
Dart is very close to c#. Flutter and VS Code are best friends, most people prefer it this way.
And there is another option for small apps: powershell GUI! Idk if it's a good or a bad thing to do. There is also a gui editor for it: poshgui

p.s. ShellNew is nice. Just remove some useless entries.:thanks:

stax76
18th October 2019, 10:54
Good VS code support makes it more interesting for me. Web based GUI designer for PowerShell and WinForms looks like a fun project, why not.

StainlessS
18th October 2019, 11:24
Just a little spanner in the works,
For a language (I got it, aint yet tried it) that is Open Source, Delphi/Pascal compatible, full RAD (Rapid Application Development), and cross platform (write once, compile anywhere),
Lazarus (IDE, Includes Free Pascal) could well be worth spending a little time on (looks well impressive).

Lazarus is a free cross-platform visual integrated development environment (IDE) for rapid application development (RAD) using the Free Pascal compiler.

Software developers use Lazarus to create native-code console and graphical user interface (GUI) applications for the desktop, and also for mobile devices,
web applications, web services, visual components and function libraries for a number of different platforms, including Mac, Linux and Windows.

An application created using Lazarus on one platform can generally compile and execute on any platform for which a Free Pascal compiler exists.
For desktop applications a single source can target Mac, Linux, and Windows, with little or no modification.
An example is the Lazarus IDE itself, created from a single code base and available on all major platforms including the Raspberry Pi.

WikiPedia:- https://en.wikipedia.org/wiki/Lazarus_(IDE)

Home Page:- https://www.lazarus-ide.org/

Google:- https://www.google.com/search?client=firefox-b-d&sxsrf=ACYBGNQhsWvHHt0wMk2y2H7yGRkFIFqlQA%3A1571393358534&ei=To-pXb-VIIyJ1fAPscW66A8&q=lazarus+delphi&oq=lazarus+delphi&gs_l=psy-ab.3..0l4j0i22i30l6.12530.14751..15122...0.0..0.243.930.1j5j1......0....1..gws-wiz.......0i67j0i131.Q-O2KZQ34Ak&ved=0ahUKEwi_9L-3yKXlAhWMRBUIHbGiDv0Q4dUDCAo&uact=5

It is (IMHI) only a matter of time before M$ gets flushed down the pan [or at least Windows], having a cross platform option aint such a bad idea,
and Python looks also to be a worthwhile way to invest ones time. (even M$ seems to be investing time in other OS's [the writing is on the wall]).

EDIT: Active delevopment, two updates since May.

ChaosKing
18th October 2019, 11:51
But isn't Delphi/Lazarus basically like WinForms? Custom Controls and styling is much more work?

stax76
18th October 2019, 12:08
I think it's better to look for a GUI toolkit that is xml/json based with hardware acceleration and device independent pixels, that's what all modern toolkits have in common, it's much easier to do layout, high dpi, dark theme and advanced/custom controls. MediaMonkey was using Delphi, and then they gave up in favor of HTML, I complained ten years with dozens of posts in their forum about their shitty high dpi support, finally had to migrate to MusicBee which is also WinForms based and has many high dpi issues but at least the main window has properly working skins.

StainlessS
18th October 2019, 12:10
Thanks Stax, Downloading MusicBee 3.3.7165, Released on August 15, 2019, For Win7/ Win8/ Win10.

stax76
18th October 2019, 18:40
If you are new to this kind of player you can also try MediaMonkey 5 (HTML based) and Dopamine (WPF based but no extensions).

StainlessS
19th October 2019, 07:36
Yeh, I got MediaMonkey a couple of weeks ago (the old ver$ I had was from about 200x),
I like current one best, out of about 10 I downloaded at the same time.
(I still kinda like QMP [Quintessential Music Player, old no longer developed], but its a bit buggy under W7+), still nothing
to touch Music Match Jukebox from long ago(about v7.0, before they messed it up).
Not tried MusicBee yet.

stax76
21st October 2019, 00:27
3.1 has a dark UI and a word wrap settings. It requires .NET Core 3.0 being installed.

https://github.com/stax76/MediaInfo.NET

BetA13
21st October 2019, 02:01
very nice, that was kinda quick. :)
Thank you very much for the "Dark Skin" support... Its very comfortable to read now.

At first i didnt get it to run, but was shure i did install the .NET Core Runtimes..
After some searching i learned that you need to install:

Quote:

Run desktop apps
Want to run an app that uses .NET Core on your Windows computer? Install both the .NET Core Runtime and the .NET Core Desktop Runtime.

After i installed both runtimes it started and worked.
Just thought i mention it if someone else has Problems starting it.


Ok, now a BUG i encountered..
MediaInfo.NET does not start in the correct Window size.
I think its best to show you.

https://i.imgur.com/ijiJmmI.png

I have no clue whats going on there.. It doesnt save the window size?
I did delete everything before using the new Version.
Using Win7 64bit..


Best Regards, Beta

stax76
21st October 2019, 02:30
The window size value is ten times more in the new version because of the new UI toolkit. Try this:

font = Consolas
font-size = 13
window-width = 700
window-height = 550
center-screen = yes
raw-view = yes
word-wrap = no

Windows 10 users can install Windows Terminal Preview which installs the new font Cascadia Code, looks like this:

https://i.postimg.cc/43zZVtRN/Untitled.png

BetA13
21st October 2019, 02:45
You are right :)
Thanks, it looks like its using pixel as width and height now..

It works now with the selected size.


Strangely i do not have those settings:

center-screen = yes
word-wrap = no

But indeed i really like a "Word wrap" since that was one of teh First things that came to my mind when opening an Media with it..
This isnt a Limitation to Windows 7, is it?

Anyway, Thanks a million, with or without Word wrap, this is now my new MediaInfo Tool... :)

Cheers

stax76
22nd October 2019, 12:28
New in v4.0 is:

- search highlighting
- summary shown
- left column is wider
- few other minor tweaks

Fun fact:

staxrip was the first dotnet app announced 2002 at doom9.

MediaInfo.NET is the first dotnet core app announced at doom9 I believe.

https://i.postimg.cc/y6tdNwx0/image1.png

https://i.postimg.cc/zXhfH0H6/image2.png

BetA13
22nd October 2019, 12:44
Thank you for the new Update... Great Work!!
I like the Tweaks on TOP in the "basic" view, Settings are also better now, very readable.. And teh search function with the Green markings, GREAT STUFF!! I love it :P

staxrip was the first dotnet app announced 2002 at doom9.

MediaInfo.NET is the first dotnet core app announced at doom9 I believe.
Very nice.. To be honest im quite enjoying your Stuff.. :)



If i might ask, the "word wrap" setting, is it integrated?
Its still not showing for me?

https://i.imgur.com/050wKTH.png

Best Regards...

stax76
22nd October 2019, 13:29
Thank you for the positive feedback. What you see in the settings dialog is the plain text content of the settings file which is created when it's missing, because the file was created with an old version settings added by newer versions don't show. I added the defaults on the web site:

https://github.com/stax76/MediaInfo.NET#defaults

Ideally there would be a real settings dialog with check boxes etc., problem is I don't have great experience with the UI framework, so it would take more time to build, I should probably create this dialog, maybe in the next release.

BetA13
22nd October 2019, 13:48
because the file was created with an old version settings added by newer versions don't show.

Thank you for explaining this, now i get it^^
No worries though :) ill whait for the next release..

stax76
22nd October 2019, 15:58
some info on dotnet:

The next release after .NET Core 3.0 will be .NET 5. The .NET Framework will be deprecated, and .NET 5 will be the only .NET going forward – hence the removal of the "Core" branding and skipping of version 4 to avoid confusion with the .NET Framework 4.x.

https://en.wikipedia.org/wiki/.NET_Core

Quote from Scott Hunter, Director Program Management, .NET

New applications should be built on .NET Core. .NET Core is where future investments in .NET will happen. Existing applications are safe to remain on .NET Framework which will be supported. Existing applications that want to take advantage of the new features in .NET should consider moving to .NET Core. As we plan into the future, we will be bringing in even more capabilities to the platform. You can read about our plans here.

staxrip should stay on .net framework as there is a risk with the form designer not working properly on .net core and there is also a risk with win 7 compatibility being worse on .net core.

mpv.net will likely be ported but maybe not so soon.

https://dotnet.microsoft.com/download/dotnet-core/3.0/runtime

stax76
23rd October 2019, 03:01
4.1

- encoder parameters have a nice presentation
- if the text has focus the caret is visible and key scrolling works

https://i.postimg.cc/0Q3RNTMD/image.png

ChaosKing
23rd October 2019, 10:19
Any plans on making it also available via https://chocolatey.org/packages? (it is a package manager for windows)
If not I can do it and maintaining it on chocolatey if you're cool with it.

stax76
23rd October 2019, 13:19
Yes I'm cool with it, thank you.

I had a feature requests for mpv.net and chocolatey but found it difficult to understand but meanwhile my powershell knowledge has significantly improved, maybe now I'm ready for it.

I realized the app has grown enough to clean up the code and add everything missing of what a solid app is supposed to have, working on a new version right now.

BetA13
23rd October 2019, 18:13
short quick question....

Are there Plans to add an Function to Export to an Text File?
This would be also a nice feature i think..

Greetings..

stax76
23rd October 2019, 20:58
Yes, I want to add it.

stax76
24th October 2019, 06:48
5.0
---

- changelog added to repo
- if no file is open message is shown
- file can be opened from menu: Open File...
- file can be saved from menu: Save File...
- exclude setting added to hide defined parameters
- encoding presentation can be disabled
- compact summary can be disabled
- file types for setup can be customized
- column width can be customized
- new settings dialog with proper UI controls and greatly improved usability
- some dialogs use task dialog instead of msg box
- about dialog added
- settings directory can either be AppData, Portable or Custom

https://dotnet.microsoft.com/download/dotnet-core/3.0/runtime

https://github.com/stax76/MediaInfo.NET

As far as I can tell the app is now complete. :cool:

NikosD
24th October 2019, 08:14
Hello Frank.

Just tried your utils today (MediaInfo.NET, ShellNew and Open++)

Having the "original" MediaInfo GUI registered in Windows File Explorer showing with a right click on a media file, your MediaInfo GUI doesn't show up with a right click on a media file, even after installing it from inside the app.
Only the original MediaInfo is present in right click context menu on a media file.

It seems that your MediaInfo GUI can only be registered for the unregistered extensions by any Media Player - I mean the "orphan" media extensions - while the original MediaInfo is always present, if you set it in its preferences.

BTW, have you found out a way to register all of the extensions supported by an app (e.g Chrome) with a single click and not one by one using Windows 10 (latest versions) ?

That would be a very useful util!

Also, for both your .NET Core apps (ShellNew and MediaInfo.NET) it would be useful a pop up message warning the user that both .NET Core v3.0 runtime and .NET Core v3.0 Desktop runtime must be installed, ideally with a direct hyperlink to download the installers :D

Or you can put the links in a ReadMe.txt file.

Because now it seems that they are simply not working.

Just my two cents...

stax76
24th October 2019, 13:53
Hello Nikos,

I got both, the extension based menu of the original app and the registry based menu of my app and both work, there is not much I can do other than suggesting to use Open with++.

BTW, have you found out a way to register all of the extensions supported by an app (e.g Chrome) with a single click and not one by one using Windows 10 (latest versions) ?

That would be a very useful util!

I don't understand what you mean with that.

Also, for both your .NET Core apps (ShellNew and MediaInfo.NET) it would be useful a pop up message warning the user that both .NET Core v3.0 runtime and .NET Core v3.0 Desktop runtime must be installed, ideally with a direct hyperlink to download the installers

Showing a message or executing any code is not possible without the Core runtime, I've put a link on the main web page, the release page and have added a readme file.

NikosD
24th October 2019, 19:34
I got both, the extension based menu of the original app and the registry based menu of my app and both work, there is not much I can do other than suggesting to use Open with++. I didn't use Open ++, I just did a right click on a video file after installing your app and I got only original MediaInfo option.
I don't understand what you mean with that. There are many apps like MPC-HC that support dozens of different types of files and can register themselves as the default app for all those file types (file extensions e.g .mp4 .mkv .ts .aac etc)
Last few versions of Win10 do not allow you to set MPC-HC as the default app for all those supported extensions by MPC-HC with just a single click.
Win10 allow you to set and register one by one the extensions supported by the app as the default program to open those extensions.
Showing a message or executing any code is not possible without the Core runtime, I've put a link on the main web page, the release page and have added a readme file. Understood.

stax76
24th October 2019, 19:52
There are many apps like MPC-HC that support dozens of different types of files and can register themselves as the default app for all those file types (file extensions e.g .mp4 .mkv .ts .aac etc)
Last few versions of Win10 do not allow you to set MPC-HC as the default app for all those supported extensions by MPC-HC with just a single click.
Win10 allow you to set and register one by one the extensions supported by the app as the default program to open those extensions.

It's known that Windows 10 has some protection, I can only tell you what mpv.net does, it uses the traditional keys with some new keys I found in the rusty mpv bat file, also some users gave me some hints which keys I was missing.

https://github.com/stax76/mpv.net/blob/master/mpv.net/Misc/Misc.cs#L61

https://github.com/stax76/MediaInfo.NET/blob/master/src/Program.cs#L60

Setup can be found in the mpv.net menu at : Tools > OS Setup

It features:

video file types registration
audio file types registration
image file types registration

and it has a button to bring you to the default apps dialog, that buttons calls the shell address:

ms-settings:defaultapps

https://betanews.com/2015/06/19/windows-10-tips-settings-control-panel/

NikosD
24th October 2019, 20:07
It's known that Windows 10 has some protection...
video file types registration
audio file types registration
image file types registration

and it has a button to bring you to the default apps dialog, that buttons calls the shell address:

ms-settings:defaultapps

https://betanews.com/2015/06/19/windows-10-tips-settings-control-panel/ Codec Tweak Tool could do that, but nowadays MS ceased the old control panel functionality of default apps and the new default apps functionality can't register all file types supported by the app at once.
I hoped you could do some magic and bring the old functionality to new Win10 :D

stax76
24th October 2019, 20:16
If you run the mpv.net setup and after that use the default apps dialog then I believe all extensions work, or at least it is trivial to make them work and you don't have to do that often, most apps are decent enough not to enable file type registration by default. I've not having problems with the new behavior, maybe it's not a bad thing that windows don't allow hijacking extensions without user confirmation, as far as I know this protection has not been cracked.

NikosD
24th October 2019, 20:48
...as far as I know this protection has not been cracked. I wouldn't call it protection, because it's not that apps do it on their own (which is bad) it's also that MS removed the option from user to do it as a choice, intensionally.
It's the old good MS forcing things on users that they don't want and removing options that they do want.
If there is a portable version of mpv I could try it.

stax76
24th October 2019, 21:24
I believe there is some hash value only Windows can create so it can be called protection.

mpv does not have an installer, you can get it here:

https://mpv.io/installation/

Docs are here:

https://mpv.io/manual/master/

It takes some commitment to understand and use it successfully.

My frontend is still mpv and makes few things easier:

https://github.com/stax76/mpv.net

NikosD
25th October 2019, 06:19
I believe there is some hash value only Windows can create so it can be called protection. You used the word protection literally, I thought you said it like MS is trying to "protect" access to massive registration of file types from unauthorized apps.

I will use MPV later today.

Thank you.

NikosD
25th October 2019, 08:19
Well, the batch script of installation of various extensions for MPV certainly doesn't work for registration of those extensions.
It just opens the Default Apps of Win10, so it can't bring back the old functionality of previous control panel.
Now, regarding the MPV and yours MPV.NET...well...it's a weird, interesting player but with a 228 pages manual :D

stax76
25th October 2019, 09:34
For testing a player it's maybe better to keep the file associations for the current player and test it with 'Open with', or 'Open with++' or drag and drop or something like that.

Maybe you need to run the script with elevated privileges, if you have both issues with MediaInfo.NET and the mpv script then maybe there is something wrong with your system or you are doing something wrong.

If you configure mpv then you need to search and navigate the manual, the best way doing this is using the single page HTML manual so you can do a full text search using the browser, it has 7000 lines, I've never heard that somebody had regrets learning it, you not only learn how to use mpv, you learn about software in general.

NikosD
25th October 2019, 13:29
Maybe you need to run the script with elevated privileges, if you have both issues with MediaInfo.NET and the mpv script then maybe there is something wrong with your system or you are doing something wrong. But I thought we had already agreed that if you have a media player e.g MPC-HC as the default app for media files, then it's impossible for newest versions of Win10 to allow you to register those extensions to another player all at once.
I just gave that script a chance, but it didn't work obviously.
It registered itself only to the orphan extensions, just like MediaInfoGUI.NET
If it's impossible to bring back the old functionality of the control panel, then the only solution would be to register a media player as default media player and leave Windows and not you to decide which extensions belong to that player.
I haven't done this yet to be honest, I was looking for the old functionality even as a hack.
If you configure mpv then you need to search and navigate the manual, the best way doing this is using the single page HTML manual so you can do a full text search using the browser, it has 7000 lines, I've never heard that somebody had regrets learning it, you not only learn how to use mpv, you learn about software in general. I think I'll stick to MPC-HC.
I have even abandoned my old love of PotPlayer for MPC-HC.
Not so much free time for reading manuals these days!

stax76
25th October 2019, 15:31
It works but you need to change the default app after the registration in Windows 10 at: Apps > Default Apps

mpc-be automatically opens the default apps page after the registration by calling ms-settings:defaultapps, mpv.net has a button to open it in its OS Setup dialog.

For MediaInfo.NET it's not necessary as it doesn't change the default app but only add a verb (menu item).

NikosD
25th October 2019, 19:10
After running the script and changing the default video/audio player to mpv, I got only 18 extensions supported by app but not registered to the app.

I wrote only, because MPC-HC leaves a lot more unregistered extensions than those it supports.

Yours mpv.net leaves only 8 unregistered extensions but I think it supports less extensions than mpv.

MPC-HC supports a lot more extensions than both mpv and mpv.net.

BTW, mpv is a modern player supporting D3D11VA video decoding and your version of mpv.net is user friendly too.

While waiting for the next version of MPC-HC with - hopefully - embedded support of mpcVR renderer, I will keep mpv.net as my default player.

stax76
27th October 2019, 17:18
5.1
---

- new setting 'Theme' added with 'Light', 'Dark' and 'System' option,
theme colors are not hard coded but defined in Settings.xml
- fix for window starting in background on very first start
- file association uninstall scans now all extensions and not only
the ones that are defined in the settings
- encoding settings are now alphabetically ordered
- compact summary is no longer limited to raw view, it's now
also available in normal view

https://dotnet.microsoft.com/download/dotnet-core/3.0/runtime

https://github.com/stax76/MediaInfo.NET