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. |
|
|
Thread Tools | Search this Thread | Display Modes |
27th November 2019, 17:09 | #46 | Link |
Registered User
Join Date: Apr 2011
Location: Hungary
Posts: 8
|
Installing on Catalina
Hi Folks,
I'm an experienced AviSynth user and now I've tried to install VapourSynth on Catalina using brew. Used the method recommended by l33tmeatwad (creating autoload folders, Gatekeeper disabled). Installed ffms2 using brew, as brew recommended during VapourSynth install. Installed a few plugins in the autoload folder. But, when I try to start the most basic scripts in VapourSynth Editor: Code:
from vapoursynth import core video = core.ffms2.Source(source='/Users/karesch/Movies/gabor.vob') video = core.std.Transpose(video) video.set_output() Code:
Traceback (most recent call last): File "src/cython/vapoursynth.pyx", line 1946, in vapoursynth.vpy_evaluateScript File "src/cython/vapoursynth.pyx", line 1947, in vapoursynth.vpy_evaluateScript File "", line 2, in File "src/cython/vapoursynth.pyx", line 1679, in vapoursynth._CoreProxy.__getattr__ File "src/cython/vapoursynth.pyx", line 1539, in vapoursynth.Core.__getattr__ AttributeError: No attribute with the name ffms2 exists. Did you mistype a plugin namespace? Code:
/usr/local/lib/vapoursynth Code:
ffmsindex libfft3dfilter.dylib finesharp.py libfftw3f.3.dylib havsfunc.py libfftw3f_threads.3.dylib libavcodec.58.dylib libmiscfilters.dylib libavformat.58.dylib libmorpho.dylib libavresample.4.dylib libmvtools.dylib libavutil.56.dylib libnnedi3.dylib libd2vsource.dylib libremovegrain.dylib libdeblock.dylib libswscale.5.dylib libdepan.dylib libvinverse.dylib libeedi3.dylib libvivtc.dylib libffms2.4.dylib nnedi3_weights.bin libffms2.dylib Thanks a lot for help. update: found a solution, now it works Apparently The issue was that a few dylib files were not set executable by brew. Last edited by karesch; 27th November 2019 at 18:13. |
30th December 2019, 06:32 | #48 | Link |
Registered User
Join Date: Aug 2019
Posts: 3
|
Newbie Needing Help With Deinterlacing on Mac
Hello,
I've come to this forum because I need to deinterlace some SD video, and upscale it to HD. As I'm sure you know the built in deinterlacers in video editors produce quite severe jaggies, and I'm looking for a better result. However I am not a programmer, and I feel overwhelmed by the in this new environment. What I'm writing to ask if there's anyone who would be willing to do some hand holding, to help me install the software and run a script to get a high quality deinterlace. I am running macOS 10.13 Thank you in advance. Apologies if I have posted in the wrong place, I'm new to the forums and wasn't sure where else to post. |
2nd January 2020, 20:53 | #49 | Link | |
Registered User
Join Date: Jun 2007
Posts: 414
|
Quote:
|
|
29th January 2020, 11:24 | #51 | Link | |
Registered User
Join Date: Aug 2019
Posts: 3
|
Newbie Needing Help With Deinterlacing on Mac
Quote:
import vapoursynth as vs core = vs.get_core() video = core.ffms2.Source(r'/Volumes/music/forencoding/gabrielle.mov') video.set_output() When I attempt the following script (which I have simply copied from your thread).. import vapoursynth as vs core = vs.get_core() import havsfunc as haf clip = core.ffms2.Source(source="/Volumes/music/forencoding/gabrielle.mov") clip = core.resize.Bicubic(clip=clip,format=vs.YUV422P8) deint = haf.QTGMC(clip, Preset='Fast', TFF=True) deint.set_output() I get the following error: Failed to evaluate the script: Python exception: Resize error: Matrix must be specified when converting to YUV or GRAY from RGB Traceback (most recent call last): File "src/cython/vapoursynth.pyx", line 1847, in vapoursynth.vpy_evaluateScript File "/Users/macbook/Desktop/first script.vpy", line 16, in File "src/cython/vapoursynth.pyx", line 1739, in vapoursynth.Function.__call__ vapoursynth.Error: Resize error: Matrix must be specified when converting to YUV or GRAY from RGB What I am trying to achieve is the highest quality deinterlace. I am not requiring any other functionality. Deinterlacing is my only goal. Can you please walk me through the steps, in language that would suit somebody who is completely over his head (filmmaker not programmer)? Also does the AMV pack include QTGMC, which I understand is the best deinterlacer? Thank you so much. |
|
29th January 2020, 13:05 | #52 | Link | |
Registered User
Join Date: Sep 2018
Posts: 14
|
Quote:
core.resize.Bicubic(clip=clip,format=vs.YUV422P8, matrix_s="709") |
|
29th January 2020, 20:05 | #54 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Poke the script authors too, proper checks are more helpful.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
20th March 2020, 07:10 | #56 | Link |
Registered User
Join Date: Mar 2020
Posts: 134
|
l33tmeatwad, i would like to appreciate you for sharing those plugins and installer packages. This definitely simplifies a lot of things.
As a new user, i attempt to connect VapourSynth to Hybrid.app on macOS and expect to use QTGMC deinterlace. I must admit that it was rather complicated adventure. I spend more than week to collect info from endless different forums to make it work. In the end i create package and guide that finally just works out of box: VapourSynth + QTGMC Deinterlace + Hybrid UI FAQ for macOS. Currently it discussed and tested here https://forum.selur.net/showthread.p...d=6894#pid6894 and here https://forum.blackmagicdesign.com/v...p?f=3&t=109259 I also have huge request for your VapourSynth Installer - Please include all plugins and Hybrid scripts inside. It is total pain to download plugins one by one from Mediafire (it don't allow folder download for free). People just lost inside those endless folders, versions and variations of Plugins and scripts, and this is the main source of problems: Missing Plugins, Missing Dependencies, Dependencies placed in wrong folder, Missing, Scripts, Wrong location, Alias link deleted by accident, Original .dylib file replaced and Alias link no more works. Error, Error, Error. Why don't just include into VapourSynth installer all possible plugins, dependencies and scripts so it will work for any possible task and with any possible UI wrapper without additional adjustment? Full plugins package weights only 50MB but may save weeks and months of wasted time. P.S. Hybrid is no more developed for macOS, but it still works ok. As you may see in Hybrid forum, i was able to update FFmpeg and MKVToolNix inside Hybrid. Selur also suggsted to update MP4Box binary and .dylib files, but he is not sure which files are safe to replace on macOS. Maybe you can suggest something here: https://forum.selur.net/showthread.p...d=6903#pid6903 |
20th March 2020, 15:22 | #57 | Link |
Registered User
Join Date: Jun 2007
Posts: 414
|
I originally had started out with all the plugins compiled into one package, but that is a bit much if someone just wants to just upgrade VapourSynth. I understand it can be a pain to download all the plugins individually, however unless I find a better way to host them it is just how it has to be for now.
The installer was made with the software Packages, my recommendation to make it easier for others to use Hybrid would be to create a companion installer that has the dependencies and places them where they need to go. If you want I am more than happy to help you get started and answer any questions. I'm involved in a lot of different things and I just don't have the capacity to cater to every software that has certain dependancies, I actually haven't had enough time to keep up to date with all the plugins since no one else is contributing at this time. As for upgrading stuff, I would not recommend replacing system files at all, I would replace things either in the app itself or self contain them like I did with the VapourSynth installer and create link files if needed. Dependency locations for dylib files can actually be changed, if you need any help with this feel free to contact me as I know it can get a bit complicated trying to avoid replacing anything on the system level. |
21st March 2020, 09:21 | #58 | Link |
Registered User
Join Date: Mar 2020
Posts: 134
|
For those who just wants to upgrade VapourSynth, you may add option to installer to select VapourSynth with basic plugins or VapourSynth with all plugins selected with checkboxes. It is so simple. Almost every Mac installer pkg have option like this.
New versions of FFmpeg and MKVToolNix i replaced inside Hybrid works just great. Few people on forums (including me) tested it over week without any issues. The main reason for me to use updated FFmpeg - is updated version of ProRes codec with a lot of bugfixes. As i understand MP4Box is sort of h264 related part so it is less critical for me. If replacing dylib files is not safe, let's keep things without changes yet. |
21st March 2020, 09:30 | #59 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
to clarify about the .dylib files: the files I meant are not system files but files inside the MacOS folder of the Hybrid.app which would only influence tools in the Hybrid MacOS folder not system wide, so only thin that can break through replacing them is a tool in the Hybrid MacOS folder to not work
|
28th March 2020, 20:27 | #60 | Link |
Registered User
Join Date: Jun 2007
Posts: 414
|
VapourSynth R49 installer is now up with Zimg updated to 2.9.3 and Python updated to 3.7.6. Make sure to backup any added scripts from site-packages before installing as it will remove the Python 3.6 folders. You can access the site-packages folder from the "Add Scripts" shortcut in the VapourSynth desktop folder.
UPDATE: I may update this for Python 3.8 later, however I wanted to go ahead and get this out there and I had already updated my framework to 3.7 and knew it worked. Last edited by l33tmeatwad; 28th March 2020 at 20:36. Reason: Updated Information |
Tags |
meatwadismagical, meatwadthegreat |
|
|