This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[GUIDE] VapourSynth + QTGMC Deinterlace + Hybrid UI FAQ for macOS
#1
Video 
This VapourSynth + Plugins + Scripts + Hybrid [2020.03.29] DMG package includes:
VapourSynth-R49
downloaded from https://forum.doom9.org/showthread.php?t=175522
All VapourSynth Plugins, Dependencies and Libraries
downloaded from https://forum.doom9.org/showthread.php?t=175522
D2V Witch v2 (it required by Hybrid to process VOB files and DVDs)
downloaded from https://forum.doom9.org/showthread.php?t=175522
JESExtensifier 3.0.5 (it helps to change aspect ratio and other metadata tags inside .MOV container)
downloaded from http://jes.weiss.no
Hybrid 2018.08.05.1 (with updates)
downloaded from https://www.videohelp.com/software/Hybrid
Updates installed inside Hybrid:
Scripts for Hybrid
downloaded from https://github.com/Selur/VapoursynthScriptsInHybrid
FFmpeg 4.2.2
downloaded from https://evermeet.cx/ffmpeg/
MKVToolNix-44.0.0
downloaded from https://www.videohelp.com/software/MKVToolNix

Arrow DOWNLOAD HERE: https://www.dropbox.com/sh/hzy3f0zyuyu4y...O5zla?dl=0

[Image: Dp8eCAj.jpg]


Quick FAQ for Beginners:

VapourSynth http://www.vapoursynth.com/ is a cross-platform Open Source application for video manipulation with command line interface. It also can be used as a plugin inside other video editing apps, video players and UI wrappers. It require Python https://www.python.org/ environment to work. VapourSynth support external Plugins (.dylib extension on macOS) http://www.vapoursynth.com/doc/pluginlist.html Some plugins may require additional Dependencies Libraries (also .dylib extension on macOS). It also may require external Script files (.py extension) to automate some processes.
Current version of VapourSynth (including Python, Plugins, Dependencies Libraries and Scripts) is wrapped inside single Framework container. On macOS it is installed to:
/Library/Frameworks/VapourSynth.framework
Dependencies Libraries installed to:
/Library/Frameworks/VapourSynth.framework/lib/
External Plugins installed to:
/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/
Scripts installed to:
/Library/Frameworks/VapourSynth.framework/lib/python3.7/site-packages/
Some legacy apps may read Dependencies Libraries and Pugins from legacy location:
/usr/local/lib/
Currently to fix this incompatibility problem VapourSynth installs to that directory special alias links from "libvapoursynth-script.dylib" and "libvapoursynth.dylib" files.

QTGMC http://avisynth.nl/index.php/QTGMC is a series of scripts for VapourSynth that combine chain of different plugins and produce Motion Compensation deinterlace with double frame rate and amazing artifacts-free quality.

Hybrid http://www.selur.de/ is a cross-platform UI wrapper for VapourSynth and a bunch of other video tools http://www.selur.de/licence It use well known FFmpeg library https://evermeet.cx/ffmpeg/ to read and write ProRes MOV files as well as many other file types. Starting from 2018 Hybrid is no more updated for macOS, but seems it still works well on macOS 10.14.6. Some important components like FFmpeg and MKVToolNix located inside Hybrid.app can be easily updated manually.
Hybrid combines a lot of video tools inside but it don't contains pre-installed VapourSynth. To make QTGMC work you need to install and adjust VapourSynth with all required plugins and scripts separately.

[Image: ebv2b2m.jpg]


Prepare to Installation FAQ:

Do NOT install VapourSynth with Homebrew https://brew.sh/. It seems Homebrew installation scripts are outdated and some sources don't compiled as they should.
Do NOT mix it with other VapourSynth versions or with different installers made by other people.
If you use any other VapourSynth installations before - delete old versions before install this one.

Disable SIP (System Integrity Protection):
Restart computer
Hold down Command-R to reboot into Recovery Mode
Click Utilities, select Terminal and type:
csrutil disable
Press Return or Enter on keyboard and restart computer

Allow install apps from unidentified developers by typing in Terminal:
sudo spctl --master-disable
Press Return or Enter on keyboard.
Type your password.
Press Return or Enter on keyboard.

Disable Gatekeeper turning back on automatically after 30 days by typing in Terminal:
sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool NO
Press Return or Enter on keyboard.
Type your password.
Press Return or Enter on keyboard.

Disable quarantine for downloaded apps by typing in Terminal:
sudo defaults write com.apple.LaunchServices LSQuarantine -bool NO
Press Return or Enter on keyboard.
Type your password.
Press Return or Enter on keyboard.

