View Full Version : VapourSynth macOS Installer (Archive)
l33tmeatwad
5th March 2018, 18:01
The splash image too, or only when you open a video?
Splash image is fine I think (color bars?), just loaded videos. I will say rolling back to VS r34 and videos load fine.
Selur
5th March 2018, 18:24
I'm also going to just post my full instructions on how I compile everything for VapourSynth.framework so if anyone else wants to help contribute they can, I just need to clean up my nonsensical notes...
That would be nice. :)
jackoneill
5th March 2018, 21:37
I kind of doubt this patch fixes the problem, but try it anyway:
diff --git a/src/core/vsresize.cpp b/src/core/vsresize.cpp
index efd1a73..4f52c5b 100644
--- a/src/core/vsresize.cpp
+++ b/src/core/vsresize.cpp
@@ -493,7 +493,7 @@ public:
allocate(vsformat, format.width, format.height, graph.get_input_buffering(), vsapi, core);
if (vsformat->id == pfCompatBGR32)
- m_p2p_func = vsp2p::packed_to_planar<vsp2p::packed_argb32_le>::unpack;
+ m_p2p_func = vsp2p::packed_to_planar<vsp2p::packed_argb32>::unpack;
else if (vsformat->id == pfCompatYUY2)
m_p2p_func = vsp2p::packed_to_planar<vsp2p::packed_yuy2>::unpack;
@@ -533,7 +533,7 @@ public:
allocate(vsformat, format.width, format.height, graph.get_output_buffering(), vsapi, core);
if (vsformat->id == pfCompatBGR32)
- m_p2p_func = vsp2p::planar_to_packed<vsp2p::packed_argb32_le, true>::pack;
+ m_p2p_func = vsp2p::planar_to_packed<vsp2p::packed_argb32, true>::pack;
else if (vsformat->id == pfCompatYUY2)
m_p2p_func = vsp2p::planar_to_packed<vsp2p::packed_yuy2, true>::pack;
l33tmeatwad
5th March 2018, 22:49
I kind of doubt this patch fixes the problem, but try it anyway:
diff --git a/src/core/vsresize.cpp b/src/core/vsresize.cpp
index efd1a73..4f52c5b 100644
--- a/src/core/vsresize.cpp
+++ b/src/core/vsresize.cpp
@@ -493,7 +493,7 @@ public:
allocate(vsformat, format.width, format.height, graph.get_input_buffering(), vsapi, core);
if (vsformat->id == pfCompatBGR32)
- m_p2p_func = vsp2p::packed_to_planar<vsp2p::packed_argb32_le>::unpack;
+ m_p2p_func = vsp2p::packed_to_planar<vsp2p::packed_argb32>::unpack;
else if (vsformat->id == pfCompatYUY2)
m_p2p_func = vsp2p::packed_to_planar<vsp2p::packed_yuy2>::unpack;
@@ -533,7 +533,7 @@ public:
allocate(vsformat, format.width, format.height, graph.get_output_buffering(), vsapi, core);
if (vsformat->id == pfCompatBGR32)
- m_p2p_func = vsp2p::planar_to_packed<vsp2p::packed_argb32_le, true>::pack;
+ m_p2p_func = vsp2p::planar_to_packed<vsp2p::packed_argb32, true>::pack;
else if (vsformat->id == pfCompatYUY2)
m_p2p_func = vsp2p::planar_to_packed<vsp2p::packed_yuy2, true>::pack;
That fixed the issue, no more blue!
Selur
6th March 2018, 05:27
Nice! Looking forward to the next release. :)
jackoneill
6th March 2018, 10:05
That fixed the issue, no more blue!
So this is a PowerPC, then?
l33tmeatwad
6th March 2018, 15:15
So this is a PowerPC, then?
Nope, Intel.
jackoneill
6th March 2018, 15:49
Nope, Intel.
Okay then. What version of Qt do you have?
Edit: nevermind. Apparently it's a VapourSynth bug, not Qt.
l33tmeatwad
6th March 2018, 15:55
Okay then. What version of Qt do you have?
I have and use Qt 5.9 for my personal projects, but for VapourSynth Editor I use 5.6 because if I use anything newer the output is a mostly black with blocky distortion, however 5.6 will properly compile it. I used 5.10 from brew on a fresh system to compile Wobbly.
jackoneill
6th March 2018, 17:14
Please test one more patch, but without applying the previous one:
diff --git a/src/common/p2p.h b/src/common/p2p.h
index 60f50e9..0895b93 100644
--- a/src/common/p2p.h
+++ b/src/common/p2p.h
@@ -26,6 +26,10 @@
#include <climits>
#include <type_traits>
+#ifdef _WIN32
+ #include <stdlib.h> // _byteswap_x
+#endif
+
#ifdef P2P_USER_NAMESPACE
#define P2P_NAMESPACE P2P_USER_NAMESPACE
#else
@@ -34,12 +38,10 @@
#ifdef _WIN32
#define P2P_LITTLE_ENDIAN
- #include <stdlib.h>
-#else
- #include <sys/param.h>
- #if __BYTE_ORDER == __BIG_ENDIAN
+#elif defined(__BYTE_ORDER__)
+ #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#define P2P_BIG_ENDIAN
- #elif __BYTE_ORDER == __LITTLE_ENDIAN
+ #elif __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define P2P_LITTLE_ENDIAN
#endif
#endif
l33tmeatwad
6th March 2018, 18:19
That patch appears to be working.
jackoneill
6th March 2018, 20:40
That patch appears to be working.
Okay, I pushed it. Thanks for testing.
l33tmeatwad
6th March 2018, 20:58
Okay, I pushed it. Thanks for testing.
Thank you for fixing it, I've been trying to get that fixed since April of last year, lol...
jackoneill
6th March 2018, 21:31
Thank you for fixing it, I've been trying to get that fixed since April of last year, lol...
Fix is by Stephen R. Savage, I just pushed it.
halls
8th March 2018, 22:01
Nice!
Thank you!
And now?
What can i do to fix my blue haze????
Selur
8th March 2018, 22:02
@halls: be patient and wait for l33tmeatwad to update the installer :)
halls
9th March 2018, 15:47
Thank You Selur!
And thank you everyone who helps solve this problem!
l33tmeatwad
9th March 2018, 16:47
Sorry for the delay, I have been busy and plan to include a lot more than just this fix in the next update. I will get it up as soon as I can.
McCauley
10th March 2018, 21:29
Sorry for the delay, I have been busy and plan to include a lot more than just this fix in the next update. I will get it up as soon as I can.Thank you - I appreciate your time going into this. I as well suffer from the blue screen problem like user "halls" does.
Looking forward to the update! :)
Selur
12th March 2018, 08:51
@l33tmeatwad: would be nice if you could also include some uninstaller (script/pkg/whatever) to the package. :)
Alternatively can someone recommend a tool which could be used to easily uninstall the package?
l33tmeatwad
12th March 2018, 20:29
@l33tmeatwad: would be nice if you could also include some uninstaller (script/pkg/whatever) to the package. :)
Alternatively can someone recommend a tool which could be used to easily uninstall the package?
All of the VapourSynth files are all stored in /Library/Frameworks/Vapoursynth.framework, so deleting that will remove most of it. The stand alone applications are stored in the applications folder. The remaining parts of the install are the symbolic links created in /usr/local/lib and /usr/local/bin.
l33tmeatwad
13th March 2018, 01:22
Installer has been updated. I included a lot of the requested plugins, but any that required extras or would not compile and would require extra time to figure out were not included for now.
Selur
13th March 2018, 07:50
Thanks!
Selur
13th March 2018, 09:32
Can't find ffmsindex anywhere, did I miss it or did you forget about it?
Cu Selur
l33tmeatwad
13th March 2018, 14:46
Can't find ffmsindex anywhere, did I miss it or did you forget about it?
Cu Selur
I'll get that fixed along with another file that was being put in the wrong location and get it updated in the next day or so.
Selur
13th March 2018, 14:54
Not here,...
macmini:Applications selur$ ls /Library/Frameworks/VapourSynth.framework/bin/
2to3 easy_install-3.6 pip3 python3-config python3.6m pyvenv-3.6
2to3-3.6 idle3 pip3.6 python3.6 python3.6m-config vspipe
cython idle3.6 python3 python3.6-config pyvenv
macmini:Applications selur$
reinstalled VapourSynth_R43_180312.pkg to make sure,...
Cu Selur
l33tmeatwad
14th March 2018, 02:14
Just updated the installer with ffmsindex and fixed the issue where one file was written to \Library\Frameworks\VapourSynth.frameworks instead of \Library\Frameworks\VapourSynth.framework. If you installed the old package feel free to delete that extra folder.
Selur
14th March 2018, 11:41
Thanks! :)
Selur
14th March 2018, 18:24
ffmsindex is missing a library,.. :(
this happens when I call ffmsindex inside a terminal:
dyld: Library not loaded: /Library/Frameworks/VapourSynth.framework/lib/libffms2.4.dylib
Referenced from: /usr/local/bin/ffmsindex
Reason: image not found
Abort trap: 6
Cu Selur
l33tmeatwad
14th March 2018, 18:39
ffmsindex is missing a library,.. :(
this happens when I call ffmsindex inside a terminal:
dyld: Library not loaded: /Library/Frameworks/VapourSynth.framework/lib/libffms2.4.dylib
Referenced from: /usr/local/bin/ffmsindex
Reason: image not found
Abort trap: 6
Cu Selur
Yeah, I forgot to check on that after patching the plugin itself. I will update the installer tonight, but the fix if you don't want to re-download the new one is:
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libffms2.dylib /Library/Frameworks/VapourSynth.framework/lib/libffms2.4.dylib
I will be adding that to the installer script. Hopefully that is the LAST change for now.
Selur
14th March 2018, 19:25
Hopefully that is the LAST change for now.
on that note: Would be cool if you could try to add eedi3 and znedi3 next since QTGMC relies on them. :)
Cu Selur
l33tmeatwad
14th March 2018, 20:56
on that note: Would be cool if you could try to add eedi3 and znedi3 next since QTGMC relies on them. :)
Cu Selur
EEDI3 is included in VapourSynth, as for the other, it either didn't compile easily or required extra things that I didn't have time to setup right now. You will have to wait on that one until I have more time unfortunately.
Selur
14th March 2018, 21:00
Oh, it's 'eedi3m' (https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI3) that is used in QTGMC and since vsedit complained about it I guess that one isn't included in Vaporusynth. :)
Cu Selur
l33tmeatwad
14th March 2018, 22:05
I have started to post instructions for setting up VapourSynth the same way it is for this installer on the first page of this thread.
l33tmeatwad
15th March 2018, 04:12
Installer was updated with the fix for ffmsindex.
Selur
15th March 2018, 07:26
Nice! Thanks!
btw. for those which use the Installer, here's a small modified version of havsfunc which allows to use QTGMC: http://pasteall.org/875481 (just replaced all znedi3 and eedi3m.EEDI3 instances whenever no opencl was used with nnedi3 and eedi3.eedi3)
Cu Selur
Selur
15th March 2018, 09:25
Something is 'off' with FF3DFilter.
When using 'FFT3DFilter: Function does not take argument(s) named planes', I get:
FFT3DFilter: Function does not take argument(s) named planes
seems like there is another FFT3DFilter filter library than the one currently used in the installer.
I thought https://github.com/VFR-maniac/VapourSynth-FFT3DFilter was the latest, but that doesn't seem to be the case.
-> https://github.com/myrsloik/VapourSynth-FFT3DFilter sees to be the current version now
Cu Selur
Ps.: btw. once the 'new' FFT3DFilter is included I can release a Hybrid build which automatically allows to use Vapoursynth once the Vapoursynth installer is used on mac os. :) Adjusted the Hybrid, but unless QTGMC is usable, which is the default deinterlacer in Hybrid I'll wait with Vapoursynth support in mac.
halls
28th March 2018, 14:52
Thank You for the update!!!
No more blue :)
Is anyone have solution for the HDR >>> SDR tone mapping?
l33tmeatwad
28th March 2018, 15:21
Thank You for the update!!!
No more blue :)
Is anyone have solution for the HDR >>> SDR tone mapping?
If you need something specific compiled let me know and give me the info and I'll try to see if i can do that for you when I get the time.
halls
28th March 2018, 15:54
If you need something specific compiled let me know and give me the info and I'll try to see if i can do that for you when I get the time.
I think most peoples prefer the hable and the reinhard methode for the tone mapping, complement with z_ConvertFormat.
l33tmeatwad
28th March 2018, 16:13
I think most peoples prefer the hable and the reinhard methode for the tone mapping, complement with z_ConvertFormat.
If you can provide links so I don't have to search for things that would be great :)
halls
28th March 2018, 22:24
If you can provide links so I don't have to search for things that would be great :)
I been found this thread for Hable:
https://forum.doom9.org/showthread.php?p=1800918
this for z_ConvertFormat
https://forum.doom9.org/showthread.php?t=173986
But I'm not so pro, maybe Selur if he see this, can give us some helping hand.
I do not want to mislead you
Selur
1st April 2018, 10:47
@halls: I agree with HolyWu, the tonemap filter itself is enough.
typical usage would be:
# convert to RGBS
video=core.resize.Bicubic(clip=video, format=vs.RGBS, range_in_s="limited", matrix_in_s="2020ncl", primaries_in_s="2020", primaries_s="2020", transfer_in_s="st2084", transfer_s="linear",dither_type="none", nominal_luminance=1000)
# apply Hable/Mobius/Reinhard
video=core.tonemap.Hable(video)
# convert to your target color space
video=core.resize.Bicubic(clip=video, format=vs.YUV420P8,matrix_s="709", primaries_in_s="2020",primaries_s="709", transfer_in_s="linear", transfer_s="709",dither_type="ordered")
@l33tmeatwad: added TTempSmooth to the filter 'wishlist' :)
Cu Selur
Mad_Hatter
2nd April 2018, 11:06
Can we possibly have FieldHint and wobbly(from git with r40+ fixes) in the future installer?
l33tmeatwad
4th April 2018, 03:50
Can we possibly have FieldHint and wobbly(from git with r40+ fixes) in the future installer?
I can get these added, make sure to get the links to the correct versions you want and PM Selur who is helping me keep this organized.
Selur
4th April 2018, 18:30
@l33tmeatwad: adding an uninstall shell script which removes all files added through the installer would be a nice help for testing.
Also please add the '/Library/Frameworks/VapourSynth.framework/lib/python3.6/site-packages/' info to the first post so others also know where to put custom scripts. ;)
Cu Selur
Ps.: Package seems to work fine so far. :) TOP! :D
Mad_Hatter
6th April 2018, 13:42
@l33tmeatwad: adding an uninstall shell script which removes all files added through the installer would be a nice help for testing.
Also please add the '/Library/Frameworks/VapourSynth.framework/lib/python3.6/site-packages/' info to the first post so others also know where to put custom scripts. ;)
Cu Selur
Ps.: Package seems to work fine so far. :) TOP! :D
If possible, RemapFrames (https://github.com/Irrational-Encoding-Wizardry/Vapoursynth-RemapFrames) and NumPy(used by some scripts) would be handy too.
Selur
6th April 2018, 16:14
NumPy ?
I know of https://github.com/WolframRhodium/muvsfunc/blob/master/Collections/muvsfunc_numpy.py which isn't a filter, but a script.
Mad_Hatter
6th April 2018, 16:56
NumPy ?
I know of https://github.com/WolframRhodium/muvsfunc/blob/master/Collections/muvsfunc_numpy.py which isn't a filter, but a script.
What I meant was NumPy (http://www.numpy.org) proper, since the installer also has its own site-packages folder in which you have to put all libraries you want to use(for example some functions which use arange would throw an error since numpy is missing, even if it's correctly installed by pip). Might be me doing something wrong however.
Selur
6th April 2018, 16:59
Since it's more a general Python extension and not really Vapoursynth specific, I don't think that it really should be part of the package, but in case l33tmeatwad wants to add it I put it on the 'maintenance list' .
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.