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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th November 2023, 15:07   #461  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 415
Quote:
Originally Posted by groucho86 View Post
Are these new for Intel only still? Meaning any asm code will not work on M1/M2/M3?
These are still for Intel, I will change the topic once I'm able to get my hands on an ARM Mac and can start compiling for those.
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 1st December 2023, 18:31   #462  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 415
Small update, since I have switched to 10.15 a few plugins that would compile but for some reason wouldn't autoload are now working. I will slowly be updating plugins, however they will only work on macOS 10.15+.
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 4th December 2023, 18:14   #463  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 415
Added VapourSyth Editor r19 mod 6.3 and it will require macOS 10.15 or newer. I have combined Job Server and Job Server watcher into the same app so that it's easier to use and I also included a script to create links to enable vsedit-previewer so that it is accessible from Terminal.
__________________
Github | AviSynth 101 | VapourSynth 101

Last edited by l33tmeatwad; 4th December 2023 at 21:12. Reason: Updated information
l33tmeatwad is offline   Reply With Quote
Old 30th December 2023, 18:03   #464  |  Link
anonymlol
Registered User
 
Join Date: Apr 2013
Posts: 25
I've compiled a few of the plugins and scxvid-standalone (Apple Silicon).

Some of the plugins I couldn't compile (errors here and there...)

I have tested scxvid-standalone and it works fine. I didn't have time to test the plugins yet.

Plugins

Last edited by anonymlol; 31st December 2023 at 17:47.
anonymlol is offline   Reply With Quote
Old 3rd January 2024, 17:09   #465  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 415
Quote:
Originally Posted by anonymlol View Post
I've compiled a few of the plugins and scxvid-standalone (Apple Silicon).

Some of the plugins I couldn't compile (errors here and there...)

I have tested scxvid-standalone and it works fine. I didn't have time to test the plugins yet.

Plugins
Awesome! One thing I would recommend is that you fix your dependancies, for example BestAudioSource is looking for the ffmpeg libs in "/opt/homebrew/opt/ffmpeg/lib/", you should compile the ffmpeg static libs instead so they are built in and BAS don't need them. You can use otool -L to check the libs plugins are using. Anything in /usr/lib is fine as all systems share those. Also, I would recommend compiling the minimum version as 11 for compatibility.
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 3rd January 2024, 18:53   #466  |  Link
anonymlol
Registered User
 
Join Date: Apr 2013
Posts: 25
I really should have read your setup post till the end. Thanks for the advice. I'll read up on it and try again.

Can you tell me how you compiled VSEdit? Whenenver I compile it, it's full of bugs and can't find the library/plugins directory.

I'm also getting an error when compiling libass (following your guide). Something about the 'freetype' version being too low.
anonymlol is offline   Reply With Quote
Old 3rd January 2024, 19:13   #467  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 415
Unfortunately I don't get any errors so it may be that some code might need to be changed for ARM. As for finding the plugins directory, did you install VapourSynth via Brew?
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 3rd January 2024, 19:54   #468  |  Link
anonymlol
Registered User
 
Join Date: Apr 2013
Posts: 25
I tried brew, but then it also wouldn't find the plugins even though I followed the instructions in your first post.

Your installer is the only thing that works. Even compiling VapourSynth + VSEdit myself (following your guide), it can't find/load the plugins.
anonymlol is offline   Reply With Quote
Old 3rd January 2024, 20:21   #469  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 415
Did you manually create the default plugins path? Since VapourSynth doesn't come with any plugins anymore it doesn't create it by default.
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 4th January 2024, 18:14   #470  |  Link
anonymlol
Registered User
 
Join Date: Apr 2013
Posts: 25
I see, maybe I made a mistake somewhere with the folders. I'll experiment a bit.

The installer creates the folders in a different location than your instructions on the first post. Maybe I should try the same location as the installer.

Installer folder locations:
Code:
VS Plugins
/Library/Frameworks/VapourSynth.framework/lib/vapoursynth

VS Scripts
/Library/Frameworks/VapourSynth.framework/lib/python3.11/site-packages

VS Libraries
/Library/Frameworks/VapourSynth.framework/lib

