Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Creative tools for business
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Flash Media Server Developer Center /

Drilling down into new features of Flash Media Server 3

by Kevin Towes

Kevin Towes
  • Adobe

Content

  • Demo 1: Progressive download to streaming (FLV to MP4)
  • Demo 2: Content protection
  • Demo 3: ActionScript streaming
  • Demo 4: Live video recording

Created

18 February 2008

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
DRM Flash Media Server 3 progressive download streaming video

The release of Adobe Flash Media Server 3 and the update for Adobe Flash CS3 Professional to support high-definition H.264 video offer exciting capabilities for delivering extremely high-resolution media files to mass audiences.

In the following four short demos, I outline the process you can follow for migrating from using progressive download to streaming your video files using Flash Media Server (FMS) 3. I also highlight the new content protection features—encryption and SWF verification—and demonstrate how you can choose to use the FLVPlayback component included in Flash CS3 Professional, or create your own custom video player using ActionScript 3.0 to control playback of streaming media from FMS.

Finally, I describe the process of using Flash Media Live Encoder 2 for live recording, and illustrate how you can use Flash Media Server 3 both to stream and record live video simultaneously.

I recorded each demo on my laptop (in one take!) using Adobe Connect Professional. Each demo link is associated with a demo asset ZIP file that you can download to follow along with the example I step you through. Enjoy!

Demo 1: Progressive download to streaming (FLV to MP4)

This demo shows the process of migrating from progressive download of FLV and H.264 MP4 files to streaming the content from Flash Media Server 3.

First I show you the steps for using Flash CS3 Professional (with the recent update to support H.264 video content) to progressively download video content from your web server. I describe the process of using the FLVPlayback component in Flash to display Flash video in FLV format as well as using high-definition H.264 video in MP4 format.

Next I discuss the folder structure inside the Flash Media Server 3 application and show you where to save the video files you'll be streaming. The steps I outline to stream both FLV and H.264-encoded MP4 files directly from FMS are very similar to setting up a progressive download. As the two files are streaming, I open the Flash Media Administration Console to show you the difference in the number of bytes out (see Figure 1) as the video content encoded with two different data rates is delivered from the streaming server to the client machine.

Watch Demo 1 (7:28)

Download the sample files for Demo 1 (ZIP, 38.6 MB)

Note: Demos 1 and 2 both use the same sample files.

Checking server performance while streaming media using the Administration Console
Figure 1. Checking server performance while streaming media using the Administration Console

Demo 2: Content protection

This demo highlights the content protection features available in Flash Media Server 3 and Flash Media Interactive Server 3. There are two key features to help ensure content protection.

The first feature is a new protocol for connecting to the stream, called RTMPE. This real-time encryption protocol allows the server to perform at high levels without inhibiting capacity.

In this demo I use Flash CS3 Professional (with the recent update to support H.264 video content) to configure the FLVPlayback component to stream an FLV file using the RTMPE protocol (see Figure 2). This allows me to encrypt the stream from the server to the client, ensuring that the data cannot be accessed by a third-party application that may be listening.

The second feature involves SWF verification to ensure that your SWF files are not stolen or decompiled. SWF verification protects the URL for streaming access control.

I explain how you can enable the SWF verification feature by updating the Application.xml file. I also illustrate how to add the name of the folder containing your SWF file, so that Adobe Flash Player can compare the SWF with the file being streamed. This feature ensures that your SWF file—whether it is video, interactive media, or a video game—is protected.

After making changes to the configuration of the Application.xml file, I show you how to restart the server using the Administration Console in order to apply the changes.

Watch Demo 2 (9:23)

Download the sample files for Demo 2 (ZIP, 38.6 MB)

Note: Demos 1 and 2 both use the same sample files.

Using RTMPE to ensure that streaming from server to client is encrypted
Figure 2. Using RTMPE to ensure that streaming from server to client is encrypted

Demo 3: ActionScript streaming

