Graphics

 View Only
  • 1.  How to change the XPression output externally

    Posted 10-29-2024 00:42

    Hi 

    I am using XPression Tessera and am wondering if it's possible to change the output of an XPression item via DashBoard.

    What I want to achieve is to display a preview on DashBoard using NDI before sending the item out. 
    During preview mode, I want the output to only go to NDI without an actual output, and then when it's time for playback, to send it via SDI.

    I realize that I could simply set up separate items for preview (NDI) and actual SDI output, but I'd like to reduce the amount of work and switch between NDI and SDI with the same item.

    Is there any good way to accomplish this?



    ------------------------------
    Chikashi Shinozaki
    Ascent
    ------------------------------


  • 2.  RE: How to change the XPression output externally

    Posted 10-29-2024 07:33

    Place this onPreviewRender

    dim Scene1 as xpScene

    engine.GetSceneByName("Scene1", Scene1, true)
    Scene1.SetOnline(0)

    Place this on the default scene director at Frame1

    dim Scene1 as xpScene
    dim fb as xpOutputFramebuffer
     
    engine.GetOutputFramebuffer(0, fb)
     
    if fb.GetSceneOnLayer(100, scene1)
    scene1.SetOffline
    end if
    This assumes NDI is the 1st frame buffer, if NDI is frame buffer 4 you'll need to change the 0 to 3. 
    Also you need to change "100" to what layer your graphic is on. 
    "|Scene1" between the quotes should be name of your scene. 



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



  • 3.  RE: How to change the XPression output externally

    Posted 11-05-2024 17:10

    If you try Simon's method here, make sure you test it A LOT before going to air with it. It should be ok but it really test it first. 




  • 4.  RE: How to change the XPression output externally

    Posted 11-05-2024 19:40

    Thank you for your comment.

    I'll give it a try.



    ------------------------------
    Chikashi Shinozaki
    Ascent
    ------------------------------