For more details see additional FAQs:
https://www.imore.com/how-open-apps-anyw...and-mojave
https://www.imore.com/how-turn-system-in...tion-macos
https://apple.stackexchange.com/question...-on-mojave
https://apple.stackexchange.com/question...t-to-the-t

I personally recommend to use 10.14.6 Mojave and don't see any practical reason move to macOS 10.15 Catalina with insane security restrictions on every step and without 32-bit apps support.


Installation FAQ:

1. Open VapourSynth + Plugins + Scripts + Hybrid [2020.03.29] DMG package
2. Install "VapourSynth-R49.pkg"
3. Open "Apps" folder and move all .app files to "Applications" alias
4. Open "Scripts" folder and move all .py files to "site-packages" alias
5. Open "Dependencies" folder and move all .dylib files to "lib" alias
6. Open "Plugins" folder and move all .dylib files and nnedi3_weights.bin file to "vapoursynth" alias

VapourSynth installer creates "VapourSynth" folder on your Desktop with quick alias links to Plugins, Dependencies, Scripts and Uninstall script. You can move this folder to any location, if you want to keep it.

When you start Hybrid first time, it may give you a message: “Hybrid.app” can’t be opened because the identity of the developer cannot be confirmed.
[Image: F4dYAia.jpg]
To fix this problem go to "Applications" folder, mouse right-click on "Hybrid.app", select in menu "Open", and next press "Open" button in pop-up window.
[Image: pwOBusH.jpg]
Sometimes after installing new plugins or doing other internal changes "Hybrid" may force quit after start. Just open it again and it should work well.


Usage FAQ:

Filtering -> QTGMC (Vapoursynth)
Filtering -> Overwrite input scan type to: (For Hi8 tape sources set it to "Top Field List", For DV tape sources set it to "Bottom Field List". If rendered video plays back with with "jumping/strobing" effect, change Field List order setting)
Filtering -> Preset: Slow (in "Custom mode" you can also experiment with other settings)
Filtering -> Bob (use for double frame rate deinterlace mode)
[Image: 8DyEZlg.jpg] Open File
[Image: gNGscEF.jpg] Set Output Folder
[Image: AJtd1dc.jpg] Render file (Command-F1 keyboard shortcut)
Base -> Video: ProRes
Base -> Audio: passthrough all
Base -> Default container: mov
Base -> Generate
ProRes -> Profile: Even if you render to SD, set compression to 422 HQ (HD)
Filtering -> Filtering -> ColorMatrix: From Rec.601 to Rec.709 (apply only If you upscale SD to HD with Crop/Resize tools in Hybrid)
Filtering -> VapourSynth -> Line -> Resizer -> NNEDI3
Neural network resizer NNEDI3. It removes jaggies upscale artifacts on contrast diagonal lines, but doesn't add artificial oversharpening. On maximum settings it is very slow. It works in combination with any resize algorithm in "Crop/Resize" tab.

Some tips to speedup workflow:
Instead of "Open File" dialog it is possible to drag and drop file directly to path field.
For batch processing you can select multiple files in "Open File" dialog or drag and drop multiple files directly to path field.
Config -> Internals -> FFmped/MEncoder threads: (set it according your CPU)
Config -> Output -> Container Settings -> Standard output container: mov
Config -> Output -> Filename Generation -> Suffix:
Config -> Path -> Default input path:
Config -> Path -> Default temp path:
Config -> Path -> Adjust: Output path to source path
Config -> Profiles -> Auto save defaults (this allow to remember all program settings on next launch)
Jobs -> Misc -> Delete jobs when finished


Bugs found:

It seems Hybrid on macOS can't read interlaced AVI DV files. To fix this problem you need to remux AVI to MOV container without recompression. You can do it with legacy QuickTime 7.6.6 Player (File -> Save as self contained movie) or something similar.

If you want your result in ProRes 422 HQ, set the format (under ProRes -> Profile) to 422 HQ (HD), even if your footage is SD. 422 HQ (SD) will result in standard 422 (as MediaInfo is telling me).
Hybrid simply has bug in its preset for ProRes HQ SD.
profile:v should say 3 not 2.
HD presets (except different name) is exactly the same. No idea why you need 2 of them at all.

Hybrid default ProRes presets are very plain, without any attempt to make final files more "correct" ones (no correct codec names, color tags etc). You can fix this problem with JESExtensifier.

