• Color Grading & Restoration
  • Blog
  • ABOUT
  • Contact
Menu

Zachary Halberd

  • Color Grading & Restoration
  • Blog
  • 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
DOC_WORKFLOW_20240428.png
May 12, 2024
Documentary Finishing Workflow Demystified
May 12, 2024
Read more →
May 12, 2024
Using AI Models to Colorize Monochromatic Archival
September 30, 2022
Using AI Models to Colorize Monochromatic Archival
September 30, 2022
Read more →
September 30, 2022
Archival Restoration - Experimenting with Python Using VapourSynth + Resolve
October 25, 2021
Archival Restoration - Experimenting with Python Using VapourSynth + Resolve
October 25, 2021

Take a peak under the hood of my process to restore a heavily compressed archival film using the open source Python script-based image processing tool Vapoursynth.

Read more →
October 25, 2021
Qualitative Camera Test v2 - Summer 2021
October 25, 2021
Qualitative Camera Test v2 - Summer 2021
October 25, 2021

I convinced ten cinematographers to bring their cinema cameras to a qualitative camera test. Here are the results.

Read more →
October 25, 2021
axel-vazquez-nph6DcLTckI-unsplash.jpg
July 3, 2021
Premiere to Resolve and Back Again - A Remote Workflow Guide
July 3, 2021

For the love of God, please stop using shuttle drives. Just use the Resolve media manager to shrink ray your Premiere timeline down to a tiny portable file and send to your colorist!!! In this article, I show you how!

Read more →
July 3, 2021
VapourSynth Installation for Python 3.6.8
June 14, 2021
VapourSynth Installation for Python 3.6.8
June 14, 2021

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.

Read more →
June 14, 2021
Deconvolutional Upscaling for Legacy Media
February 9, 2021
Deconvolutional Upscaling for Legacy Media
February 9, 2021

MCM Creative in NYC reached out to Magic Lantern and asked if it was possible to clean up and upscale his feature doc Shelter Island prior to an Amazon streaming distribution sale. Unfortunately, the original media was no longer available and the master had already gone through various unknown encodes.

Read more →
February 9, 2021
Superior Deinterlacing and Upscaling With Machine Learning
February 2, 2021
Superior Deinterlacing and Upscaling With Machine Learning
February 2, 2021

Typically, filmmakers use the deinterlacing tool provided for free within their NLE or Davinci Resolve. This article will demonstrate why this approach can be destructive to the image and will offer a better alternative.

Read more →
February 2, 2021
Rendering With JPEG Compression(ism)
January 28, 2021
Rendering With JPEG Compression(ism)
January 28, 2021

A collection of photos taken with a cell phone at full magnification yields interesting results. Although the discrete cosine transform compression still has a significant effect in the image, by magnifying the image in camera prior to the encode, these images take on a hybrid of pixilation and compression decimation. There is also a slight halation ghosting around the higher contrast edges which get encoded into a pleasant glow.

Read more →
January 28, 2021
Color and the Physiological Response - A Colorist's Exploration
January 28, 2021
Color and the Physiological Response - A Colorist's Exploration
January 28, 2021

Colors, generally speaking, are instinctively associated with emotions. Working as a colorist and having to manipulate color everyday – I feel that most directors and cinematographers intuitively ask for specific colors to enhance specific emotions on special scenes without even realizing it. Here is a little help on how to actually use color in film making to activate – or not – a physical reaction in your audience.

Read more →
January 28, 2021