Graphics

 View Only
  • 1.  Videomaterials assigned from Sequencer

    Posted 09-29-2015 13:33
    Hi,

    I'm using some graphics with videos of club badges and I need to be able to assign a video to a quad from the sequencer.

    The only problem I have is that the video will not play when I assign it from sequencer.

    IF I set the quads-material in layout to auto-start, I can assign whatever I want from the sequencer and it will play. Problem now is that the video of the club badges plays out from the moment I take my scene on-air. It needs to play from a certain point according to my scene director. How can I accomplish this?

    PS. I don't want to import over 100 videofiles as materials to XP.

    Tobias


  • 2.  RE: Videomaterials assigned from Sequencer



  • 3.  RE: Videomaterials assigned from Sequencer

    Posted 09-29-2015 14:25
    Works! Thanks

    #XPression


  • 4.  RE: Videomaterials assigned from Sequencer

    Posted 09-29-2015 14:32
    Only challenge for me is to make that script work for two quads. Is there any videos etc. on basic scripting available?

    #XPression


  • 5.  RE: Videomaterials assigned from Sequencer

    Posted 09-30-2015 01:30

    To do it for two quads you would just do this:

    OnOnline:



    `

    dim quad as xpBaseObject

    dim mat as xpMaterial

    Self.GetObjectByName("Quad1", quad)

    quad.GetMaterial(0, mat)

    mat.Stop

    mat.Position = 0

    Self.GetObjectByName("Quad2", quad)

    quad.GetMaterial(0, mat)

    mat.Stop

    mat.Position = 0

    `



    On the scene director:



    `

    dim quad as xpBaseObject

    dim mat as xpMaterial

    Scene.GetObjectByName("Quad1", quad)

    quad.GetMaterial(0, mat)

    mat.Play

    Scene.GetObjectByName("Quad2", quad)

    quad.GetMaterial(0, mat)

    mat.Play

    `

    #XPression


  • 6.  RE: Videomaterials assigned from Sequencer

    Posted 10-20-2015 07:50
    Thanks, Brian!

    #XPression