Skip to content

Instantly share code, notes, and snippets.

@TheBloke
Created September 8, 2021 08:08
Show Gist options
  • Save TheBloke/c9657008579b86770526a3cd2ac6d6e1 to your computer and use it in GitHub Desktop.
Save TheBloke/c9657008579b86770526a3cd2ac6d6e1 to your computer and use it in GitHub Desktop.
{
Tools = ordered() {
Note1 = Note {
Inputs = {
Comments = Input { Value = "Garbage Matte", }
},
ViewInfo = StickyNoteInfo {
Pos = { 1935.11, 128.365 },
Flags = {
Expanded = true
},
Size = { 196, 44.0911 }
},
},
Rectangle1_1 = RectangleMask {
Inputs = {
Filter = Input { Value = FuID { "Fast Gaussian" }, },
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Center = Input { Value = { 0.965313410123369, 0.541024514186708 }, },
Width = Input { Value = 0.134591961023143, },
Height = Input { Value = 1.15367965367965, },
EffectMask = Input {
SourceOp = "Rectangle1",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { 1939.33, 184.333 } },
},
ErodeDilate1 = ErodeDilate {
Inputs = {
Filter = Input { Value = 2, },
XAmount = Input { Value = 0.01, },
Input = Input {
SourceOp = "DKForSolid",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1636.67, 138.273 } },
},
BrightnessContrast1 = BrightnessContrast {
Inputs = {
Red = Input { Value = 0, },
Green = Input { Value = 0, },
Blue = Input { Value = 0, },
Alpha = Input { Value = 1, },
Low = Input { Value = 0.039, },
High = Input { Value = 0.128, },
ClipWhite = Input { Value = 1, },
Input = Input {
SourceOp = "ErodeDilate1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1636.67, 181.303 } },
},
DKForSolid = DeltaKeyer {
NameSet = true,
Inputs = {
LowThreshold = Input { Value = 0.161, },
HighThreshold = Input { Value = 0.767, },
ErodeDilate = Input { Value = -0.0137, },
Blur = Input { Value = 0.00646, },
CleanForeground = Input { Value = 0.00764, },
TuningRanges = Input {
Value = ColorCurves {
Curves = {
{
Points = {
{ 0, 1 },
{ 0.4, 0.2 },
{ 0.6, 0 },
{ 1, 0 }
}
},
{
Points = {
{ 0, 0 },
{ 0.4, 0 },
{ 0.6, 0.2 },
{ 1, 1 }
}
}
}
},
},
["Garbage.Matte"] = Input {
SourceOp = "Rectangle1_1",
Source = "Mask",
},
Clean = Input {
SourceOp = "CleanPlate1",
Source = "Output",
},
Input = Input {
SourceOp = "PipeRouter1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1618.67, 72.2121 } },
},
Rectangle1 = RectangleMask {
Inputs = {
Filter = Input { Value = FuID { "Fast Gaussian" }, },
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Center = Input { Value = { 0.00794434800400254, 0.541024514186708 }, },
Width = Input { Value = 0.178038738720463, },
Height = Input { Value = 1.15367965367965, },
},
ViewInfo = OperatorInfo { Pos = { 2049.33, 184.333 } },
},
DKFinal = DeltaKeyer {
NameSet = true,
Inputs = {
LowThreshold = Input { Value = 0.439, },
CleanBackground = Input { Value = 0.00323, },
TuningRanges = Input {
Value = ColorCurves {
Curves = {
{
Points = {
{ 0, 1 },
{ 0.4, 0.2 },
{ 0.6, 0 },
{ 1, 0 }
}
},
{
Points = {
{ 0, 0 },
{ 0.4, 0 },
{ 0.6, 0.2 },
{ 1, 1 }
}
}
}
},
},
["Solid.Matte"] = Input {
SourceOp = "BrightnessContrast1",
Source = "Output",
},
["Garbage.Matte"] = Input {
SourceOp = "Rectangle1_1",
Source = "Mask",
},
Clean = Input {
SourceOp = "CleanPlate1",
Source = "Output",
},
Input = Input {
SourceOp = "PipeRouter1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1636.67, 246.758 } },
},
Note1_2 = Note {
Inputs = {
Comments = Input { Value = "Clean Plate. Held on single frame (298) to improve performance. Adjust Hold Frame if frame numbers change", }
},
ViewInfo = StickyNoteInfo {
Pos = { 1411.97, 229.326 },
Flags = {
Expanded = true
},
Size = { 196, 81.2875 }
},
},
SolidMatte = Underlay {
NameSet = true,
ViewInfo = UnderlayInfo {
Pos = { 1629.7, 37.1448 },
Size = { 180.768, 176.52 }
},
},
CleanPlate1 = CleanPLate {
Inputs = {
BackgroundRed = Input { Value = 0.469551980495453, },
BackgroundGreen = Input { Value = 0.674311220645905, },
BackgroundBlue = Input { Value = 0.190742060542107, },
Low = Input { Value = 0.344, },
High = Input { Value = 1, },
Erode = Input { Value = 0.01654, },
GrowEdges = Input { Value = 0.25, },
TimeMode = Input { Value = 1, },
HoldTime = Input { Value = 298, },
Input = Input {
SourceOp = "PipeRouter1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1453.18, 191 } },
},
PipeRouter1 = PipeRouter {
Inputs = {
Input = Input {
SourceOp = "PipeRouter2",
Source = "Output",
},
},
ViewInfo = PipeRouterInfo { Pos = { 1430.67, 109.788 } },
},
PipeRouter2 = PipeRouter {
Inputs = {
Input = Input {
SourceOp = "Loader1",
Source = "Output",
},
},
ViewInfo = PipeRouterInfo { Pos = { 1356.44, 22.7029 } },
},
Note1_1 = Note {
Inputs = {
Comments = Input { Value = "Use DeltaKeyer alpha to extract subject from source footage\n+ Despill", }
},
ViewInfo = StickyNoteInfo {
Pos = { 1746.12, 326.746 },
Flags = {
Expanded = true
},
Size = { 196, 74.2025 }
},
},
Loader1 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "/Users/tomj/Documents/Downloaded/Sample.mov",
FormatID = "QuickTimeMovies",
Length = 556,
Multiframe = true,
TrimIn = 0,
TrimOut = 555,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 1,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 555
}
},
ViewInfo = OperatorInfo { Pos = { 1216.02, 22.7029 } },
UserControls = ordered() {
MakeLocal = {
INP_Default = 0,
INPID_InputControl = "ButtonControl",
BTNCS_Execute = " args = { tool = comp.ActiveTool, copyTree = true }\n path = comp:MapPath(\"Scripts:support/Loader_MakeLocal.lua\")\n comp:RunScript(path, args)\n ",
IC_ControlPage = 0,
LINKID_DataType = "Number",
LINKS_Name = "Make Local",
}
}
},
PipeRouter3 = PipeRouter {
Inputs = {
Input = Input {
SourceOp = "PipeRouter2",
Source = "Output",
},
},
ViewInfo = PipeRouterInfo { Pos = { 1346.7, 353.315 } },
},
MatteControl1 = MatteControl {
Inputs = {
MatteCombine = Input { Value = 4, },
Filter = Input { Value = FuID { "Fast Gaussian" }, },
PostMultiplyImage = Input { Value = 1, },
SpillColor = Input { Value = 1, },
SpillSuppression = Input { Value = 1, },
SpillMethod = Input { Value = 2, },
Background = Input {
SourceOp = "PipeRouter3",
Source = "Output",
},
Foreground = Input {
SourceOp = "DKFinal",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1636.67, 358.347 } },
},
Background1 = Background {
Inputs = {
GlobalOut = Input { Value = 555, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftRed = Input { Value = 0.504, },
TopLeftGreen = Input { Value = 0.63, },
TopLeftBlue = Input { Value = 0.795, },
},
ViewInfo = OperatorInfo { Pos = { 1417.81, 455.162 } },
},
Merge1 = Merge {
Inputs = {
Background = Input {
SourceOp = "Background1",
Source = "Output",
},
Foreground = Input {
SourceOp = "MatteControl1",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 1612.31, 459.504 } },
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment