VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

Do you have questions about Desktop Video, Converters, Routers and Monitoring?
  • Author
  • Message
Offline
User avatar

Dmitry Shijan

  • Posts: 1455
  • Joined: Wed Sep 17, 2014 7:15 pm
  • Location: UA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostThu Jun 11, 2020 2:40 pm

Hybrid and VapourSynth are native 64bit apps. They should work on Catalina, but you need somehow bypass stupid additional Catalina quarantine and security checks for apps downloaded outside of AppleStore or something similar... https://forum.selur.net/showthread.php?tid=1224
http://www.vapoursynth.com/discussion/#comment-17537

I experiment earlier with turning on OpenCL support in some filters, but seems GPU processing don't work on macOS version.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline

PDCarter

  • Posts: 7
  • Joined: Thu Jun 11, 2020 1:57 pm
  • Real Name: Douglas Carter

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostThu Jun 11, 2020 10:13 pm

Thank you for the reply.

On further tinkering it seems that I actually CAN use vapoursynth now. Maybe your install did this or all of the crazy stuff I was trying to compile it all from source code did it.

For the curious, I was able to take an example VPY text file that I had been trying on Windows install and utilize the vpipe command in the macOS terminal to ffmpeg.

The result was a 29.97FPS interlaced mpeg2 file going thru QTGMC “Very Slow” preset writing out to 59.94 ProRes profile 2 with 16bit uncompressed audio QuickTime file at ~45fps processing on the MacPro. The CPUs were all showing heavy use but the GPU was very much idle.

I’m a pretty tech savvy enough guy to read and install things but I kept getting messed up with clang errors and openmp errors. The list of installed software was staggering just to get to THAT point.

I just want to deinterlace, it really should not be this difficult to do this.


[[ I made myself these notes to get full root access to macOS Catalina so that I could try all these things ]]

*** This makes your system ’insecure’ so handle with care ***

macOS Catalina FULL disk access (root)

Boot into recovery mode:

* hold CMD+R till Apple Logo
* Go to utilities -> Terminal
* In terminal type: csrutil disable
* Reboot to normal mode

In normal mode open terminal and type these separate commands:

Gives write access to root volume in current boot:
sudo mount -uw /

Allow install apps from third party developers:
sudo spctl --master-disable

Disable GateKeeper turning back on after 30 days:
sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool NO

Disable quarantine for downloaded apps:
sudo defaults write com.apple.LaunchServices LSQuarantine -bool NO
Offline
User avatar

Dmitry Shijan

  • Posts: 1455
  • Joined: Wed Sep 17, 2014 7:15 pm
  • Location: UA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSat Jun 13, 2020 1:14 am

VapourSynth + Plugins + Scripts + Hybrid package update 2020.06.13
Changes:
D2V Witch v4
FFmpeg 4.2.3 (Inside Hybrid.app)
MKVToolNix 47.0.0 (Inside Hybrid.app)
Updated plug-ins: BM3D, DCTFilter, DFTTest, EEDI3m, FFT3DFilter, MVTools, NNEDI3CL
Updated FAQ

:arrow: DOWNLOAD from Dropbox: https://www.dropbox.com/sh/hzy3f0zyuyu4 ... O5zla?dl=0
:arrow: DOWNLOAD from Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

  • Posts: 1455
  • Joined: Wed Sep 17, 2014 7:15 pm
  • Location: UA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Jun 22, 2020 8:18 pm

VapourSynth + Plugins + Scripts + Hybrid package update 2020.06.22
Changes:
Updated VapourSynth-R50 installer components to work with FFmpeg 4.3.0
FFmpeg 4.3.0 (Inside Hybrid.app)
Updated plug-ins: AddGrain, Descale, Fix Telecined Fades, HQDN3D, MinSharp, QRCodeSource, RemapFrames, Retinex, SangNom, SCrawl, SmoothUV, TCanny, ToneMap,VideoScope, W3FDIF, MiniDeen, SceneChange, SurfaceBlur, TimeCube, tc2cfr, TNLMeans (updated plug-ins are now self contained with all required libraries, so there is no need to install additional .dylibs dependencies to /Library/Frameworks/VapourSynth.framework/lib/).
Updated FAQ.

