Graphics

 View Only
  • 1.  Sequencer item duration display

    Posted 06-19-2023 02:26
    Hi 
     
    I have a simple drop scene with a quad assigned a published material with a video layer. The material has adjust Scene Director to match clip length checked.
     
    Creating a take item in sequencer with the drop scene and assigning a clip from clip browser to the material face, the sequencer duration field of the take item remains at the default animation controller length. In my case 200 frames @ 25fps = 8 seconds.
     
    If you cue the item or take it online, the take item duration in sequencer updates to the correct length of the clip.
     
    I added a script to the scenes OnPrepare and logged the Scene Director's duration and it has been updated to match the material duration. I set the animation controllers duration to match in OnPrepare but saw no update to duration in sequencer. Grabbing the take item in OnPrepare after setting the new duration of the animation controller and it logs the original 8 seconds.
     
    Once you cue or take the scene online the sequencer duration will display the correct clip length until you delete the take item or close the project. Opening the project again and the take item will have the same clip assigned but display the original 200 frame / 8 second duration. Also if you assign a new clip to the take item, the old duration will remain displayed.
     
    Is there a way to force update the take items duration displayed in sequencer when you assign a clip to a drop scene?
    We are on version 11.0 build 5668 but I saw the same behavior on 10.5.


    ------------------------------
    Shane Herbert
    Australia
    ------------------------------


  • 2.  RE: Sequencer item duration display

    Posted 08-11-2023 11:47

    This is an educated guess but I think it might be to do with order of operation. 

    1. OnPrepare
    2. Collect Datalinqs / Load Video Clips / Load Textures etc..
    3. OnBeforeOnline
    4. Evaluate transition logic (which may include running OnTransLogicScripts)
    5. OnOnline
    6. Visual Logic Runs

    So my guess is the onPrepare script is running before the clip has been replaced so it reads the default from the template. 



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------