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. |
![]() |
#1 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,981
|
Compiling RGSF
I'm trying to compile RGSF on Linux. It'd be an understatement to say I'm new to this sort of thing. The following seems to work:
g++ -shared -o librgsf.so RGVS.cpp -O3 -march=native but according to VS Edit the plugin won't load. Failed to load /usr/lib/x86_64-linux-gnu/vapoursynth/librgsf.so. Error given: /usr/lib/x86_64-linux-gnu/vapoursynth/librgsf.so: undefined symbol: _Z12clenseCreatePK5VSMapPS_PvP6VSCorePK5VSAPI Any help would be appreciated. Thanks. |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Dec 2020
Posts: 99
|
Code:
g++ -fPIC -c file1.cpp file2.cpp file3.cpp g++ -march=native -shared -o libname.so file1.o file2.o file3.o https://github.com/adworacz/zsmooth |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,981
|
Julek,
Unfortunately it's the Repair filter I'm after rather than RemoveGrain. Thanks for the help though. I now have a working plugin. I'd only been vaguely aware of zsmooth until now, but I wouldn't mind giving it a look. I've been using focus2.TemporlSoften2 in a function but it also requires the miscellaneous filters plugin for scene change detection. Would you mind sharing the incantations and spells required to download and compile zsmooth? It appears I'll need to install Zig first. Is that correct? Cheers. |
![]() |
![]() |
![]() |
#4 | Link |
Registered User
Join Date: Dec 2020
Posts: 99
|
current zsmooth uses zig-0.12 so you can download 0.12.1 here, extract in a folder and run:
Code:
git clone https://github.com/adworacz/zsmooth cd ./zsmooth path-to-zig build -Doptimize=ReleaseFast https://github.com/dnjulek/vapoursynth-zip Last edited by Julek; 3rd February 2025 at 18:58. |
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,981
|
Thanks.
I really should have paid more attention to "current zsmooth uses zig-0.12", because I downloaded the latest version which wouldn't work. error: no field named 'path' in union 'Build.LazyPath' I got there eventually, but to think a year or two ago I could add a plugin by downloading a dll. ![]() I discovered zsmooth.TemporalSoften also requires the misc filters plugin for scene change detection, which is fine as I have it installed, but I couldn't get the scene change detection to work. SCDetect doesn't need to be added to the script manually does it? Cheers. |
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Dec 2020
Posts: 99
|
I don't know about zsmooth operation, you can ask it here:
https://forum.doom9.org/showthread.php?t=185465 |
![]() |
![]() |
![]() |
#8 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,981
|
Yeah, that's the only reason for needing it.
To be more specific Repair is used in part of a function and ideally I'd like the function to support any bitdepth (half float is supported in a few places by converting it to full float and back as there's no other way around it, aside from converting to an integer bitdepth). |
![]() |
![]() |
![]() |
#9 | Link |
Registered User
Join Date: Dec 2020
Posts: 1
|
https://aur.archlinux.org/cgit/aur.g...lugin-rgsf-git
You can find most vs plugin in aur. Read PKGBUILD file for help when build on other linux. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|