:arrow: DOWNLOAD from Dropbox: https://www.dropbox.com/sh/hzy3f0zyuyu4 ... O5zla?dl=0
:arrow: DOWNLOAD from Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing

Make sure you COMPLETELY UNINSTALL OLD VERSION before install new version.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline

PDCarter

  • Posts: 7
  • Joined: Thu Jun 11, 2020 1:57 pm
  • Real Name: Douglas Carter

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Jun 29, 2020 3:14 pm

Thank you for your work updating this package.

I would like to attempt to use it again vs my messed up home-brew install attempts.

Do you have a resource somewhere that details how to completely remove everything in order to start over - besides reinstalling the whole operating system?
Offline
User avatar

Dmitry Shijan

  • Posts: 1455
  • Joined: Wed Sep 17, 2014 7:15 pm
  • Location: UA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Jun 29, 2020 8:56 pm

PDCarter wrote:Do you have a resource somewhere that details how to completely remove everything in order to start over - besides reinstalling the whole operating system?


1. Make hidden files and folders visible by pressing CMD + SHIFT + .
Image

2. Delete these directories:
/usr/local/lib/vapoursynth
$HOME/Library/Application Support/VapourSynth

3. Uninstall Homebrew if you don't need it anymore https://osxdaily.com/2018/08/12/how-uni ... ebrew-mac/

4. Download EasyFind app https://www.devontechnologies.com/apps/freeware and do a deep search for additional hidden files and folders for "VapourSynth" and "Homebrew" to delete them.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

  • Posts: 1455
  • Joined: Wed Sep 17, 2014 7:15 pm
  • Location: UA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostWed Jul 01, 2020 6:43 am

Hybrid works OK for basic deinterlace operations with ProRes input and output, but it is still slightly outdated and buggy because developer lost interest to macOS development in 2017. Same time VapourSynth and plug-ins for macOS are recently updated.
:arrow: Last week Selur (Hybrid developer) on the forums noticed that he may change his mind, and may setup Mac virtual machine to continue development on macOS version.
Hybrid is more like hobby project, it is a free and not too advertised tool that is supported by community donations https://forum.selur.net/showthread.php?tid=2 I guess if developer will see that more people interested in macOS version, it may stimulate him to update macOS version faster. He explained on forums that there is nothing special in macOS code of the Hybrid, and that he compile it from same source as Windows version, but he just has no Mac computer for that.

:arrow: So i can only urge to send a donations to developer with notice in PayPal transaction that you are interested in update for macOS.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline

PDCarter

  • Posts: 7
  • Joined: Thu Jun 11, 2020 1:57 pm
  • Real Name: Douglas Carter

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostWed Jul 01, 2020 2:47 pm

I removed everything and started again - that EasyFind is a great utility!

Okay, so now I'm only focusing on trying to get this install package working.

Trying to launch Hybrid fails with: ffmbc

I checked and it is 32bit which is why I'm sure it isn't working in Catalina. Eventually this all has to get resolved since Big Sur will have the same issues and beyond.

Thankfully most things in the package are 64bit, the only other things I could find immediately are:

- ffmbc
- lsdvd
- sox

pretty much everything else shows 64bit so I'm wondering how to get these 3 recompiled for 64bit as it may allow the software to load up and work
Offline
User avatar

Dmitry Shijan

  • Posts: 1455
  • Joined: Wed Sep 17, 2014 7:15 pm
  • Location: UA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostWed Jul 01, 2020 2:50 pm

Yes, there where some reports on other forum about ffmbc error. Seems you find a source of this problem. ffmbc is a native muxer for mov container. As a workaround it was suggested try disabling "Config->Output->Container Settings->FFmbc for .mov muxing" before creating the job.

I personally use 10.14.6 because i have a lot of 32 bit apps and plug-ins.