VS Executables
/Library/Frameworks/VapourSynth.framework/bin
And for brew (according to first post)
Code:
ln -s /usr/local/lib/vapoursynth $HOME/Desktop/VapourSynth/Plugins
ln -s /usr/local/lib/python3.9/site-packages $HOME/Desktop/VapourSynth/Scripts
anonymlol is offline   Reply With Quote
Old 4th January 2024, 18:17   #471  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 415
So /usr/local/lib/VapourSynth is the default autoload path. Normally I'll create a symbolic link because I create a framework as opposed to a regular install so updates don't break the install.

EDIT: I just realized you left out the first part for brew users:
Code:
mkdir -p /usr/local/lib/vapoursynth
mkdir -p "$HOME/Library/Application Support/VapourSynth"
touch "$HOME/Library/Application Support/VapourSynth/vapoursynth.conf"
echo UserPluginDir=/usr/local/lib/vapoursynth >> "$HOME/Library/Application Support/VapourSynth/vapoursynth.conf"
echo SystemPluginDir=/usr/local/lib/vapoursynth >> "$HOME/Library/Application Support/VapourSynth/vapoursynth.conf"
__________________
Github | AviSynth 101 | VapourSynth 101

Last edited by l33tmeatwad; 4th January 2024 at 19:00. Reason: Updated
l33tmeatwad is offline   Reply With Quote
Old 4th January 2024, 21:45   #472  |  Link
anonymlol
Registered User
 
Join Date: Apr 2013
Posts: 25
Yeah I skipped it on purpose because I didn't want to make the post unnecessarily long.

I'll have a closer look at everything when I have more time.

For now I'd like to share my new (quick and dirty) script to automate the first part of your guide (setting up tools). I'll do the rest (setting up the vs framework) later.

edit: updated script is now on github
edit2: finally done on the script to build vapoursynth framework, see here
edit3: libass works now, it failed before because it was missing: PKG_CONFIG_PATH=/Library/Frameworks/VapourSynth.framework/lib/

Btw, VSEdit still throws errors. The folders and links are created via the script according to your instruction post.
Quote:
VapourSynth plugins manager: Failed to load vapoursynth library!
Please set up the library search paths in settings.
Failed to load vapoursynth script library!
Please set up the library search paths in settings.
Failed to load vapoursynth script library!
Please set up the library search paths in settings.

Last edited by anonymlol; 12th January 2024 at 12:43.
anonymlol is offline   Reply With Quote
Old 17th January 2024, 22:19   #473  |  Link
anonymlol
Registered User
 
Join Date: Apr 2013
Posts: 25
From your post here
Quote:
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/libvapoursynth.dylib /usr/local/lib/libvapoursynth.dylib
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/libvapoursynth-script.dylib /usr/local/lib/libvapoursynth-script.dylib
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/libvapoursynth-script.0.dylib /Library/Frameworks/VapourSynth.framework/lib/libvapoursynth-script.0.dylib
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/vapoursynth /usr/local/lib/vapoursynth
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/pkgconfig/vapoursynth.pc /usr/local/lib/pkgconfig/vapoursynth.pc
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/pkgconfig/vapoursynth-script.pc /usr/local/lib/pkgconfig/vapoursynth-script.pc
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/vspipe /usr/local/bin/vspipe
sudo ln -s /Library/Frameworks/VapourSynth.framework/include/vapoursynth /usr/local/include/vapoursynth
This is probably a bug (same path). I guess it's supposed to be:
Quote:
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/libvapoursynth-script.0.dylib /usr/local/lib/libvapoursynth-script.0.dylib
I still can't get plugin autload to work (in vsedit). Any idea what I'm doing wrong/missing? (My build script)
The vapoursynth.conf file doesn't help either. And I noticed your installer doesn't even create it. How did you solve the autload issue? Or did you do something special when compiling vsedit?

Last edited by anonymlol; 17th January 2024 at 22:43.
anonymlol is offline   Reply With Quote
Old 22nd January 2024, 15:45   #474  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 415
Ah, yeah that is a mistake, I'll get that fixed up. As for you script, I'll try to take a look over it soon, been super busy lately so it might take a minute to look into, nothing is looking super off from the quick glance I took.
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 13th March 2024, 17:33   #475  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 415
The R66 installer is now available.
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 24th May 2024, 21:59   #476  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 415
I forgot to post before, but the installers for R67 & R68 are up.
__________________
Github | AviSynth 101 | VapourSynth 101

Last edited by l33tmeatwad; 17th July 2024 at 02:58.
l33tmeatwad is offline   Reply With Quote
Reply

Tags
meatwadismagical, meatwadthegreat

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.