ResolveScript: [Bug] Timeline:InsertFunctions not work

  • Author
  • Message
Offline

qhnu-bd

  • Posts: 12
  • Joined: Mon Jan 10, 2022 9:58 am
  • Location: Japan
  • Real Name: Masashi Sato

ResolveScript: [Bug] Timeline:InsertFunctions not work

PostMon Feb 07, 2022 11:42 pm

Version:
17.4.3

Issue:
The following functions not work.
    Timeline:InsertGeneratorIntoTimeline(generatorName) --> TimelineItem
    Timeline:InsertFusionGeneratorIntoTimeline(generatorName) --> TimelineItem
    Timeline:InsertOFXGeneratorIntoTimeline(generatorName) --> TimelineItem
    Timeline:InsertTitleIntoTimeline(titleName) --> TimelineItem
    Timeline:InsertFusionTitleIntoTimeline(titleName) --> TimelineItem

    Only InsertFusionTitleIntoTimeline works in a limited way.
    Please see the following code for details.

    Code: Select all
    local timeline = resolve:GetProjectManager():GetCurrentProject():GetCurrentTimeline()
    -- Only 'Title+' or 'TextPlus' will run successfully.
    timeline:InsertFusionTitleIntoTimeline('TextPlus')

    -- Returns nil for everything except 'Title+'. 'Zipper'is build-in FusionCompositionName
    timeline:InsertFusionTitleIntoTimeline('Zipper')


Request:
Make it work with a specific name.
  • standard template name (build-in)
  • custom template file name (**/DaVinci Resolve/Fusion/Templates/Edit/**/*.setting)

I know you are busy, but please check it out.
Thank you very much for your cooperation.
Offline
User avatar

roger.magnusson

  • Posts: 3802
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: ResolveScript: [Bug] Timeline:InsertFunctions not work

PostTue Feb 08, 2022 12:48 pm

Here are all my findings on this. Some do work, but most don't. I tested in Resolve Studio v17.4.3 Build 10 on macOS 12.2.

Code: Select all
-- InsertGeneratorIntoTimeline

-- Works
timeline:InsertGeneratorIntoTimeline("10 Step")
timeline:InsertGeneratorIntoTimeline("100mV Steps")
timeline:InsertGeneratorIntoTimeline("EBU Color Bar")
timeline:InsertGeneratorIntoTimeline("Four Color Gradient")
timeline:InsertGeneratorIntoTimeline("Grey Scale")
timeline:InsertGeneratorIntoTimeline("SMPTE Color Bar")
timeline:InsertGeneratorIntoTimeline("Solid Color")
timeline:InsertGeneratorIntoTimeline("Window")
timeline:InsertGeneratorIntoTimeline("YCbCr Ramp")

-- Doesn't work
timeline:InsertGeneratorIntoTimeline("BT.2111 Color Bar HLG Narrow")
timeline:InsertGeneratorIntoTimeline("BT.2111 Color Bar PQ Full")
timeline:InsertGeneratorIntoTimeline("BT.2111 Color Bar PQ Narrow")


-- InsertFusionGeneratorIntoTimeline

-- Doesn't work
timeline:InsertFusionGeneratorIntoTimeline("Contours")
timeline:InsertFusionGeneratorIntoTimeline("Noise Gradient")
timeline:InsertFusionGeneratorIntoTimeline("Paper")
timeline:InsertFusionGeneratorIntoTimeline("Texture Background")


-- InsertOFXGeneratorIntoTimeline
-- No sure which these are as the OXF in Resolve are effects, not generators


-- InsertTitleIntoTimeline

-- Works
timeline:InsertTitleIntoTimeline("Left Lower Third")
timeline:InsertTitleIntoTimeline("Middle Lower Third")
timeline:InsertTitleIntoTimeline("Right Lower Third")
timeline:InsertTitleIntoTimeline("Scroll")
timeline:InsertTitleIntoTimeline("Text")


-- InsertFusionTitleIntoTimeline

-- Works
timeline:InsertFusionTitleIntoTimeline("Text+") -- Listed under "Titles" in Resolve but belongs to "Fusion Titles"

