AVSCube

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(AVSCube: add documentation)
 
m
Line 2: Line 2:
 
{{Filter3
 
{{Filter3
 
|videoh
 
|videoh
|v1.0
+
|v1.1
 
|3=[http://rationalqm.us/hdr/avscube_1.1.rar avscube_1.1.rar]
 
|3=[http://rationalqm.us/hdr/avscube_1.1.rar avscube_1.1.rar]
 
|4=Adjustment Filters
 
|4=Adjustment Filters

Revision as of 05:09, 25 March 2020

Abstract
Author videoh
Version v1.1
Download avscube_1.1.rar
Category Adjustment Filters
License Open source
Discussion Doom9 Thread

Contents

Description

AviSynth+ plugin to load and apply 3D LUTs to a clip. Ported from VapourSynth timecube plugin.

Requirements

  • AviSynth+ (x86 and x64)
  • Supported color formats: RGBP16


Syntax and Parameters

Cube (clip, string "cube", int "cpu", bool "fullrange"


clip   =
Input clip; the filter receives and delivers the RGBP16 color space.


string  cube = ""
Full path of the 3D LUT file. This must be an Adobe *.cube file.


int  cpu = INT_MAX
cpu: default INT_MAX, which selects best SIMD.
  • 0 : SIMD_NONE
  • 1 : SIMD_SSE42
  • 2 : SIMD_AVX2


bool  fullrange = true
  • false : limited range
  • true : full range


Examples

Apply 3D LUT to clip obtained from BlankClip:

BlankClip(pixel_type="RGBP16", color=$ff0000)
Cube("...\test.cube")
ConvertToYUV420()

Apply 3D LUT to HDR10 PQ clip obtained from DGSource():

DGSource("THE GREAT WALL.dgi", fulldepth=true)
z_ConvertFormat(pixel_type="RGBP16", colorspace_op="2020ncl:st2084:2020:l=>rgb:linear:2020:f", dither_type="none")
Cube("...\test.cube")
z_ConvertFormat(pixel_type="YUV420P16", colorspace_op="rgb:linear:2020:f=>2020ncl:st2084:2020:l", dither_type="none")


Changelog

Version         Date            Changes
v1.1 2019/01/25 - Rather than upgrade to r2a I ported the fullrange fix only. v1.0 2018/08/16 - Initial release


External Links




Back to External Filters

Personal tools