When i click VapourSynth Preview button in Filtering tab, VS icon jumps in Dock and disappears. No any error log and no any Preview window. Other (non Vapoursynth) Preview button works well.
Preview button in Crop/Resize tab also cause permanent program hang and crash.
If i open "Hybrid.app" package contents and click directly on "vsViewer.app" it gives me this error message. When i click OK, it opens VapourSynth Editor window.
[Image: TilLXVI.jpg]
Reply
#2
as a side note:
There are also pre-compiled versions of MP4Box available (https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/), which are part of gpac.
Note that it is probably not enough to replace just the mp4box binary, some of the libraries in MacOS/lib-folder might have to be updated too (they too come with gpac).
Reply
#3
Ok, i will try to update it too. One quesion here:
/Applications/Hybrid.app/Contents/MacOS/lib folder contains 28 .dylib files
/Applications/GPAC/Contents/MacOS/lib folder contains 63 .dylib files

Should i update only 28 old files or should place all 63 new files to Hybrid?

Here is full list of new files:

liba52.0.dylib
libass.9.dylib
libavcodec.58.dylib
libavdevice.58.dylib
libavfilter.7.dylib
libavformat.58.dylib
libavresample.4.dylib
libavutil.56.dylib
libbluray.2.dylib
libcrypto.1.1.dylib
libfaad.2.dylib
libffi.6.dylib
libfontconfig.1.dylib
libfreetype.6.dylib
libfribidi.0.dylib
libgif.dylib
libglib-2.0.0.dylib
libgmp.10.dylib
libgnutls.30.dylib
libgpac.dylib
libgraphite2.3.dylib
libharfbuzz.0.dylib
libhogweed.4.dylib
libidn2.0.dylib
libintl.8.dylib
libjpeg.9.dylib
liblept.5.dylib
liblzma.5.dylib
libmad.0.dylib
libmp3lame.0.dylib
libnettle.6.dylib
libogg.0.dylib
libopencore-amrnb.0.dylib
libopencore-amrwb.0.dylib
libopenjp2.7.dylib
libopus.0.dylib
libp11-kit.0.dylib
libpcre.1.dylib
libpng16.16.dylib
libpostproc.55.dylib
librtmp.1.dylib
librubberband.2.dylib
libSDL2-2.0.0.dylib
libsnappy.1.dylib
libsoxr.0.dylib
libspeex.1.dylib
libssl.1.1.dylib
libswresample.3.dylib
libswscale.5.dylib
libtasn1.6.dylib
libtesseract.4.dylib
libtheora.0.dylib
libtheoradec.1.dylib
libtheoraenc.1.dylib
libtiff.5.dylib
libunistring.2.dylib
libvidstab.1.1.dylib
libvorbis.0.dylib
libvorbisenc.2.dylib
libwebp.7.dylib
libwebpmux.3.dylib
libx264.155.dylib
libx265.179.dylib
Reply
#4
Most of the libs that are in the lib folder of gpac should not be needed since mp4box does not usw them.
Also some of the libs in Hybrids lib folder are from Mediainfo iirc. -> when updating mp4box only replacing a few of the 28 libs should be enough.

Cu Selur
Reply
#5
Ok, so i select same 28 files now. What exact dylib files from this list should i replace to keep things safe and stable?

Also in addition to libx264.155.dylib i see new libx265.179.dylib file inside GPAC.app It feels like may be something required by new MP4Box version? Or just ignore it?
Hybrid contains only libx264.148.dylib



liba52.0.dylib
libavcodec.58.dylib
libavdevice.58.dylib
libavfilter.7.dylib
libavformat.58.dylib
libavresample.4.dylib
libavutil.56.dylib
libcrypto.1.1.dylib
libfaad.2.dylib
libfreetype.6.dylib
libgpac.dylib
libjpeg.9.dylib
libmad.0.dylib
libmp3lame.0.dylib
libogg.0.dylib
libpng16.16.dylib
libpostproc.55.dylib
libSDL2-2.0.0.dylib
libssl.1.1.dylib
libswresample.3.dylib
libswscale.5.dylib
libtheora.0.dylib
libvorbis.0.dylib
libx264.155.dylib
Reply
#6
Seither x264 nor x265 libs are required by mp4box, No clue which libs are needed since it is simply to long ago that I used a Mac.
Reply
#7
VapourSynth + Plugins + Scripts + Hybrid package update 2020.03.23
Changes:
Package now includes D2V Witch.app required by Hybrid to process VOB files.
Updated FAQ.
Links to discussion forums.

VapourSynth + Plugins + Scripts + Hybrid package update 2020.03.28
Changes:
Package now includes JESExtensifier.app (it help to change aspect ratio and other metadata tags inside .MOV container)
Updated FAQ.

VapourSynth + Plugins + Scripts + Hybrid package update 2020.03.29
Changes:
VapourSynth R49
Updated FAQ.
Arrow Download from same Dropbox folder: https://www.dropbox.com/sh/hzy3f0zyuyu4y...O5zla?dl=0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)