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: 1652
  • 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: 1652
  • 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: 1652
  • 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: 1652
  • 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: 1652
  • 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: 1652
  • 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: 6855
  • 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: 6855
  • 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: 8208
  • 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.7 and Fusion Studio under MacOS Mojave 10.14.6
iMac 2017 Radeon Pro 580 8 GB VRAM and 32 GB RAM
2018 Mac mini 16 GB RAM plus eGFX Breakway Radeon RX 580
(currently my test system for DR 17 beta 2 under Catalina 10.15.7)
Offline
User avatar

Dmitry Shijan

  • Posts: 1652
  • 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/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Jul 06, 2020 12:10 pm

Here is another strange little problem:
If i use Config -> Output -> Container Settings -> FFmpeg instead of MP4Box to fix problem with "Hybrid adds additional empty frame to MP4 x264/265 transcoded video" and transcode non interlaced ProRes source to H264 - the final render plays back with strobbing or frame skipping effect inside macOS QuickLook window. Same time in plays back well and smooth in any other video players including macOS QuickTime player.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline

Zack_W

  • Posts: 19
  • Joined: Sat Jun 27, 2020 9:38 pm
  • Real Name: Zack Wilson

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Jul 13, 2020 10:15 pm

Dmitry - thank you for all of your work assembling the QTGMC-VaporSynth-Hybrid package!

You mention in the FAQ that the way to turn off sharpening while using QTGMC to de-interlace footage is to "Export QTGMC preset from Hybrid" and then edit the .json file in TextEdit. I've been unable to find the QTGMC preset; could you let me know how to export it? I'm still running Mac OS X 10.12.6 Sierra in case that makes a difference. (Uli Plank generously tried to help me find this file, but the folder hierarchy on his system differs from mine.)
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Jul 13, 2020 10:29 pm

Exported presets are here:
Image
Image
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Jul 13, 2020 11:06 pm

:idea: Seems it was some bug with new versions of plug-ins that cause deinterlace problems with some settings. Currently as temporary solution it is recommended to download and install older version of MVTools and FFTW dependency from this post https://forum.doom9.org/showthread.php? ... ost1918272
(Have no idea which is more stable MVTools v19 or MVtools v20)

Put and replace libmvtools.dylib plug-in in /Library/Frameworks/VapourSynth.framework/lib/vapoursynth

Put libfftw3f_threads.3.dylib and libfftw3f.3.dylib dependencies to /Library/Frameworks/VapourSynth.framework/lib
Last edited by Dmitry Shijan on Mon Jul 20, 2020 11:59 am, edited 2 times in total.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline

Zack_W

  • Posts: 19
  • Joined: Sat Jun 27, 2020 9:38 pm
  • Real Name: Zack Wilson

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostFri Jul 17, 2020 3:09 am

Thanks Dmitry. Your screenshot helped me figure out my problem. I hadn't realized that I first had to create the QTGMC preset by saving a configuration in the VapourSynth pane. Once I did this, the script showed up in the Hybrid>Profiles>Scripts>VapourSynth folder just as it was supposed to. I also hadn't realized that in order to force Hybrid to utilize the newly edited script with sharpness set to 0.0, I had to select Custom as the preset and then check the Sharpness box. Everything seems to be working properly now, and Hybrid is no longer adding any sharpening.

One other question: I see no difference between the results of using the "slow" preset and the "medium" preset, other than the fact that processing with "slow" takes about 66% longer. Am I missing something? I do see a very slight difference when using the "fast" preset - in frames during which the camera was panning I see just the tiniest loss of resolution of very fine low contrast detail and tiniest bit of artifacting on high-contrast horizontal edges.
Offline

Andrew Kolakowski

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostFri Jul 17, 2020 11:16 am

Difference is there if you compare side by side, but it will be small. It may depend on content nature etc.
You have to figure out which preset is a good compromise between speed vs. quality for you.
Slow and above preset are in most cases overkill. They are good for SD content (specially when you want to upscale later to HD).
Offline