Selur wrote:ffmbc -> used for mov muxing (ffmpeg can be used instead, but might be less compatible with some editing tools)
lsdvd -> used for DVD input
sox -> needed for audio processing
All those can be compiled with 64bit and Hybrid should have no problem with them being 64bit.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline

PDCarter

  • Posts: 7
  • Joined: Thu Jun 11, 2020 1:57 pm
  • Real Name: Douglas Carter

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostWed Jul 01, 2020 5:23 pm

I temporarily removed the 32bit executables from the .app folder structure which allowed Hybrid to attempt to continue loading.

It looks like an endless stream of issues that will continue to arise from lack of 32bit support.

Now I am getting many org.qt-project.QtCore errors which tells me that the actual Hybrid interface must be using Qt to draw its interface. It seems this is currently 32bit as well on this build package and will not open.

D2Witch will open, but as soon as you try to index a video file it crashes with whatever executable it was trying to invoke (likely 32bit).

I simply cannot install Mojave on a 2019 Mac Pro tower so that isn't an option.

Also, I don't want to use a virtual machine to install Mojave because this doesn't do any good for trying to get acceleration from this machine.

I think the answer is getting a full 64bit-only rebuild of everything in the package so that it can function in the years ahead.

Also, in another thread I REALLY like the idea of an OFX plugin for at least QTGMC so that the majority of all of this can be sidestepped in favor of a plug-in that could function to end users in a much better fashion.

Who do I need to throw money at to make this happen? LOL

Hey Blackmagic...can you include QTGMC along side the deinterlace plugins sitting in Fusion already (that can already separate fields etc) ?

Maybe there's a way to grab the math out of QTGMC scripts and apply them in the deinterlace custom fields in Fusion...hmmmm
Offline

Andrew Kolakowski

  • Posts: 6561
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostWed Jul 01, 2020 6:08 pm

QTGMC is a monster script which uses many separate plugins. I asked to make a single dll just for avisynth or vapoursynth and no one was even close to be interested :D I don't think money will help much- it's just an insane task.
Offline

Andrew Kolakowski

  • Posts: 6561
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostWed Jul 01, 2020 6:10 pm

PDCarter wrote:
Hey Blackmagic...can you include QTGMC along side the deinterlace plugins sitting in Fusion already (that can already separate fields etc) ?

Maybe there's a way to grab the math out of QTGMC scripts and apply them in the deinterlace custom fields in Fusion...hmmmm


There is no easy (or at all) way as QTGMC is just a script which uses many separate plugins.

For BM easier way is to talk to Cinnafilm people and produce plugin for their tool, which is also very good. In this case problem would be cost as Tachyon's math is expensive and it also eats a lot of GPU resources.

BM has good enough math under their own motion adaptive engine- they just need to polish it and properly apply for deinterlacing needs.
Offline

Uli Plank

  • Posts: 7020
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostWed Jul 01, 2020 6:54 pm

Since QTGMC is running pretty well on a few CPU cores too, just keep an older Mac under High Sierra or Mojave.
Resolve Studio 16.2.2 and Fusion Studio under MacOS Mojave 10.14.6
iMac 2017 Radeon Pro 580 8 GB VRAM and 32 GB RAM
Mac mini 16 GB RAM plus eGFX Breakway Radeon RX 580
Offline
User avatar

Dmitry Shijan

  • Posts: 1455
  • Joined: Wed Sep 17, 2014 7:15 pm
  • Location: UA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostThu Jul 02, 2020 1:47 am

Ok, now it is clear that Hybrid have too many outdated components to run on macOS 10.15. It works well on 10.14. VapourSynth and Hybrid is a complicated system of scripts plugins and different internal apps and in most cases it is impossible just remove or replace something without damage.

Current thread is more like customer oriented. It is for deinterlace workflow and further integration with Resolve post processing. Even it we find some code related bug here, there is not so many things that we can do to fix it.
:arrow: For some more technical questions, donations and macOS development requests it is better to connect developer directly on Selur's Little Message Board at similar VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS thread here https://forum.selur.net/showthread.php?tid=1279
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Previous

Return to Post Production

Who is online

Users browsing this forum: No registered users and 8 guests