Graphics

 View Only
  • 1.  Video playback (Studio 2ch V5.5)

    Posted 03-10-2015 11:44
    Hello everyone,

    Is there a way to be able to playback a video in a quad for example and be able to stop and play it on the fly while on air?


  • 2.  RE: Video playback (Studio 2ch V5.5)

    Posted 03-16-2015 14:37
    Hi Marc,

    You can create a script action in the Kayboard/GPI map that can control the playback of a material. You can assign a keyboard or GPI action to trigger this event.

    An example of the script:

    dim ch as xpOutputFramebuffer

    dim scene as xpScene

    dim obj as xpBaseObject

    dim mat as xpMaterial

    Engine.GetOutputFramebuffer (0, ch)

    ch.GetSceneOnLayer(0, scene)

    scene.getObjectByName("Quad1", obj)

    obj.GetMaterial(0, mat)

    mat.play

    This script will start playing the Material that is binded to the object called "Quad1" on the scene that is on Framebuffer 1, layer 0.

    You can create multiple actions in the keyboard/GPI map that will act as playback controls. If you change "mat.play" to mat.pause, mat.rewind. mat.reset you can control the material playback.

    #XPression


  • 3.  RE: Video playback (Studio 2ch V5.5)

    Posted 03-16-2015 20:08
    This is a great video that will show ho to create the keyboard actions:

    XPression U - Kayboard Mapping

    You can add Script Actions from the Global Functions list to the Keyboard Map. Then copy your video control scripts into them and bind to keyboard shortcuts.

    #XPression