View Full Version : VapourSynth macOS Installer (Archive)


l33tmeatwad
28th April 2016, 21:12
All in one installer has been scrapped for a basic one and separate downloads for each plugin which is available here (https://forum.doom9.org/showthread.php?t=175522). Instructions on how to build VapourSynth.framework can be found here (https://forum.doom9.org/showthread.php?p=1844300#post1844300).

jackoneill
28th April 2016, 22:44
Interesting.

Just a note: you can delete all .la files. Nobody needs them.

jackoneill
13th May 2016, 08:32
Poke (https://github.com/dubhater/vapoursynth-nnedi3/issues).

l33tmeatwad
13th May 2016, 22:19
Poke (https://github.com/dubhater/vapoursynth-nnedi3/issues).

The reason I haven't added nnedi3 yet is that it always crashes in OSX (on all my test machines at least). I haven't had a chance to look back at it and report the errors I'm getting so they can be fixed.

kolak
14th May 2016, 20:10
Thank you for your work!
It would be cool to have yadifmod.

l33tmeatwad
18th May 2016, 16:43
I plan to make an update early next month, been busy with other projects that need to be completed soon. Just wanted to give an update on this so it doesn't seem abandoned.

chainik_svp
27th May 2016, 08:43
it'd be really nice to see this on the main VS site ;)

brew still contains R29 only...

l33tmeatwad
2nd June 2016, 19:45
Did a quick update to get this installer up to r33 and added Yadifmod. I plan to add more later, but I am caught up working on another project at the moment.

kolak
22nd August 2016, 22:33
New Mvtools would be great as they keep changing.

Selur
3rd September 2016, 12:07
How to properly deinstall the all the stuff the installer installs?

Selur
18th September 2016, 06:45
Are there any updates planned for this? Any hope for an uninstall feature?

asoksevil
1st January 2017, 03:22
Are there any updates planned for this? Any hope for an uninstall feature?

I guess just removing the files manually would do it.

This doesn't work on Mavericks, any workarounds?

Thanks!

l33tmeatwad
3rd January 2017, 15:59
Are there any updates planned for this? Any hope for an uninstall feature?
Yeah, I've just been distracted by Pokemon Go since it came out, lol...as for uninstalling, I can look into that. Almost all the files are isolated to /Library/Frameworks/VapourSynth.framework and /Library/Frameworks/Python.framework, so deleting those will take care of most of it. Other files are:

/usr/local/bin/vspipe (symbolic link)
/usr/local/lib/libvapoursynth-script.dylib (symbolic link)
/usr/local/lib/libvapoursynth.dylib (symbolic link)

l33tmeatwad
31st January 2017, 22:55
To avoid having to store zip files of sources for every release (considering some of the files will not change) I have created a share that can be browsed with a text file detailing which versions came with each release.

houdini69
6th March 2017, 22:35
I've tried to install VapourSynth OSX Installer on my OS X 10.11.6 El Capitan system but I've got an blank alert window with just "Close" and nothing else :confused:

sl1pkn07
11th March 2017, 15:36
why not install throught brew?

houdini69
12th March 2017, 18:57
Because I don't know how to install properly plugins :scared:

l33tmeatwad
18th April 2017, 15:56
I apologize for the lack of updates to this project, but between the VapourSynth Editor problem on OSX and working on a FFMPEG gui (that support VapourSynth script encoding) I haven't been able to get back to it. Once I have ironed those other problems out I will get back to updating and maintaining this project (because without a way to preview the scripts on recent updates it's kind of useless to the target for this install package). All of the current issues I have been made aware of I will look into for any future updates.

Selur
18th April 2017, 18:15
Why not use Vapoursynth Editor for preview?

l33tmeatwad
18th April 2017, 21:31
Why not use Vapoursynth Editor for preview?It is already included...

Joachim Buambeki
1st May 2017, 16:23
Thanks for providing the OSX installer, l33tmeatwad! Is there a chance for the latest and greatest revision including the misc filters? (https://forum.doom9.org/showthread.php?t=173871)

TIA!

l33tmeatwad
2nd May 2017, 14:58
Thanks for proving the OSX installer, l33tmeatwad! Is there a chance for the latest and greatest revision including the misc filters? (https://forum.doom9.org/showthread.php?t=173871)

TIA!
Considering the source code is no longer up, I cannot compile them to include them. That said, I would assume that any of the useful ones have probably been included in VapourSynth now.

jackoneill
2nd May 2017, 15:15
Considering the source code is no longer up, I cannot compile them to include them. That said, I would assume that any of the useful ones have probably been included in VapourSynth now.

It's included next to VIVTC, Subtext, etc. It's compiled by default. You don't have to do anything, except compile a new enough VapourSynth.

Joachim Buambeki
5th May 2017, 15:03
It's included next to VIVTC, Subtext, etc. It's compiled by default.Even better. :-)

Would it be possible to also include KNLMeansCL and TempLinearApproximate? TIA!

l33tmeatwad
8th May 2017, 22:43
I am currently working on an update for this and this time the framework will include Python as well to help simplify things.

l33tmeatwad
13th June 2017, 22:20
Working on an VapourSynth R38 installer that is just Python, VapourSynth, and the Plugins, however until that is ready I decided to go ahead and link to my AMVpack project. It is pretty much the same base installer but has R34 (for compatibility reasons) and other software included. There is a custom install process to disable anything you do not want!

l33tmeatwad
20th July 2017, 03:41
Put up the R38 installer, removed all the additional fluff from the other package.

Selur
23rd December 2017, 07:39
any update planned to R40 ?

McCauley
4th February 2018, 18:38
Would it be possible to get an update on this to R43?
It would be very appreciated!

l33tmeatwad
5th February 2018, 16:27
Would it be possible to get an update on this to R43?
It would be very appreciated!

I'll be working on an update soon, had a lot of things going on the past few months that kept me away from maintaining some things I work on.

halls
13th February 2018, 00:04
I'll be working on an update soon, had a lot of things going on the past few months that kept me away from maintaining some things I work on.


It would be cool...:thanks:

l33tmeatwad
24th February 2018, 02:13
I apologize for the delay, was sick the past few weeks. VapourSynth r43 installer is now up, I wasn't able to test everything, so if there are any issues just let me know.

Selur
24th February 2018, 11:13
if there are any issues just let me know.
There is. :(
This package is outdated and the setup will automatically exit, please visit PixelBlended.com for an updated version!
Sadly, the only thing that happens when double clicking on the 'VapourSynth_R43_180223.pkg'-package. :(

Cu Selur

Ps.: I'm on macOS 10.13.3

l33tmeatwad
24th February 2018, 16:47
Oops, I forgot I had the year check in there, I've disabled that entirely for the VS installer and it's been re-uploaded.

Selur
24th February 2018, 16:51
Thanks! :)

halls
3rd March 2018, 14:05
Thx for the update!


Is anyone to know how can i solve this issue:
Nice blue haze.....

http://i63.tinypic.com/34dlcnt.png

Here is the script:

import vapoursynth as vs
core = vs.get_core()
from vapoursynth import core
c = core.ffms2.Source(source='/Volumes/MacOSX/Users/macosx/Desktop/1.mkv')
c.set_output()

Selur
3rd March 2018, 14:32
Wild guess: might be a problem with the color sampling, but without knowing about the source,...

halls
3rd March 2018, 14:45
Wild guess: might be a problem with the color sampling, but without knowing about the source,...

Source: was bd and encoded with x264 8bit /with hybrid :)/



nothing special

If I play the mkv file, it is ok.

File Info:

D : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 10 s 10 ms
Bit rate mode : Variable
Bit rate : 14.5 Mb/s
Maximum bit rate : 40.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive

Selur
3rd March 2018, 15:06
If I play the mkv file, it is ok.
Then I got no clue. Will test a bit with Vapoursynth on Mac later on, if I stumble over something I'll report.

halls
3rd March 2018, 15:21
Then I got no clue. Will test a bit with Vapoursynth on Mac later on, if I stumble over something I'll report.

will be great. THX!

Selur
3rd March 2018, 17:48
@l33tmeatwad:
Since I couldn't find ffmsindex or d2vwitch I went through all the filters I could think of that are not part of Vapoursynth directly and listed them:

addgrain: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-AddGrain (please add)
awarpsharp2: https://github.com/dubhater/vapoursynth-awarpsharp2 (already included)
bifrost: https://github.com/dubhater/vapoursynth-bifrost (already included)
bilateral: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Bilateral (please add)
bilateralgpu: https://github.com/WolframRhodium/VapourSynth-BilateralGPU (please add)
ctmf: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-CTMF (please add)
d2vsource: https://github.com/dwbuiten/d2vsource (already included)
d2vwitch for d2vsource: https://github.com/dubhater/D2VWitch (should be included, but couldn't find it, did I overlook it?)
dctfilter: https://bitbucket.org/mystery_keeper/vapoursynth-dctfilter (please add)
deblock: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock (please add)
degrainmedian: https://github.com/dubhater/vapoursynth-degrainmedian (please add)
depan: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DePan (please add)
descale: https://github.com/Irrational-Encoding-Wizardry/vapoursynth-descale (please add)
dfttest: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DFTTest (already included)
dotkill: https://github.com/myrsloik/DotKill (please add)
eedi2: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI2 (please add)
eedi3: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI3 (already included)
ffms2 and ffmsindex: https://github.com/FFMS/ffms2/blob/master/doc/ffms2-vapoursynth.md (please add ffmsindex)
fft3dfilter: https://github.com/VFR-maniac/VapourSynth-FFT3DFilter (already included)
flash3kyuu_deband: https://github.com/SAPikachu/flash3kyuu_deband (please add)
fluxsmooth: https://github.com/dubhater/vapoursynth-fluxsmooth (please add)
fmtconv: https://github.com/EleonoreMizo/fmtconv (already included)
ftf: https://github.com/IFeelBloated/Fix-Telecined-Fades (please add)
it: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-IT (please add)
knlmeanscl: https://github.com/Khanattila/KNLMeansCL (please add)
lsmashsource: https://github.com/VFR-maniac/L-SMASH-Works/tree/master/VapourSynth
msmoosh: https://github.com/dubhater/vapoursynth-msmoosh (please add)
mvtools: https://github.com/dubhater/vapoursynth-mvtools (already included)
nnedi3: https://github.com/dubhater/vapoursynth-nnedi3 (already included)
nnedi3cl: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-NNEDI3CL (please add)
rawsource: https://github.com/chikuzen/vsrawsource (please add)
retinex: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Retinex (please add)
sangnommod: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-SangNomMod (please add)
scxvid: https://github.com/dubhater/vapoursynth-scxvid (please add)
tdeintmod: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TDeintMod (already included)
templinearapproximate: https://bitbucket.org/mystery_keeper/templinearapproximate-vapoursynth/src
temporalsoften: https://github.com/dubhater/vapoursynth-temporalsoften (please add)
tonemap: https://github.com/ifb/vapoursynth-tonemap (please add)
vaguedenoiser: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-VagueDenoiser (please add)
vfrtocfr: https://github.com/Irrational-Encoding-Wizardry/Vapoursynth-VFRToCFR (please add)
waifu2x-w2xc: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Waifu2x-w2xc (please add)
yadifmod: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Yadifmod (already included)
znedi3: https://github.com/sekrit-twc/znedi3 (please add)

-> would be nice if you could add some of the currently not included filters (+ ffmsindex and d2vwitch) to the installer.

@halls: I have the same effect when using Vapoursynth editor when I used this script:
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading /Users/selur/Desktop/test.mp4 using FFMS2
clip = core.ffms2.Source(source="/Users/selur/Desktop/test.mp4",format=vs.YUV420P8,alpha=False)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg")
# making sure frame rate is set to 30000/1001
clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001)
# Making sure input color range is set to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# adjusting output color from: YUV420P8 to YUV420P10 for x264Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10)
# Output
clip.set_output()
-> Seems like a bug in either the editor or FFMS2. I even explicitly set the color format etc. :(

Cu Selur

jackoneill
3rd March 2018, 19:10
@halls: I have the same effect when using Vapoursynth editor when I used this script:
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading /Users/selur/Desktop/test.mp4 using FFMS2
clip = core.ffms2.Source(source="/Users/selur/Desktop/test.mp4",format=vs.YUV420P8,alpha=False)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg")
# making sure frame rate is set to 30000/1001
clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001)
# Making sure input color range is set to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# adjusting output color from: YUV420P8 to YUV420P10 for x264Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10)
# Output
clip.set_output()
-> Seems like a bug in either the editor or FFMS2. I even explicitly set the color format etc. :(

Cu Selur

If you make that


# Loading /Users/selur/Desktop/test.mp4 using FFMS2
clip = core.ffms2.Source(source="/Users/selur/Desktop/test.mp4",format=vs.YUV420P8,alpha=False)
clip = core.std.BlankClip(clip)


does it still look blue? (It should be black.)

Selur
3rd March 2018, 19:12
Will try tomorrow, don't own a mac anymore, used the one from my mom. :)
(unless halls reads this and can try it)

jackoneill
3rd March 2018, 19:46
If you make that


# Loading /Users/selur/Desktop/test.mp4 using FFMS2
clip = core.ffms2.Source(source="/Users/selur/Desktop/test.mp4",format=vs.YUV420P8,alpha=False)
clip = core.std.BlankClip(clip)


does it still look blue? (It should be black.)

Better yet, try this:


# Loading /Users/selur/Desktop/test.mp4 using FFMS2
clip = core.ffms2.Source(source="/Users/selur/Desktop/test.mp4",format=vs.YUV420P8,alpha=False)

clip = core.std.CropRel(clip, left=128)
clip = core.std.AddBorders(clip, left=128)


Do you get 128 black pixels at the left border? Or still blue?

If black, then the problem is in ffms2. If still blue, then it could be the conversion to RGB (for display), or something in vsedit, or in Qt, or...

Selur
4th March 2018, 14:04
import vapoursynth as vs
core = vs.get_core()
from vapoursynth import core
c = core.ffms2.Source(source='/Users/selur/Desktop/test.mp4')
c = core.std.BlankClip(c)
c.set_output())
gives a blue screen as does:
import vapoursynth as vs
core = vs.get_core()
from vapoursynth import core
c = core.ffms2.Source(source='/Users/selur/Desktop/公演后感言.mp4')
c = core.std.CropRel(c, left=128)
c = core.std.AddBorders(c, left=128)
c.set_output()
-> so the problem isn't with ffms2

Cu Selur

jackoneill
4th March 2018, 15:42
import vapoursynth as vs
core = vs.get_core()
from vapoursynth import core
c = core.ffms2.Source(source='/Users/selur/Desktop/test.mp4')
c = core.std.BlankClip(c)
c.set_output())
gives a blue screen as does:
import vapoursynth as vs
core = vs.get_core()
from vapoursynth import core
c = core.ffms2.Source(source='/Users/selur/Desktop/公演后感言.mp4')
c = core.std.CropRel(c, left=128)
c = core.std.AddBorders(c, left=128)
c.set_output()
-> so the problem isn't with ffms2

Cu Selur

Do you have the same problem with Wobbly (https://github.com/dubhater/Wobbly)? It's another application that uses Qt to display video frames in much the same way as vsedit.

Selur
4th March 2018, 15:46
Do you have the same problem with Wobbly?
No clue. There's no download for mac os and I'm not starting to install Xcode or similar to compile it on my moms mac. :)

l33tmeatwad
5th March 2018, 15:32
Thx for the update!


Is anyone to know how can i solve this issue:
Nice blue haze.....

Here is the script:

import vapoursynth as vs
core = vs.get_core()
from vapoursynth import core
c = core.ffms2.Source(source='/Volumes/MacOSX/Users/macosx/Desktop/1.mkv')
c.set_output()

The blue screen when previewing through VapourSynth Editor is an issue I have on all of my Macbook Pros (2010 and 2011), however others have said they do not have an issue. Changing the monitor profile will make fun things happen but aside from that, I have only seen the blue issue with previewing through VapourSynth Editor on certain Macbook models. VapourSynth R34 is the last revision that did not have this issue for me.

@l33tmeatwad:
Since I couldn't find ffmsindex or d2vwitch I went through all the filters I could think of that are not part of Vapoursynth directly and listed them:
I'll add make sure to add ffmsindex and d2vwitch, as for the others, I'll add when I get the chance. 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...

l33tmeatwad
5th March 2018, 17:11
Do you have the same problem with Wobbly (https://github.com/dubhater/Wobbly)? It's another application that uses Qt to display video frames in much the same way as vsedit.
Yeah, Wobbly has the same issue.

jackoneill
5th March 2018, 17:47
Yeah, Wobbly has the same issue.

The splash image too, or only when you open a video?

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' .

Selur
7th April 2018, 06:38
btw. for those interested I adjusted the scripts over at https://github.com/Selur/VapoursynthScriptsInHybrid to only use eedi3m and znedi3 when they are available and use the default eedi3 and nnedi3 otherwise, so they should work fine with the installer.
simply place them into your '/Library/Frameworks/VapourSynth.framework/lib/python3.6/site-packages/' folder

Cu Selur

l33tmeatwad
8th April 2018, 15:01
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.
The VapourSynth install has it's own python separate from the system python. I can try to get it setup, but I will need some way to test it if you could provide something.

Mad_Hatter
8th April 2018, 16:34
The VapourSynth install has it's own python separate from the system python. I can try to get it setup, but I will need some way to test it if you could provide something.
Sure. Put kagefunc.py (https://github.com/Irrational-Encoding-Wizardry/kagefunc/blob/master/kagefunc.py) into vapoursynth site-packages, create new script importing it and use adaptive_grain(). The script would end up looking like this:
import vapoursynth as vs
from vapoursynth import core
import kagefunc as kgf
src = core.std.BlankClip(format=vs.YUV420P8, length=1000, color=[255, 128, 128])
final = kgf.adaptive_grain(src)
final.set_output()

foxyshadis
10th April 2018, 04:49
Off topic but thanks for pointing me to kagefunc, there's some cool stuff in there.

Mad_Hatter
15th May 2018, 17:51
Is there any update on wobbly addition? Since compiling it manually causes it to fail even with --prefix=/Library/Frameworks/VapourSynth.framework

Selur
15th May 2018, 18:18
afaik l33tmeatwad is out of order atm. due to personal reasons.
Hopefully he'll be back soon.

l33tmeatwad
17th May 2018, 14:52
I will attempt to get back onto adding things to this pack as soon as I can, however some will be more complicated than others as not all are out of the box ready to compile on macOS. Wobbly for example, is not setup in a way to compile to an .app package for macOS, which makes things complicated when it comes to releasing it as part of this package. I have successfully compiled it before and had it working before via command prompt to launch it, but I need to adjust it to work as a .app so it's easier to distribute. The plugins that are more complicated or that refuse to compile will go on the delayed list so I can get as much added as possible and I will revisit the others as I have time to figure them out. If anyone else is able to help compile things that can be added (using macOS 10.10) please contact me, it would a huge help to this project.

Selur
13th June 2018, 18:10
@mods: please close thread and its superseded by
https://forum.doom9.org/showthread.php?p=1844449