-- Doesn't work
timeline:InsertFusionTitleIntoTimeline("Background Reveal")
timeline:InsertFusionTitleIntoTimeline("Background Reveal Lower Third")
timeline:InsertFusionTitleIntoTimeline("Call Out")
timeline:InsertFusionTitleIntoTimeline("Center Reveal")
timeline:InsertFusionTitleIntoTimeline("Clean and Simple")
timeline:InsertFusionTitleIntoTimeline("Clean and Simple Heading Lower Third")
timeline:InsertFusionTitleIntoTimeline("Clean and Simple Lower Third")
timeline:InsertFusionTitleIntoTimeline("Dark Box Text")
timeline:InsertFusionTitleIntoTimeline("Dark Box Text Lower Third")
timeline:InsertFusionTitleIntoTimeline("Digital Glitch")
timeline:InsertFusionTitleIntoTimeline("Digital Glitch Lower Third")
timeline:InsertFusionTitleIntoTimeline("Digital Glitch Right Side")
timeline:InsertFusionTitleIntoTimeline("Draw On 2 Lines Lower Third")
timeline:InsertFusionTitleIntoTimeline("Draw On Corners 1 Line")
timeline:InsertFusionTitleIntoTimeline("Drop In")
timeline:InsertFusionTitleIntoTimeline("Drop In Lower Third")
timeline:InsertFusionTitleIntoTimeline("Fade On")
timeline:InsertFusionTitleIntoTimeline("Fade On Lower Third")
timeline:InsertFusionTitleIntoTimeline("Fade On Right Side")
timeline:InsertFusionTitleIntoTimeline("Flip Over")
timeline:InsertFusionTitleIntoTimeline("Flip Over Lower Third")
timeline:InsertFusionTitleIntoTimeline("Flip Up")
timeline:InsertFusionTitleIntoTimeline("Flip Up Lower Third")
timeline:InsertFusionTitleIntoTimeline("Horizontal Line Reveal")
timeline:InsertFusionTitleIntoTimeline("Horizontal Slide")
timeline:InsertFusionTitleIntoTimeline("Jitter")
timeline:InsertFusionTitleIntoTimeline("Jitter Lower Third")
timeline:InsertFusionTitleIntoTimeline("Long Title")
timeline:InsertFusionTitleIntoTimeline("Long Title Lower Third")
timeline:InsertFusionTitleIntoTimeline("Outline Offset")
timeline:InsertFusionTitleIntoTimeline("Random Write On")
timeline:InsertFusionTitleIntoTimeline("Random Write On Lower Third")
timeline:InsertFusionTitleIntoTimeline("Rise Fade")
timeline:InsertFusionTitleIntoTimeline("Rotate In and Out")
timeline:InsertFusionTitleIntoTimeline("Scale Up")
timeline:InsertFusionTitleIntoTimeline("Scale Up Lower Third")
timeline:InsertFusionTitleIntoTimeline("Simple Box 1 Line Lower Third")
timeline:InsertFusionTitleIntoTimeline("Simple Box 2 Lines Lower Third")
timeline:InsertFusionTitleIntoTimeline("Simple Box Thin 1 Line Lower Third")
timeline:InsertFusionTitleIntoTimeline("Simple Underline Lower Third")
timeline:InsertFusionTitleIntoTimeline("Slide From Center Line")
timeline:InsertFusionTitleIntoTimeline("Slide In and Down")
timeline:InsertFusionTitleIntoTimeline("Slide In and Scroll")
timeline:InsertFusionTitleIntoTimeline("Slide In and Scroll Lower Third")
timeline:InsertFusionTitleIntoTimeline("Spin Twist Drift")
timeline:InsertFusionTitleIntoTimeline("Stretch Zoom")
timeline:InsertFusionTitleIntoTimeline("Superhero Movie")
timeline:InsertFusionTitleIntoTimeline("Text Box")
timeline:InsertFusionTitleIntoTimeline("Text Box Swipe In")
timeline:InsertFusionTitleIntoTimeline("Text Box Swipe In Lower Third")
timeline:InsertFusionTitleIntoTimeline("Text Over Shape")
timeline:InsertFusionTitleIntoTimeline("Text Over Shape Lower Third")
timeline:InsertFusionTitleIntoTimeline("Text Ripple")
timeline:InsertFusionTitleIntoTimeline("Three Line Drop")
timeline:InsertFusionTitleIntoTimeline("Title Dramatic Mood")
timeline:InsertFusionTitleIntoTimeline("Vertical Reveal")
timeline:InsertFusionTitleIntoTimeline("Vertical Reveal Lower Third")
timeline:InsertFusionTitleIntoTimeline("Vertical Slide")
timeline:InsertFusionTitleIntoTimeline("Vertical Slide Lower Third")
timeline:InsertFusionTitleIntoTimeline("Zipper")
Last edited by roger.magnusson on Wed Feb 09, 2022 11:26 am, edited 1 time in total.
Offline

mplover

  • Posts: 5
  • Joined: Tue Feb 08, 2022 7:16 pm
  • Real Name: Mark Plover

Re: ResolveScript: [Bug] Timeline:InsertFunctions not work

PostTue Feb 08, 2022 7:25 pm

Coming across the same issue on 17.4.3 Build 10 on MacOS 12.2. Haven't tried on my Windows machine yet. Will update later tonight.

Return to DaVinci Resolve Feature Requests

Who is online

Users browsing this forum: No registered users and 27 guests