Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th October 2019, 20:16   #41  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
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.
stax76 is offline   Reply With Quote
Old 24th October 2019, 20:48   #42  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by stax76 View Post
...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.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 24th October 2019, 21:24   #43  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
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
stax76 is offline   Reply With Quote
Old 25th October 2019, 06:19   #44  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by stax76 View Post
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.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 25th October 2019, 08:19   #45  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
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
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 25th October 2019, 09:34   #46  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
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.
stax76 is offline   Reply With Quote
Old 25th October 2019, 13:29   #47  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by stax76 View Post
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.
Quote:
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!
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 25th October 2019, 15:31   #48  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
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).
stax76 is offline   Reply With Quote
Old 25th October 2019, 19:10   #49  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
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.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 27th October 2019, 17:18   #50  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Code:
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/downloa...re/3.0/runtime

https://github.com/stax76/MediaInfo.NET
stax76 is offline   Reply With Quote
Old 28th October 2019, 21:55   #51  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
I did a last polishing today before work on staxrip and mpv.net continues.

Code:
5.2
---

- in the settings dialog the layout was improved,
  the font picker was replaced with a drop down and
  a link was added to open the settings folder
- using raw view, MediaInfo is now queried only once
  instead of twice which is marginally more efficient
- on startup MediaInfo.NET registers itself at
  HKCU\Software\Microsoft\Windows\CurrentVersion\App Paths\
  which enables third party apps to find and start MediaInfo.NET
- a assembly title attribute was added so the shell will use
  MediaInfo.NET instead of MediaInfoNET (for instance in the
  Explorer 'Open with' menu)
- the website was improved and added to the context menu
- the about dialog shows now the MediaInfo version
- all message boxes were migrated to use the TaskDialog API
  which has a improved presentation and copy and support
  links in case of an error

screenshot of the improved settings dialog:

https://i.postimg.cc/xTY4yYGb/Screenshot-44.png


Next staxrip build will integrate MediaInfo.NET.


runtimes:

https://dotnet.microsoft.com/downloa...re/3.0/runtime


website:

https://github.com/stax76/MediaInfo.NET
stax76 is offline   Reply With Quote
Old 30th October 2019, 16:05   #52  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Code:
5.3
---

- in normal view language names are now shown instead of two letter language codes
- MediaInfo API spelling errors were corrected
- duplicated entries are now removed

- critical fix: file associations did not work when UserChoice key was defined

runtimes:

https://dotnet.microsoft.com/downloa...re/3.0/runtime


website:

https://github.com/stax76/MediaInfo.NET
stax76 is offline   Reply With Quote
Old 1st November 2019, 18:29   #53  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 105
Oh, now it's super cool! Thank you!
Switch between modes is great idea!

Last edited by redbtn; 1st November 2019 at 18:31.
redbtn is offline   Reply With Quote
Old 1st November 2019, 19:10   #54  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
You're welcome!
stax76 is offline   Reply With Quote
Old 2nd December 2019, 02:19   #55  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Code:
5.4.0.0
-------

- new: the track navigation tab bar was only showing the format family
  like DTS, now it's showing the exact format like DTS XLL
- new: update check, must first be enabled in settings
- new: update feature, requires PowerShell 5 and curl,
  an up to date Windows 10 system has both included
runtimes:

https://dotnet.microsoft.com/downloa...re/3.0/runtime


website:

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



Last edited by stax76; 2nd December 2019 at 02:26.
stax76 is offline   Reply With Quote
Old 8th December 2019, 02:29   #56  |  Link
OAKside
Cat
 
OAKside's Avatar
 
Join Date: Oct 2006
Location: Box
Posts: 21
Thanks

MediaInfo.NET is just incredible, thank you again very much stax76! Drag and drop. Customizable (fonts, dark mode, etc). Beautiful. Works great in Windows "Send To" menu. Previously using MediaInfo "lite" (by Atak Snajpera).

Nitpicks: The "menu" section seems formatted oddly: Chapter times read "00[30 spaces]:[1 space]00:00.000" but perhaps should be "00:00:00.000" with no spaces. Then chapter names could be aligned nicely like rest of text. Also: there in no mention of "menu" in top summary, maybe by design though. And: (at risk of being slapped) top summary for "text" is not labeled "T" but "S" (for subtitle).

Last edited by OAKside; 8th December 2019 at 02:36.
OAKside is offline   Reply With Quote
Old 7th March 2020, 16:07   #57  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Thanks for the awesome feedback, new build should have everything covered!

Please note that it's a 32bit only app now.

https://github.com/stax76/MediaInfo....es/tag/5.5.0.0

https://dotnet.microsoft.com/downloa...urrent/runtime

Last edited by stax76; 7th March 2020 at 16:18.
stax76 is offline   Reply With Quote
Old 7th March 2020, 20:21   #58  |  Link
JKyle
App Digger
 
JKyle's Avatar
 
Join Date: Sep 2018
Posts: 411
Quote:
Originally Posted by stax76 View Post
Please note that it's a 32bit only app now.
Does it mean that I need to install .NET Core Runtime x86 along with x64?

I updated .NET Core Runtime x64 to the latest one, but 5.5.0.0 doesn't seem to launch at all. I can't see any instance of MediaInfo.NET on Task Manager.

I rolled back to the previous version (5.4.0.0), and it works nicely (without x86).
JKyle is offline   Reply With Quote
Old 7th March 2020, 21:17   #59  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Does it mean that I need to install .NET Core Runtime x86 along with x64?
Yes, I know it's a mess, I even considered to back port it to .NET Framework. I also don't know about compatibility between Core 3.0 and Core 3.1. The point of using Core in the first place was to prepare for the future and in December the future will be here, I needed to learn this new platform. Doing separate builds for 32 and 64 bit is cumbersome, in particular it makes the auto update feature uglier than it needs to be, I like the simplicity of the powershell code, it's like ten lines.

Generally .NET code can be built against x64, x86 or Any Platform which works on both due to the just in time compiler, the MediaInfo library is native though so it's either x64 or x86.

WebAssembly which can also be used outside the web is interesting because it's fast but also using just in time compilation so works on any platform.

Core or .NET 5 as it will be called later this year has also a mode where the entire runtime is included and it appears as a regular application that does not need a runtime, right now the files are too big, I think it involves a complicated process called tree shaking and will be one of the most valuable features of the new platform once it's ready.

Going x86 only is a way to achieve simplicity because Windows supports both side by side and for certain types of apps it's not making a real difference.

Last edited by stax76; 7th March 2020 at 21:33.
stax76 is offline   Reply With Quote
Old 7th March 2020, 21:54   #60  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
I've indeed missed updating the target Core platform from 3.0 to 3.1 and just made another release:

5.5.0.0 -> Core 3.0 x86
5.6.0.0 -> Core 3.1 x86

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

https://dotnet.microsoft.com/downloa...urrent/runtime
stax76 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT +1. The time now is 00:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.