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. |
16th September 2018, 22:21 | #21 | Link | |
Registered User
Join Date: Mar 2018
Posts: 447
|
Yes I was expecting that too. But data is always better than expectations.
Cool, I will add it in the next version. Quote:
An alternative would be to make a little setup program where the user could select the correct version from the two alternatives and .ini would be created based on that. |
|
17th September 2018, 08:49 | #22 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
You also have to consider that a user can have both 32 and 64 bit Avisynth installed. So, the choice whether to test this with 32 or 64 bit Avisynth is up to the user.
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 17th September 2018 at 09:57. |
17th September 2018, 21:33 | #23 | Link | |
Registered User
Join Date: Mar 2018
Posts: 447
|
Quote:
I also want to ask your opinion on the .bat files. It's not necessary to have them (batch can be run even without a file) but I thought it would make hacking the optimizer a bit easier (you can change what you want to run the scripts with). Removing them would make sense now that avsr does the job very well and is included. But should I still leave them in order to let others decide the script runner? |
|
17th September 2018, 22:27 | #25 | Link | |
Registered User
Join Date: Mar 2018
Posts: 447
|
Quote:
Use the platform defined in the .ini EXCEPT if the platform is defined in the script, then use that instead EXCEPT if the platform has been given as a command line argument, then use that |
|
18th September 2018, 08:05 | #26 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
And what if no ini file (or script or command arg, use native-ness).
.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
20th September 2018, 22:52 | #27 | Link | |
Registered User
Join Date: Mar 2018
Posts: 447
|
Quote:
Besides whatever automatic method I can come up with it's still going to go wrong when people have both platforms installed. So I think I'm just going to ask the platform the first time the optimizer is run. |
|
21st September 2018, 00:07 | #28 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Can you elaborate on "ask the platform"? I'm not sure what you mean by that.
__________________
Groucho's Avisynth Stuff |
21st September 2018, 10:05 | #30 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
When I hear/read "platform" I naturally associate OS platform. In this context it's obviously about the "Avisynth platform" which sounds a bit odd but that's probably just me.
__________________
Groucho's Avisynth Stuff |
21st September 2018, 22:36 | #31 | Link | |
Registered User
Join Date: Mar 2018
Posts: 447
|
Quote:
Perhaps I should present the question as "Are you using (mostly) 32bit or 64bit Avisynth?". But I still need a good name for the argument, right now it's -platform. |
|
22nd September 2018, 09:01 | #32 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
This is an interesting concept, it could be quite useful in testing parameters for downscaling 4K to 1080p or 1080p to 720p (based on the fact that they will be upscaled to 4K upon playback). So, any chance this could be made Vapoursynth-compatible as well?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
22nd September 2018, 14:09 | #33 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
It would be nice if the download links could be on the first page.
I think adapting it to VS could be achieved with the SSIM() function from muvsfunc. https://github.com/WolframRhodium/mu...sfunc.py#L3371 But I don't know for what the avstimer.dll is good for...
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 22nd September 2018 at 14:11. |
22nd September 2018, 17:40 | #34 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
If only 32 bit Avisynth is installed, run the 32 bit process, if only 64 bit Avisynth is installed, run the 64 bit process. If both are installed, ask the user something like "With which Avisynth version do you want to run the test?" and then present the two choices.
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 22nd September 2018 at 19:37. |
|
22nd September 2018, 23:07 | #35 | Link | ||
Registered User
Join Date: Mar 2018
Posts: 447
|
Quote:
Quote:
1) a way to run a script programmatically from the optimizer 2) a way to specify which values the optimizer is changing in the script 3) the script has to calculate a result: quality / runtime / any other interesting value 4) the script has to write the result into a specific file I'm very much interested in making this happen but hopefully someone who knows Vapoursynth can help me figure out the steps above. |
||
22nd September 2018, 23:13 | #36 | Link | ||
Registered User
Join Date: Mar 2018
Posts: 447
|
Quote:
Quote:
AvsTimer is for measuring the runtime of the script. It's not absolutely necessary if you don't care how fast or slow the script is. |
||
22nd September 2018, 23:26 | #37 | Link | |
Registered User
Join Date: Mar 2018
Posts: 447
|
Quote:
[EDIT] 32bit Avisynth can be found at Code:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\AviSynth Is the 64bit version at Code:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Avisynth What about if Windows is 32bit? I guess there can only be 32bit Avisynth but it will be at the same spot in the registry as 64bit Avisynth on a 64bit Windows. Last edited by zorr; 22nd September 2018 at 23:56. |
|
23rd September 2018, 00:32 | #39 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Code:
32 bit AVS on 32 bit Windows: HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth] @="<avisynth install path>" 32 bit AVS on 64 bit Windows: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Avisynth] @="<avisynth install path>" 64 bit AVS on 64 bit Windows: [HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth] @="<avisynth install path>"
__________________
Groucho's Avisynth Stuff |
|
23rd September 2018, 00:54 | #40 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
q) Is the registry always automatically cleared, upon uninstall ? (I doubt it)
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
Thread Tools | Search this Thread |
Display Modes | |
|
|