Graphics

 View Only
  • 1.  Pausing a video at frame 1

    Posted 10-13-2016 22:29
    I have a ton of headshots and promotional animation that I am playing from my Xpression Studio. What I want to do is have the video start at frame 1 and have a pause start at 0. This way if my CG1 channel is on-air the operator will have to hit the take button twice. I have been able to do this with a material, but I do not want to create 30 different scenes for 30 different headshots. So when I drag my scene into Sequence I have the material set to publish so I can change out the AVI file. When I do that, I still have the pause, but the video never starts on the second take. Anybody have any thoughts?


  • 2.  RE: Pausing a video at frame 1

    Posted 10-17-2016 15:23
    We just did something like this. Created a quad with a video material that was set to play once. No auto start. The Material was published to be changed.
    In the scene director, create an animation controller was as long as the longest material would be, a pause event at the beginning and a script event right after.
    The script says the following:

    dim mat as xpMaterial
    dim quad as xpBaseObject

    Scene.GetObjectByName("NameOfQuadObject", quad)
    quad.GetMaterial(0, mat)

    mat.play()

    It re-gets the material each time it is set online.

    #XPression


  • 3.  RE: Pausing a video at frame 1

    Posted 10-17-2016 19:37
    What would I need to add in the script if I have my Video Quad Object nested in a Layer Object with Mask so when the video starts it will fade in?
    #XPression


  • 4.  RE: Pausing a video at frame 1

    Posted 10-17-2016 19:46
    You can put this script into a scene director event instead of OnOnline. Then you can just place the script event on the scene director at the frame you want the video to start playing.
    #XPression