Graphics

 View Only
  • 1.  Run Scene Director on Tally/Graphic displayed on switcher

    Posted 11-02-2025 13:30

    Hi there,

    Is it possible to run a scene director based on the framebuffer tally? Looking to trigger graphic animations once they are put online by our switcher. 

    Thanks,



    ------------------------------
    Colin Murphy
    Game Day Technician
    OSEG
    ------------------------------


  • 2.  RE: Run Scene Director on Tally/Graphic displayed on switcher

    Posted 11-03-2025 13:36

    You can, but you'd need to run an OnRender script on the scene with the animation you want to trigger to always be looking at the tally state of the framebuffer.

    Here's an example script that will play a scene director called "Play on Tally" on a scene when the Framebuffer the scene is online with get's tallied Red for program.

    Place the script on the scene's OnRender event. If you're XPression's TSL Tally Input is setup to Swap Red/Green tally, you''ll want to change the "if fb.GetTallyState = 1" value to a 2, since red returns 1 and green returns 2.

    'get outputframebuffer index
    dim fb as xpOutputFrameBuffer
    dim fbindex, layerindex as integer
    
    self.GetOnline(fbindex,layerindex)
    engine.GetOutputFrameBuffer(fbindex,fb)
    
    'get scene director
    dim sd as xpSceneDirector
    self.GetSceneDirectorByName("Play on Tally",sd)
    
    if fb.GetTallyState = 1
    sd.Play
    
    else
    sd.Stop
    sd.Position = 0
    
    end if

    Depending on your setup and workflow, there may be other ways of doing this with a GPI trigger or Ross Talk command to XPression that doesn't rely on the script running each frame.

    If you give us some more info on the the graphic and use case, I'd be happy to suggest alternatives as well.



    ------------------------------
    Jeff Mayer
    Ross Video
    ------------------------------



  • 3.  RE: Run Scene Director on Tally/Graphic displayed on switcher

    Posted 11-04-2025 02:42

    Hey Jeff,

    This works great.

    I'm looking for a use case on multiple graphics, especially full page graphics with lots of stats and animation. With our workflow we tend to have graphics already online on XPression waiting to be cut to by our Director/Switcher, which is why I was wondering for a tally based solution that can work across multiple scenes/graphics/projects. 

    Although if there is an alternative option that doesn't run every frame I'd be interested in that too. I just am afraid of making lots of custom rosstalk triggers for our switcher/director as we use a lot of different content and run a variety of shows. 

    Thanks,

    Colin



    ------------------------------
    Colin Murphy
    Game Day Technician
    OSEG
    ------------------------------