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. |
9th August 2020, 09:43 | #101 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
This was indeed a bug. Check new release.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
9th August 2020, 16:53 | #102 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Thanks for the support, it's working great now. Is it possible to decide if installed or portable vapoursynth should be used? Sorry, I'm just starting to explore new ways.
Regarding staxrip, using plugin auto loading instead of manual loading via LoadPlugin is a supported scenario since the last beta, maybe needs more testing and work. For me and possible future staxrip maintainers it's difficult to update all the plugins (and all other tools as well) manually, there need to be some automation and collaboration features to make this effortless. The app is somehow large due to the UI and json library.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
9th August 2020, 18:35 | #103 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
portable mode can only be used with a vsrepogui.json config file. With the following contents (Example is for AVSRepoGUI, but you get the idea. Or look at the example @ page 1.
Code:
{ "Bin":"avsrepo-64.exe", "win32": { "Binaries":"D:\\AvisynthRepository\\AVSPLUS_x86\\plugins", "Scripts":"D:\\AvisynthRepository\\SCRIPTS", }, "win64": { "Binaries":"D:\\AvisynthRepository\\AVSPLUS_x64\\plugins", "Scripts":"D:\\AvisynthRepository\\SCRIPTS", } } Idk how to make the app smaller
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 9th August 2020 at 18:39. |
9th August 2020, 20:24 | #104 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Maybe use things like ConvertFrom-Json, I use powershell all the time because I love working with it and hate using large external libraries, there is sample code in mpv.net, staxrip and mediainfo.net. I remember you know powershell.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
9th August 2020, 22:07 | #105 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
It's maybe not interesting for many devs since it works on Win7 only when PowerShell 5.1 is installed, it's accessing the PowerShell API directly in-process not using the powershell executable.
https://github.com/stax76/mpv.net/bl...mmands.cs#L336 https://github.com/stax76/mpv.net/bl....md#powershell
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 9th August 2020 at 22:32. |
10th August 2020, 09:14 | #106 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I will have a look, but I don't want to add a ps dependency.
There is a way however with .net core to compile it to true native code (with a c++ compiler). This sounds more interesting to me.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
10th August 2020, 14:32 | #107 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
There is an AOT feature but it might not be available soon, at least not for popular platforms and project types.
The new platform has json support built-in but there will be a distribution issue for years (until it becomes part of Windows) unless your users don't mind downloading/installing a HUGE package. There will probably be support for three shaking to get a smaller package but I don't think this will be available any time soon. It's going to be good old .NET Framework 4.8 for few more years I'm afraid, people hate downloading/installing HUGE packages, I have some experience with this.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
12th August 2020, 08:53 | #108 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
12th August 2020, 09:00 | #109 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
2. I bet it's related to the working directory somehow
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
12th August 2020, 09:16 | #110 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
It looks more like vsrepo has "no internet" like it's blocked for some reason. On the other hand it downloads vspackges.json on start just fine :/
working dir seems unlikely since all vsrepo-commands are working except the ones where a download is involved. Startet debug build through visualstuido, it calls this command and everything works: [These are the process args] Code:
"C:\Users\bob\Desktop\VSRepoGUI\VSRepoGUI\bin\Debug\vsrepo.py" -p -b "C:\Users\bob\Desktop\VSRepoGUI\VSRepoGUI\bin\Debug\vapoursynth64\plugins" -s "C:\Users\bob\Desktop\VSRepoGUI\VSRepoGUI\bin\Debug\..\Scripts" -t win64 upgrade neo_fft3d Now I start the same exe again but this time directly (without vstudio) and the very same command is called, BUT vsrepo says it failed, it can not download the package. Code:
"C:\Users\bob\Desktop\VSRepoGUI\VSRepoGUI\bin\Debug\vsrepo.py" -p -b "C:\Users\bob\Desktop\VSRepoGUI\VSRepoGUI\bin\Debug\vapoursynth64\plugins" -s "C:\Users\bob\Desktop\VSRepoGUI\VSRepoGUI\bin\Debug\..\Scripts" -t win64 upgrade neo_fft3d Code:
"C:\Users\bob\Desktop\VSRepoGUI\VSRepoGUI\bin\Debug\vsrepo.py" -p -b "C:\Users\bob\Desktop\VSRepoGUI\VSRepoGUI\bin\Debug\vapoursynth64\plugins" -s "C:\Users\bob\Desktop\VSRepoGUI\VSRepoGUI\bin\Debug\..\Scripts" -t win64 uninstall neo_fft3d
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 12th August 2020 at 09:25. |
12th August 2020, 09:39 | #111 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I think I found the problem. When I remove the tqdm python module it WORKS!
Now the question is why it makes a difference since it works within visual studio too :/
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 12th August 2020 at 09:47. |
12th August 2020, 10:12 | #112 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
It's probably something like the difference between stdout/stderr being initialized or not. GUI applications don't need it but Visual Studio probably attaches them anyway so you can see output in the debugger.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
12th August 2020, 10:24 | #113 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I also suspected something with stderr and turns out Win7 / tdqm are happy if I just add a RedirectStandardError = true. Thx for your help.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
12th August 2020, 10:36 | #114 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
@leon can you test if this build works for you?
https://www.dropbox.com/s/medu5e4zfw...n7fix.zip?dl=1
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
25th August 2020, 09:24 | #116 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Try the new release.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
25th August 2020, 14:14 | #117 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
New version works now.
ffms2 doesn't update to newest version https://github.com/FFMS/ffms2/releases |
25th August 2020, 19:23 | #118 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Because the ffms2 package was not updated on github yet. Try again.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
11th January 2021, 06:54 | #120 | Link | |
Registered User
Join Date: Nov 2013
Posts: 136
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|