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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#2461 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
I've given it more thought and I'm still unsure the extensions installer should work.
This is as far as I got. MPDN Uninstaller: Delete everything except Extensions folder unless it's empty (with an option to remove extensions folder) Upgrade: Same as uninstalling (but without the option to remove extensions folder) Extensions Permutations to consider: 1. User has modified existing shader files. 2. User has added their own extensions .cs/.dll files. 3. User has added their own shader files. 4. User is using .cs files in their extensions folder instead of Mpdn.Extensions.dll. #2 #3 can easily be catered for by not deleting any files in the extensions folder unless user asks us to do a clean install. #4 can be easily avoided by making the installer bail out if the user uses the source code version (if Extensions\Framework folder exists). #1 is a problem. Ideally, modified shader files (e.g. user changing defines in sweetFX shaders) should be retained. But if we did, there's no way to update the shader files when we need to. Any suggestions? |
|
|
|
|
|
#2462 | Link | |
|
Registered User
Join Date: Jan 2005
Posts: 171
|
Quote:
|
|
|
|
|
|
|
#2464 | Link | |
|
Registered User
Join Date: Mar 2009
Posts: 3,697
|
Quote:
|Not a fan of having things backed up if I don't need them backed up, but whatever suits. |
|
|
|
|
|
|
#2465 | Link | |
|
MPDN Extensions Dev
Join Date: Apr 2015
Posts: 52
|
Quote:
Or another way : the dll is installed alongside MPDN (not in the Extension folder). MPDN load it and then load (override) the content by what is in the Extensions folder. It's a big change, but this way, power user can easily add/modify what they want (and not use the installer if they don't want) and you avoid any possible conflict for normal user. I do think that power user are not modifying original script, more likely using them as a base for their own. My solution would then let them keep their modified version without the fear of losing them. |
|
|
|
|
|
|
#2467 | Link | |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
|
|
|
|
|
|
|
#2468 | Link |
|
Registered User
Join Date: Dec 2013
Posts: 753
|
Would it be an idea to just use the archive flag? Any modification will set this flag to true, so if you set it to false on install then you should just keep those with the flag set to true, unless told otherwise.
You then run into problems when someone has modified the .cs files, but wants to install the dlls, but I think it's acceptable to fail in that case. |
|
|
|
|
|
#2470 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
New Player Extension "Rate Tuner"
Hi guys,
I've added a new player extension called "Rate Tuner" (requires MPDN v2.31). I'll write up on what it does in detail on wiki in due time but for now see if you could figure out what it does! Cheers. |
|
|
|
|
|
#2471 | Link |
|
Registered User
Join Date: Oct 2012
Posts: 8,615
|
a very complicated to use reclock?
what resampler is used? i had kind of the same idea for 2 years but automatic by running a something like a test file to measure the clock deviations and keep measuring after that. the result is than speed corrected by changing the sample rate after supersampling it and the result should be outputted as the max sample rate/bit deep the soundcard can handle. i never started it of cause. for example every 47950 (supersampled for less errors) khz are resampled to 192/24 bit |
|
|
|
|
|
#2473 | Link |
|
Registered User
Join Date: Oct 2014
Posts: 64
|
Zachs made a mistake in the url with em.
Try these: MPDN Extensions Installer MPDN Extensions Binaries MPDN Extensions Source |
|
|
|
|
|
#2474 | Link | |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
But yes it's something like reclock but a lot more accurate. It's not as automatic as reclock without having a custom audio renderer but it's no different to what you described - you can run a test file (say 23.976Hz) with a corresponding display refresh rate. Most people can't get their display to be exactly the same as their source - this extension allows them to achieve that. For example, I get 23.978Hz on my display and with a ref clock deviation of -ve value, I end up with something like 23.975Hz effective as the source. I use this extension to bring it back up to 23.978Hz. This allows me to completely get rid of any repeated frames (or dropped frames if your display is slower than ref clock corrected source frame rate) - hence completely stutter free no matter how long the video plays. The pitch shift is bugger all so there's no need for resampling. PAL DVDs can also be run at 23.976Hz using this extension so the pitch automatically gets corrected (not that I play DVDs much these days but according to most sites PAL DVDs are simply 23.976Hz materials played back at 25Hz without having their audio resampled, hence pitch shifted). That said, I'm not sure how it works when audio is bitstreamed. Eventually, I do hope I can extend MPDN to support audio scripts / extensions. |
|
|
|
|
|
|
#2476 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
The refresh rate is the actual one collected over the last 2 seconds, not the one reported by the media file which is absolutely meaningless.
I'll need to write up some guide on how to use it but essentially if you let your clip run for around 4 minutes without pausing or seeking, you end up with very accurate values. |
|
|
|
|
|
#2479 | Link |
|
Registered User
Join Date: Oct 2012
Posts: 8,615
|
that what i have to do. had to add 23.97602397623976 to get the real speed value.
and it would really help if i can just set this for every >display< resolution/refreshrate not for every input file. 480p23, 720p23 and 1080p all need the same speed value. and that's why i talked about a test file the test file refresh rate is 100 % known and should be "perfect" 23/24/25/29/30/50/59/60 hz. a VFR source can be ignored. EDIT: this shouldn't work when i think about it... i mean the problem is not the video refresh rate and display refresh rate doesn't match. the problem is that the audio clock doesn't match the video clock the rest doesn't matter... Last edited by huhn; 20th June 2015 at 12:33. |
|
|
|
![]() |
| Tags |
| direct3d, mpdn, nnedi3, opencl, reclock |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|