Chapter 4. Storyboard Media

Table of Contents

Introduction
Media Actions
gra.media.new.audio
gra.media.new.video
gra.media.volume
gra.media.seek
gra.media.stop
gra.media.playpause
Media Events
gre.media.exit
gre.media.timeupdate
gre.media.statechange
gre.media.complete
gre.media.error
Media backends
gstreamer-backend
Gstreamer pipeline
External render extenstions

Introduction

The Storyboard runtime engine provides a media plugin interface in order to support the playback of several different types of audio and video formats. The media plugin accomplishes this by communicating with an external media player back-end application. Media back-end applications are provided for particular platforms based on their underlying media support. Video playback can be accomplished by either using the Storyboard External render extension in order to overlay the video content within Storyboard or by controlling an external display layer as hardware permits.

Video and Audio playback is accomplished by using a set of defined actions. When creating a media application you must include these media actions in your Storyboard project. The action definition file can be found in your Storyboard Installation under:

Samples/action_definitions/media.sbat

Copy this file to the “templates” directory of your project in order to expose the actions.

A sample video application can be found in the Storyboard online repository in order to demonstrate the actions provided.