Zack_W

  • Posts: 19
  • Joined: Sat Jun 27, 2020 9:38 pm
  • Real Name: Zack Wilson

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSat Jul 18, 2020 6:41 pm

Any difference is certainly subtle. I could only see the difference with "fast" processing by toggling between matched still frames and looking VERY closely.

My source footage is 1080 60i (actually 59.94 fields per second) AVCHD from a Sony RX 100 Mk1 camera. I'm outputting to 1080 29.97P ProRes 422 HQ, so upscaling is not an issue.

Also, I could see no difference whether or not "Bob" was checked in the Filtering>(De-)interlacing pane. If I understand the tool tips description correctly, QTGMC will create a frame from every field in the source material regardless of whether Bob is checked. The only difference is that if "Bob" is unchecked QTGMC will discard every other frame in order to maintain the original frame rate of the source material, but if "Bob" is checked QTGMC will keep all of the frames, thereby doubling the frame rate of the source material. So I guess it makes sense that still frames looked identical either way, and motion looked identical if I took the 59.94P video created with "Bob" checked and scaled the frame rate back to the original 29.97. Assuming I want to end up with footage having the same frame rate as the original, I'm best off leaving "Bob" unchecked?
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Jul 20, 2020 11:53 am

:arrow: l33tmeatwad just added MVtools v20, v21 and v22 to the downloads (seems they all self contained versions now and don't need libfftw3f_threads.3.dylib and libfftw3f.3.dylib external dependency) https://www.mediafire.com/folder/wvdlnj ... vg8my3xf71

If anyone who had issues with v23 please test and post the results here or in original thread here https://forum.doom9.org/showthread.php? ... ost1918897
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Cary Knoop

  • Posts: 1384
  • Joined: Sun Mar 12, 2017 6:35 pm
  • Location: Newark, CA USA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostWed Jul 22, 2020 12:58 am

Dmitry Shijan wrote:Let's back to topic.
In AviSynth Wilki DeHalo_alpha described as "Very powerful filter to remove edge enhancement artifacts." So seems it is really best filter to go.

I would be very careful using this filter, using it the wrong way destroys more things than it fixes.

A filter that comes close to doing a good dehalo is in the Vine package.

But be prepared to be very patient!

https://github.com/IFeelBloated/Vine
Last edited by Cary Knoop on Sun Aug 09, 2020 9:42 pm, edited 1 time in total.
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostTue Jul 28, 2020 2:24 am

VapourSynth + Plugins + Scripts + Hybrid package update 2020.07.20
Changes:
Updated VapourSynth-R50 installer components.
FFmpeg 4.3.1 (Inside Hybrid.app).
MKVToolNix 48.0.0 (Inside Hybrid.app).
MVTools plug-in downgraded to stable v20 (new self contained version).
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

THIS IS A CRITICAL UPDATE! MVTools plug-in was downgraded to v20 because some reports that newer versions of MVTools (v23) produce problems and freezes during deinterlace.
Make sure you COMPLETELY UNINSTALL OLD VERSION before install this new version.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline

Uli Plank

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostTue Jul 28, 2020 9:19 am

As always: thank you for continued support. Much appreciated!
Resolve Studio 16.2.7 and Fusion Studio under MacOS Mojave 10.14.6
iMac 2017 Radeon Pro 580 8 GB VRAM and 32 GB RAM
2018 Mac mini 16 GB RAM plus eGFX Breakway Radeon RX 580
(currently my test system for DR 17 beta 2 under Catalina 10.15.7)
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSat Aug 08, 2020 6:14 pm

Here is small incompatibility bug that will be fixed in next package release.

Scripts for Hybrid where updated about a month ago and gives error with "Very Slow" or "Placebo" QTGMC deinterlace settings:
Aborting '06_15_03_5110_02_video' due to: ERROR

From developer explanation https://forum.selur.net/showthread.php? ... 29#pid8329
"QTGMC no longer uses fft3dfilter, but neo_FFT3D
So either neo_FFT3D needs to be build or the script needs to be adjusted."

So we just need to wait for updated qtgmc/neo-fftd filter compiled l33tmeatwad.

Anyway i still recommend use "Slow" preset. It is not affected by this problem and it still gives the best speed vs quality ratio.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSun Aug 16, 2020 5:29 pm

Ok, here is what we have for today:
VapourSynth + Plugins + Scripts + Hybrid package update 2020.08.16
Changes:
- VapourSynth-R51
- Updated QTGMC and other scripts for Hybrid 2020_07_11 (Inside Hybrid.app)
- Replaced "neo_fft3d.FFT3D" with "fft3dfilter.FFT3DFilter" in "havsfunc.py" script to make it compatible with legacy fft3dfilter and macOS Mojave.
(New QTGMC scripts provide a lot of bugfixes but use neo_fft3d plug-in instead of legacy fft3dfilter for "Very Slow" and "Placebo" QTGMC deinterlace settings. Currently i avoid neo_fft3d because it works only on macOS Catalina and also seems not stable yet on macOS)
- MKVToolNix 49.0.0 (Inside Hybrid.app)
- lsdvd-0.17 (Inside Hybrid.app updated to x64 version for compatibility with macOS 10.15 Catalina and higher)
- SoX 14.4.2 (Inside Hybrid.app updated to x64 version for compatibility with macOS 10.15 Catalina and higher)
- Updated FAQ.

:arrow: DOWNLOAD from Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing

THIS IS A RECOMMENDED UPDATE! Make sure you COMPLETELY UNINSTALL OLD VERSION before install this new version.

Bonus:
Have no idea why, but VapourSynth Preview window now works perfect!
Image

Also Selur guided by Adamcarter installed macOS virtual machine, so probably soon we may see updated Hybrid.app https://forum.selur.net/showthread.php?tid=1495&page=7 :mrgreen:
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Cary Knoop

  • Posts: 1384
  • Joined: Sun Mar 12, 2017 6:35 pm
  • Location: Newark, CA USA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Aug 17, 2020 1:44 am

Dmitry Shijan wrote:New QTGMC scripts provide a lot of bugfixes but use neo_fft3d plug-in instead of legacy fft3dfilter for "Very Slow" and "Placebo" QTGMC deinterlace settings. Currently i avoid neo_fft3d because it works only on macOS Catalina and also seems not stable yet on macOS

Out of curiosity, why use FFT3D for noise processing as FFT3D removes high-frequency information.
Why not use a non-local denoise filter like KNLMeansCL?
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Aug 17, 2020 9:01 am

I don't know. It is a part of QTGMC script and always was there. It probably used not for basic noise processing but for some specific task in "Very Slow" and "Placebo" presets. It was Hybrid developer's suggestion to use updated scripts but replace neo_fft3d plug-in with legacy fft3dfilter to make things work as before.
If you sure that it is ok to edit script and use KNLMeansCL instead - i can try to experiment with it. But anyway i don't use "Very Slow" and "Placebo" presets in real life.
Hybrid have some additional selection of Denoiser setting, but seems they don't overwrite denoiser in QTGMC script, but used in some other places.

Image
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Cary Knoop

  • Posts: 1384
  • Joined: Sun Mar 12, 2017 6:35 pm
  • Location: Newark, CA USA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Aug 17, 2020 3:15 pm

Dmitry Shijan wrote:I don't know. It is a part of QTGMC script and always was there. It probably used not for basic noise processing but for some specific task in "Very Slow" and "Placebo" presets. It was Hybrid developer's suggestion to use updated scripts but replace neo_fft3d plug-in with legacy fft3dfilter to make things work as before.
If you sure that it is ok to edit script and use KNLMeansCL instead - i can try to experiment with it. But anyway i don't use "Very Slow" and "Placebo" presets in real life.
Hybrid have some additional selection of Denoiser setting, but seems they don't overwrite denoiser in QTGMC script, but used in some other places.

Image

You do not need to edit the script, there is a QTGMC parameter called Denoiser. If you set Denoiser='knlmeanscl' it will use KNLMeansCL.
But perhaps it is hard-coded in Hybrid.
I do not use Hybrid, I was just wondering.
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostMon Aug 17, 2020 3:40 pm

Ok, nice to know this. I just don't experiment with denoiser settings yet and always set it to "auto". Here is how Hybrid settings and VS Script match.
But i notice again - new QTGMC script don't works if i just use Denoiser='knlmeanscl' It keep search for neo_fft3d for some operations and produce error because there is no neo_fft3d plug-in. So the only way to make it work is to edit script and replace all text lines "neo_fft3d.FFT3D" with "fft3dfilter.FFT3DFilter" as Selur suggested.

P.S. Hybrid use UI and generates it's script but you can always see actual script. Also it can read script as .json preset. You can save some settings as .json file, manually edit script code and import to back Hybrid with custom edited settings. This method may be used to overrite some settings and fix bugs. For example bugfix for problem with Sharpness always set to 1.0 described in first post FAQ.

Image
Image
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Cary Knoop

  • Posts: 1384
  • Joined: Sun Mar 12, 2017 6:35 pm
  • Location: Newark, CA USA

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostThu Aug 20, 2020 6:10 pm

Dmitry Shijan wrote:- VapourSynth-R51

You might want to upgrade/downgrade immediately, this version has some nasty bugs that can cause crashes.

R52-RC1 is the latest, to be followed shortly by a full release.
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostThu Aug 20, 2020 6:39 pm

Yep, a serious problem report: Vapoursynth R51 now produces video aliasing output compared to R50 https://github.com/vapoursynth/vapoursynth/issues/625

UPDATE. I can confirm aliasing problem in macOS VS-R51 running with early beta version of Hybrid 2020. Aliasing is visible even with "Slow" preset.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSat Aug 22, 2020 4:19 am

Quick intermediate update for legacy Hybrid 2018:

VapourSynth + Plugins + Scripts + Hybrid package update 2020.08.22
Changes:
- VapourSynth-R50 (because critical errors in VapourSynth-R51)
- mvmulti.py script (Inside Hybrid.app. To fix error with some Denoisers and Sharpeners)
- ffmpeg (Inside Hybrid.app)
- x264 (Inside Hybrid.app)
- FrameCounter (Inside Hybrid.app)

:arrow: DOWNLOAD from Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing

THIS IS A CRITICAL RECOMMENDED UPDATE! Make sure you COMPLETELY UNINSTALL OLD VERSION before install this new version.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSun Aug 23, 2020 8:11 pm

VapourSynth + Plugins + Scripts + Hybrid package update 2020.08.23
Changes:
- VapourSynth-R52
- Updated "havsfunc.py" script to make it compatible with both "neo_fft3d.FFT3D" and legacy "fft3dfilter.FFT3DFilter".
- Added "lostfunc.py" script to fix errors with DeSpot and some other filters.
Updated plug-ins:
- DFTTest (to fix errors with some denoisers and sharpeners)
- EEDI2 (due my mistake it was just missing in package earlier)

:arrow: DOWNLOAD from Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing

THIS IS A CRITICAL RECOMMENDED UPDATE! Make sure you COMPLETELY UNINSTALL OLD VERSION before install this new version.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSat Sep 05, 2020 7:07 pm

VapourSynth + Plugins + Scripts + Hybrid package update 2020.09.07
Image

Changes:

- Hybrid 2020.09.04 (including all internal components and scripts updates)
Hybrid 2020 contains a lot of fundamental internal changes. To avoid preferences conflict you need COMPLETELY UNINSTALL LEGACY HYBRID 2018 VERSION, DON'T LAUNCH THAT LEGACY VERSION ANYMORE and DON'T IMPORT ANY SAVED LEGACY PRESETS TO NEW VERSION:
1. Make screenshots of pages with important Hybrid settings.
2. Delete Hybrid.app from "Applications" folder.
3. Delete presets folder ~/Library/Application Support/Hybrid
4. Delete file ~/Library/Preferences/de.selur.Hybrid.plist

Some improvements in Hybrid 2020 release:
- Almost all internal components updated and now compatible with macOS Catalina and higher.
- GPU OpenCL acceleration support for plug-ins.
- All Denoisers and Sharpeners now works.
- Updated all missing scripts and plug-ins.
- Package include only compatible and stable versions of plug-ins. Each plug-in was tested manually.
- Added option to save preset for "Misc -> Filter Order".
- Added ProRes 4444 XQ compression preset.
- Fixed mistakes in ProRes presets naming.
- Fixed problem with "Hybrid can't passthrough 24bit audio if use default FFmbc muxer.
- Fixed problem with "Jumping/strobing" frames effect when render to MP4 x264 and use "Use FFmpeg muxer instead of FFmbc muxer"
- Fixed problem with MP4 File don't created after render when use "Use FFmpeg muxer instead of MP4box muxer"
- Fixed problem with disabled Sharpness when QTGMC presets in custom mode.
- Fixed problem with too small font size in some Tooltips and Help Info panel.
- Fixed problems with progress info in toolbar during render.
- Fixed a lot of confusions in UI buttons and tabs arrangement logic.

Known problems and limitations:
- Buttons are not too pretty yet.
- Some small confusions in codec settings and preferences names arrangement.
- ffmbc is still legacy 32 bit only and don't compatible with macOS Catalina and higher.
- flac, mencoder/mplayer, oggenc are not updated yet.
- AA Santiag filter with "Type: sangnom" or "Type: selectHV/sangnom/sangnom" don't works yet due SangNom vs SangNomMod namespace conflict.
- Filtering -> ColorMatrix don't works.
Problem Fix: Use only Filtering -> VapourSynth -> Color -> ColorMatrix
- Can't render to x264 default encoding mode: "specific filesize/bitrate (2-pass)"
Problem Fix: Use recommended encoding mode: "constant rate factor (1-pass)"

- List of filters that use only 8-bit depth internal processing: https://forum.selur.net/showthread.php? ... 45#pid8845
- VapourSynth-R52 installer update to support Tiff and Jpeg image sequence import. (You need to install XQuartz https://www.xquartz.org/ to enable image sequence import support)
- Package now include XQuartz-2.7.11 installer
- Added and updated plug-ins:
Dedot, LGhost, Bwdif, RemoveDirt, ReadMpls, DPID, SangNom, TComb, vcmod, vcmove, vctrans, Yadifmod, TempLinearApproximate, JincResize, AddGrain, CTMF, DFTTest, ZNEDI3
CAS (Require macOS 10.15+, but seems works well on 10.14.6)
EdgeFixer (Replacement for legacy ContinuityFixer. EdgeFixer, uses the same namespace as legacy ContinuityFixer, so both cannot be in the autoload directory. Require macOS 10.15+, but seems works well on 10.14.6)
TimeCube (Fixed problem with artifacts due internal incorrect luma range detection)
- Completely updated FAQ


:arrow: DOWNLOAD from Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing

THIS IS A HIGHLY RECOMMENDED UPDATE! Make sure you COMPLETELY UNINSTALL OLD VERSION before install this new version.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostTue Sep 08, 2020 7:24 am

Seems new version of Hybrid can't detect aspect ratio in VOB files.

Also Levels, Tweak, Limiter, HDR10toSDR, ToneMap filters in "Color" tab don't works when TimeCube filter is turned on.
SmoothGrad probably may also don't work but i have no idea how to test that filter, because i can't see any effect it produce.
Hope this bugs will be fixed somewhere in future.

Also seems something was changed or broken in MKVToolNix 50. It gives error "muxing crashed: Crashed with exit status 1"
Do not update manually to MKVToolNix 50 inside Hybrid app contents.
MKVToolNix 49 included in 2020.09.07 package works well.

UPDATE: MKVToolNix 50.0.0.1 downloaded from https://www.fosshub.com/MKVToolNix.html works well now.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostTue Sep 15, 2020 5:22 pm

VapourSynth + Plugins + Scripts + Hybrid package update 2020.09.15

Changes:
- Hybrid 2020.09.15 (including all internal components and scripts updates)
To avoid preferences conflict you need to delete presets folder ~/Library/Application Support/Hybrid from previous Hybrid 2020 version and DON'T IMPORT ANY SAVED LEGACY PRESETS TO NEW VERSION
VIVTC VFM now have Misc option with additional QTGMC filter.
All internal components now compatible with macOS Catalina and higher.
Removed legacy ffmbc component.
Fixed x264 render specific filesize/bitrate (2-pass)
Fixed problem with aspect ratio detection in VOB files.
UI controls for new filters.
Fixed small glitches in UI tabs.
Larger sized Icons.

- A lot of updated Plug-ins.
- Package now includes VulkanSDK 1.2.148.1 (Required by Waifu2x nvk resizer filter)
- Updated FAQ

:arrow: DOWNLOAD from Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing

THIS IS A HIGHLY RECOMMENDED UPDATE! Make sure you COMPLETELY UNINSTALL OLD VERSION before install this new version.
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostFri Sep 18, 2020 10:58 am

VapourSynth + Plugins + Scripts + Hybrid [2020.09.18]

Changes:
- Updated VapourSynth-R52 installer
- Hybrid 2020.09.15 with updated ogg, opus and libraries inside
- Removed waste plugins not used in Hybrid.
- Simplified installation. No need to copy "Scripts" folder because Hybrid use internal scripts folder.
- Updated FAQ
- Also i add VapourSynth plugins list used by Hybrid to first post.

Hybrid 2020.09.15 still have few not too critical bugs described in FAQ, but in newer versions it is impossible to resize UI window and no more "disableIcons=true" option. It feels like huge step back in usability, so i will keep in package "unofficial" Hybrid 2020.09.15 and only may update some internal components in future if available. Sounds sad, but for me personally it feels like another dead end in development of Hybrid on macOS :( More details in this thread https://forum.selur.net/showthread.php? ... 04#pid9204

:arrow: DOWNLOAD package from Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing

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

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSat Sep 19, 2020 9:41 am

Just a small bugfix update info for this version:

Problem: Filtering -> VapourSynth -> Color: Levels and Limiter works incorrectly because due mistake in script they use YUV input instead of RGB. Also some UI controls in these filters adjusted incorrectly yet.
:arrow: Problem fix: Levels and Limiter will work correctly if you apply dummy empty "identify.cube" LUT in TimeCube filter. TimeCube filter outputs RGB and provides proper RGB input for Levels and Limiter. Also you need to use only "Planes: all".

Further illustration of this problem here: https://forum.doom9.org/showthread.php? ... ost1923597

Levels in/out min/max also works correctly only with RGB input. For example default untouched in/out 16-235 video setting and Gamma 0.20 is equal to Gamma -1.00 in DaVinci Resolve. No problem here.
Image

Just for further understanding: VapourSynth Levels filter works similar to any Levels color correction tool in any graphic editor. Here is illustration of Levels filter in Photoshop:
Image
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSat Sep 19, 2020 11:30 pm

Here is quick and easy way to check filter(s) bit depth directly in Hybrid:

1. Download Test Patterns generated in DaVinci Resolve here:
https://www.dropbox.com/sh/bak63hnr7mnpgbj/AAAf-rMK0LvHYTAFjPuQaaxFa?dl=0

2. Import to Hybrid "Test Patterns Resolve 4444 12-bit.mov" or "Ramp Resolve ProRes 4444 12-bit.mov"

3. Move "Color Adjustment" filters group to the bottom of filter chain stack:
Image

4. Adjust min/max input in Levels to something like 99/122. Make sure that "Planes: all" selected:
Image

5. Due bug in Hybrid 2020.09.15 you also need to apply "identity.cube" LUT in TimeCube to provide proper RGB input for Levels:
Image

6. Now zoom-in vsViewer preview with middle mouse click and apply some filter(s). Adjust some random filter settings, check if filter visible in script. If you don't see any changes in gradient steps, it means filter can process 8/10/12/16-bit or 32-bit float internally:
Image

7. Try other filter. If you start to see large steps artifacts in gradient, it means filter use 8-bit only internal processing. In most cases 8-bit only filters designed to remove very specific artifacts in DVD/VOB or similar legacy 8-bit sources, so in reality it is not a big problem. Due quality loss it is just don't recommended to apply filters like this to high bit depth video sources.
Image

----------

8-bit only filters list (tested with Hybrid UI on macOS 10.14.6):
DeGrain -> MLDegrain
DeGrain -> TemporalDegrain
Artefacts -> DeCrawl -> DotKill
Artefacts -> DeCrawl -> DeDot
Artefacts -> DeRainbow -> BiFrost
Artefacts -> DeRainbow -> SSIQ
Artefacts -> DeCross
Line -> AntiAliasing -> SangNomMod (removed from Hybrid due conflict with SangNom)
Line -> Resizer -> Anime4KCPP
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostWed Sep 23, 2020 12:33 pm

VapourSynth + Plugins + Scripts + Hybrid package update [2020.09.23]
Changes:
- Fixed critical problem with incorrect permissions in Hybrid.app internal components.
- Even more easier installation with pkg Installer.
- Hybrid 2020.09.15 including internal components updates 2020.09.22 (updated lame, sox, faac, flac, ffmpeg, tsmuxer)
- Added Waifu2x-w2xc plugin
- Package now includes misc.ini file template to change UI font size and disable icons.
- Updated FAQ

:arrow: DOWNLOAD package from Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing

THIS IS A CRITICAL UPDATE! Make sure you COMPLETELY UNINSTALL OLD VERSION before install this new version.
Image
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSat Oct 10, 2020 4:23 pm

VapourSynth + Plugins + Scripts + Hybrid package update [2020.10.10]
Changes:
- sox downgraded to version 14.4.2 from sourceforge because it appears that newer versions don't compatible with Hybrid UI 2020.09.15 version.
- Hybrid UI 2020.09.15 with internal components updates taken from 2020.10.10.
- Updated FAQ

:arrow: DOWNLOAD package from Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing

This is critical bugfix update. Make sure you COMPLETELY UNINSTALL OLD VERSION before install this new version and delete preferences folder ~/Library/Application Support/Hybrid
All my custom made accessories for BMMCC/BMMSC now available here https://lavky.com/radioproektor/
Offline

Walter Sonius

  • Posts: 80
  • Joined: Wed May 03, 2017 9:53 am

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostTue Nov 10, 2020 8:47 am

Did anyone already do some de-interlace quality comparisons against the new Davinci Resolve 17 Beta Neural Engine assisted de-interlacer?
Offline
User avatar

Dmitry Shijan

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

Re: VapourSynth + QTGMC Deinterlace + Hybrid FAQ for macOS

PostSat Nov 14, 2020 12:20 pm

Walter Sonius wrote:Did anyone already do some de-interlace quality comparisons against the new Davinci Resolve 17 Beta Neural Engine assisted de-interlacer?

Seems it is better than old DaVinci Resolve deinterlacer, but it still nothing close to VapourSynth QTGMC quality and smoothness.
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 15 guests