Encode your videos for HDS and HD Flash 1.0 outputs

Media Services Live: Stream Packaging enables seamless, on-the-fly switching (based on the end user’s bandwidth or quality of service) between multiple versions of a live video stream encoded in different bit rates. For streaming, its use is required and is enabled by default.

To use the feature, encode multiple streams of your video using different bit rates, but with identical frame rates. When a mid-stream switch occurs between different versions of a video, it takes place at GOP locations.

To avoid video or audio artifacts during a switch each version of your video should be encoded with a constant (not variable) GOP interval (two to three seconds is recommended), and an identical timeframe, that prevents jumps in the video during a switch. Also, audio for the videos should be encoded at the same bit rate and sample rate.

Note: For lower bit rate streams, encoding the audio in mono at the same bit rate (meaning, half the stereo bit rate) is acceptable.

For HDS and HD Flash 1.0 outputs, Media Services Live: Stream Packaging is only supported as of the release of Adobe Flash Player 10, so using it requires you to either require your end users to upgrade their Flash Players or provide an alternate experience for those with older players. Taking no action will not interfere with the video stream, but it might result in an undesirable experience, as the video will not make quality of service adjustments. For example, if an end user is initially playing a high-bit-rate version of the video and his or her available bandwidth subsequently decreases, an inordinate amount of re-buffering might occur.

The application of HDS is based on interactions between your Flash playback application and Media Services Live. As the video plays, your application continuously monitors quality of service, including the actual bandwidth (based on incoming data and the buffer state) and the end user’s device rendering capability (by monitoring the number of dropped frames). As conditions change, Adobe ActionScript® script in your playback application notifies the Streaming server when it becomes necessary to shift the bit rate up or down. The server then, on the same connection, seamlessly changes to the appropriate bit rate video at the next GOP. The advantage of this feature is that it delivers a better end-user experience by accommodating wide variations in end-user bandwidth and device capabilities, and by gracefully handle dynamically changing conditions (for example, in a wi-fi environment in which bandwidth can change mid-stream).