Jump to: Board index » General » Fusion

printing the result of time stretcher node

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

podaliac

  • Posts: 3
  • Joined: Mon Jul 15, 2019 5:17 pm
  • Real Name: bill borschtwrighthe

printing the result of time stretcher node

PostMon Dec 02, 2019 10:01 pm

hi. you guys are great.
i'm wondering if anyone has a solution to this situation:

i'm using the time stretcher node to time remap an image sequence. i would like to know which frames the result of the time stretcher node used when it rendered. i'd like to have that information in some sort of text file / report / log type of thing (i know, i could go through each frame and write down what shows in the parameter but, i want to avoid rote data entry).

if it helps to know why i want these things: the original image sequence has lots and lots of tiffs. often, the result of the 'time remapping' has only 1/10 the amount of frames, hence 1/10 the storage needs for my not-tiny-but-limited space. once i'm confident that i have the correct time remapping for a clip, i can keep only the frames that i need, hooray.

thanks for any help/thoughts.
Offline

Sander de Regt

  • Posts: 1459
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: printing the result of time stretcher node

PostTue Dec 03, 2019 3:36 pm

In the following code, the Text+ tool displays the Source Time from the Time Stretcher.
I don't think you can actually save the content of the Text entry box to a seperate file, but maybe this will help? Just select the code in the code box and copy/paste it inside of Fusion.

Code: Select all
{
   Tools = ordered() {
      TimeStretcher1 = TimeStretcher {
         Inputs = {
            SourceTime = Input {
               SourceOp = "TimeStretcher1SourceTime",
               Source = "Value",
            },
            Input = Input {
               SourceOp = "FastNoise1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 165, 16.5 } },
      },
      TimeStretcher1SourceTime = BezierSpline {
         SplineColor = { Red = 233, Green = 217, Blue = 243 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, RH = { 18, 0 } },
            [54] = { 66.5, LH = { 36.0018002986908, 64.2249466669693 }, RH = { 95.3291993141174, 71.7241965425148 } },
            [178] = { 22.5, LH = { 136.670800685883, 17.4351471428778 }, RH = { 204.663999557495, 25.767647004595 } },
            [258] = { 91.5, LH = { 231.336000442505, 87.0004500746727 }, RH = { 311.32799911499, 100.499099850655 } },
            [418] = { 63, LH = { 364.67200088501, 55.6178183043298 }, RH = { 445.330599546433, 66.7833681190309 } },
            [500] = { 125, LH = { 472.666666666667, 125 } }
         }
      },
      FastNoise1 = FastNoise {
         Inputs = {
            GlobalOut = Input { Value = 500, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
         },
         ViewInfo = OperatorInfo { Pos = { 55, 16.5 } },
      },
      Text1 = TextPlus {
         CtrlWZoom = false,
         Inputs = {
            GlobalOut = Input { Value = 500, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            StyledText = Input {
               Value = "0",
               Expression = "TimeStretcher1.SourceTime",
            },
            Font = Input { Value = "Open Sans", },
            Style = Input { Value = "Bold", },
            VerticalJustificationNew = Input { Value = 3, },
            HorizontalJustificationNew = Input { Value = 3, },
            ManualFontKerningPlacement = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = ""
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 165, 82.5 } },
      }
   }
}
Sander de Regt

ShadowMaker SdR
The Netherlands

Return to Fusion

Who is online

Users browsing this forum: No registered users and 40 guests