About Scaleform Video

Scaleform Video is a high-resolution, high sound-quality video playback system that supports multiple platforms. It helps create high-quality movies that conform to the highest global standards while making the best use of each platform's special characteristics. It also offers advanced features, such as multilingual voices and subtitles, for games that will be sold in multiple regions.

Scaleform Video supports creating CRI movie data using H.264 video codec for Xbox One and PS4. The H.264 video codec helps create high quality and high compression movie playback and supports development of a cross-platform game title without knowing the differences.

Installation Locations

Scaleform Video installs the video encoder to: C:\Program Files\Autodesk\Scaleform\GFx SDK 4.6\Bin\Tools\VideoEncoder

Scaleform Video installs a video demo to:

C:\Program Files\Autodesk\Scaleform\GFx SDK 4.6\Bin\Data\AS2\Video

This demo includes a window with three different video players which can play separate video files. This directory also includes some Flash Files and Video Files related to the demo, including some pre-encoded USM files which may be used for testing. Run videodemo.swf in the Scaleform Player to try out the demo.

Tutorial Files

There are several sample files for use with this tutorial located in the same directory as the encoder software. Use these samples when following the tutorial steps.

The Encoder Directory

There are several files inside the Scaleform Encoder directory which are critical to its operation.

Benefits

Features

Scaleform® Video, powered by CRI Movie™ is a premium module that allows developers to add high performance video playback capabilities to their interactive content through Adobe Flash®. Use Scaleform Video to playback extremely high quality, high definition, and noise free videos on a variety of next-generation platforms. Playback videos: full screen, windowed, on a texture in a 3D game engine or with transparency. Utilize video in your interactive content for a variety of applications including: intro logos, main menus, in game HUDs, as in-game textures, as in game video screens, full screen cinematic cut scenes, loading screen and much more. There is little to no additional work necessary to play in-game videos because Scaleform Video is already fully integrated into Scaleform™ 4.5. Scaleform Video is based on the popular and award-winning CRI Movie™ codec, but with significant workflow enhancements and full integration into Adobe Flash.

Technical Highlights

Playing Files

Scaleform Video converts video movies into the Scaleform CRI Video Format which end in a USM file extension. In order to play a USM video file, just drag and drop it onto the icon for the Scaleform Media Player which should have been installed to the desktop. Alternatively, open up a Scaleform Player and drag and drop the USM onto the open window.

Try dragging and dropping C:\Program Files\Autodesk\Scaleform\GFx SDK 4.6\Bin\Data\AS2\Video scaleform_logo.usm onto the player to see it in action.

Workflow

Figure 1: Scaleform Video Workflow

The workflow needed to produce an in-game video is as follows:

  1. Integrate the Scaleform Video API into the game engine.
  2. Export the video to AVI format from Adobe Premiere or the preferred video encoding suite.
  3. Convert the AVI video to USM format using the Scaleform Video Encoder.
  4. Create an Adobe Flash SWF file that incorporates the USM encoded video.
  5. Set up any additional ActionScript to control the video, subtitles, cue points, etc.
  6. Import the published SWF file into the game.
  7. Play the SWF file in the game using the methods available in the game engine.

Note: Do not attempt to embed a USM video file into the Flash file, but instead reference it via ActionScript. Once the video is set up and plays in game, iteration on the video may be done without needing to update anything in the Flash file by re-encoding the video to the same physical location and filename on the hard drive.