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. |
22nd June 2018, 20:32 | #61 | Link |
Beyond Kawaii
Join Date: Feb 2008
Location: Russia
Posts: 724
|
https://bitbucket.org/mystery_keeper/vapoursynth-editor
Study the source. It does many things. API use, installation path discovery, async requests, preview - it's all there.
__________________
...desu! |
22nd June 2018, 21:25 | #62 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
This is how I do a reg query in python to check for a VS installation.
Code:
import winreg try: aReg = winreg.ConnectRegistry(None, winreg.HKEY_LOCAL_MACHINE) aKey = winreg.OpenKey(aReg, r"SOFTWARE\VapourSynth") q = winreg.QueryValueEx(aKey, 'Plugins') return q[0] except Exception as e: pass return None
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
2nd July 2018, 18:45 | #63 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
I'm nearly done writing VapourSynth Multi-Viewer, a tool allowing to view multiple scripts side-by-side, while padding, zoom and seeking simultaneously in all tabs. This will make it easier to see which settings give the best results on the eyes. Zoom in the eyes, and switch between the various script versions.
However there's a math problem I haven't been been able to resolve; and some of you guys are really good with low-level math problems. https://github.com/mysteryx93/Emerge...Viewer.cs#L130 This adjusts scrollbar positions when zooming. Currently it maintains the top-left corner fixed when zooming in and out. Ideally I would want to maintain the center fixed when zooming in and out using keyboard, or keep the image under the mouse fixed when zooming using the mouse wheel. Any idea which formula would achieve that?
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 3rd July 2018 at 04:01. |
3rd July 2018, 07:33 | #64 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Something like this?
https://stackoverflow.com/questions/...heel-scrolling https://gamedev.stackexchange.com/qu...or-calculation
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
Thread Tools | Search this Thread |
Display Modes | |
|
|