• Color Grading & Restoration
  • ABOUT
  • Contact
Menu

Zachary Halberd

  • Color Grading & Restoration
  • ABOUT
  • Contact

VapourSynth Installation for Python 3.6.8

June 14, 2021
 

***Before you go any further - this is for Windows installation only.

My ongoing experiments with incorporating the Python-based image processing software, VapourSynth, into my color management and restoration pipeline has resulted in compiling a stable package which Windows users may use for further experimentation. I’m using this package specifically because it has thus far been compatible with Python 3.6.8 thus meeting the compatibility requirements of Davinci Resolve Studio 17.2.

I would also like to credit my friend and colleague Hamid Sadeghi for his Python kung-fu and for helping me with this project.



Download Here —> VapourSynth R44 Install Package



Install Package Contents:

Primary Installation:

  • python 3.6.8 portable

  • VapourSynth64-Portable-R44

  • VapourSynthEditor-r19-64bit

Plugins:

  • ffms2-2.40-msvc (ffms2-v2.23 also works)

  • fmtconv-r22 (fmtconv-r20 works also)

  • vapoursynth-mvtools-v23-win64 (vapoursynth-mvtools-v22-win64 works also)

  • vapoursynth-nnedi3-v12-win64

  • Also included is the required nnedi3_weights.bin file

Python Modules:

  • havsfunc-r33 (havsfunc-r33 works also)

  • mvsfunc-r8

  • vapoursynth-adjust-v1

  • VapourSynth-script-master-v1



Basic VapourSynth Script:

This is a basic script for transforming the color primaries of a Rec.601 .avi file which has been captured from a mini-DV archival tape with 4:1:1 chroma subsampling and 8-bit precision into a Rec.709 4:2:2 media file with 10-bit precision. The QTGMC plugin is used to deinterlace and field interpolate. It does a remarkable job bypassing the vertical resolution loss of a standard deinterlacer by interpolating the missing field lines when constructing the progressive frame. The core.resize.Spline36 changes the PAR to 1:1 within a standardized 540 vertical.

import vapoursynth as vs import havsfunc as haf core = vs.get_core() clip = core.ffms2.Source(source='E:\Captured_Archival\\your_video.avi') clip = vs.core.resize.Point(clip, format = vs.YUV422P10) clip = haf.QTGMC(clip, Preset='Slower', TFF=False) clip = core.resize.Spline36(clip, 720, 540) clip.set_output()

Vapoursynth Community:

Below is a growing list of developers and repositories for VapourSynth:

  • VapourSynth 3000! - Good resource for the latest release of VS.

  • VapourSynth Database - The one-stop shop supercenter for VS plugins.

  • Steak Under Water’s forum WE SUCK LESS - a great forum for Fusion and Resolve dev community which is quite active.

  • Huge shout out to Andrew Swan for making a detailed tutorial on how to install VapourSynth on Windows. This is a good video along with blogged instructions for beginners.

  • Meatwad - a wonderful place to learn more about VS plugins and how they’re used to remove specific artifacts from video. There are also some handy Avisynth tips too.

  • Igor Riđanović - Post professional with a YouTube channel including How-to vids.

  • Kageru - Coder and blogger with some interesting things to say about the VS community.

  • Black Magic Design’s Fusion Forum - More Fusion and Resolve specific community.

← Premiere to Resolve and Back Again - A Remote Workflow GuideDeconvolutional Upscaling for Legacy Media →

Latest Posts

Featured
May 12, 2024
Documentary Finishing Workflow Demystified
May 12, 2024
May 12, 2024
Sep 30, 2022
Using AI Models to Colorize Monochromatic Archival
Sep 30, 2022
Sep 30, 2022
Oct 25, 2021
Archival Restoration - Experimenting with Python Using VapourSynth + Resolve
Oct 25, 2021
Oct 25, 2021
Oct 25, 2021
Qualitative Camera Test v2 - Summer 2021
Oct 25, 2021
Oct 25, 2021
Jul 3, 2021
Premiere to Resolve and Back Again - A Remote Workflow Guide
Jul 3, 2021
Jul 3, 2021
Jun 14, 2021
VapourSynth Installation for Python 3.6.8
Jun 14, 2021
Jun 14, 2021
Feb 9, 2021
Deconvolutional Upscaling for Legacy Media
Feb 9, 2021
Feb 9, 2021
Feb 2, 2021
Superior Deinterlacing and Upscaling With Machine Learning
Feb 2, 2021
Feb 2, 2021
Jan 28, 2021
Rendering With JPEG Compression(ism)
Jan 28, 2021
Jan 28, 2021
Jan 28, 2021
Color and the Physiological Response - A Colorist's Exploration
Jan 28, 2021
Jan 28, 2021