This demo showcases the new content protection features (RTMPE encryption protocol and SWF verification) with a custom video player built using ActionScript 3.0 to stream both FLV and MP4 video files.

Using a video object in Flash CS3 Professional, I describe how to use the NetConnection and NetStream classes to create a connection to Flash Media Server and play back an FLV file (see Figure 3). I discuss the publishing point (the /vod folder) that is included in Flash Media Server 3 to provide video-on-demand features.

I verify that the connection to the server was successful, and then use the play command to make the FLV video play. Next I show the process for playing an H.264 MP4 file, and test the frame rate to see how it's maintained at 24 fps. I then run a sample QuickTime movie in order to compare the playback. You'll see that the frame rate is much slower than the streaming MP4 file.

Finally, you learn how to stream an MP4 file through FMS 3 using encryption and see that there is no difference in the playback quality.

Watch Demo 3 (13:50)

Download the sample files for Demo 3 (ZIP, 1.8 MB)

Using ActionScript 3.0 and the NetConnection class to connect to Flash Media Server and control video playback
Figure 3. Using ActionScript 3.0 and the NetConnection class to connect to Flash Media Server and control video playback

Demo 4: Live video recording

This demo demonstrates how to use Flash Media Server to capture a live video stream recorded from Flash Media Live Encoder 2. You learn how to capture the stream inside Flash Player and record the stream for later playback so users can time-shift or pause live streaming.

First I illustrate how to use Flash Media Live Encoder 2 to record live video in the MP3 format, and connect it to the server so that the video can stream using Flash Media Server.

I also demonstrate how a Flash application developed using ActionScript 3.0 can subscribe to the video that is being recorded from Flash Media Live Encoder (see Figure 4). With Flash Media Server, you can stream video content while recording new video data simultaneously—and deliver all of the media using the new content protection features because there are no video assets being delivered on the client side.

Watch Demo 4 (3:57)

Download the sample files for Demo 4 (ZIP, 1 MB)

Custom Flash application communicating with Flash Media Server 3 via ActionScript 3.0
Figure 4. Custom Flash application communicating with Flash Media Server 3 via ActionScript 3.0

Where to go from here

Now that you've seen my demos of some of the latest key features of Flash Media Server 3, check out some of the tutorials recently added to the Flash Media Server Developer Center, especially the Getting Started area.

More Like This

  • Exploring content protection options with Flash Media Rights Management Server
  • Explore video content protection measures enabled by Flash Media Interactive Server 3.5
  • Beginner's guide to using ActionScript 3.0 with Flash Media Server 3.5
  • Beginner's guide to streaming video with Flash Media Server 3.5
  • Dynamic streaming in Flash Media Server 3.5 – Part 1: Overview of the new capabilities
  • Learning Flash Media Server excerpt: Server-side streams
  • Beginner's guide to streaming audio through Flash Media Server 3.5
  • Beginner's guide to dynamic streaming with Flash Media Server 3.5
  • Video encoding and transcoding recommendations for HTTP Dynamic Streaming on the Flash Platform
  • Introducing Adobe Flash Media Server 4.5

Tutorials & Samples

Tutorials

  • OSMF video player for AIR for TV using Flash Professional
  • OSMF video player for AIR for TV using Flash Builder
  • Capture, encode, and stream live video over HTTP to Flash and iOS

Samples

  • Best practices for real-time collaboration using Flash Media Server
  • Understanding live DVR – Part 2: Using DVRCast with Flash Media Live Encoder 3
  • Understanding live DVR – Part 1: Implementing a live DVR player

Flash Media Server Forum

More
04/23/2012 FMS Issues
04/23/2012 FMLE 3.2 to FMS 4.5 - Over time the stream delay increases
04/23/2012 Live stream on FMS issues when reaching 1600 concurrent users
04/23/2012 How does main.asc work in signed folder ('live' or 'vod') with FMS4.5?

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement