Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite 6
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions
  • Government

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy 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
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Flash Developer Center /

Building streaming video players in Flash with Open Source Media Framework

by R Blank

R Blank
  • Almer/Blank
  • rblank.com
  • Rich Media Institute

Created

21 December 2009

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Flash Professional CCOSMFstreamingtemplatesvideo
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

This course is useful for two types of students who seek to get up to speed with OSMF:

  • Low- to intermediate-level Flash ActionScript developers who are comfortable coding on the Timeline and want to learn the raw ActionScript, as well as the underlying concepts, required to work with OSMF
  • Higher level coders using Flash or Adobe Flex who want a quick rundown of the core classes utilized when building an OSMF video player

User level

Beginning

Required products

  • Flash Professional CC CS4 (Download trial)

Sample files

  • osmf_streaming_players.zip (14232 KB)

Additional Requirements

Flash Media Development Server 3.5

  • Download

Note: You must have a Flash Media Server installation or account you can use to fully recreate and use the files in this course:

  • Windows or Linux: Download the free development server for Windows or Linux (linked to above) and read Installing Adobe Flash Media Server 3.5 in the online documentation. Or lease hosted Flash Media Server accounts for development purposes from Influxis.
  • Mac OS: Lease hosted Flash Media Server accounts for development purposes from Influxis.

OSMF Sprint 7 (included in course files)

Note: This article assumes that you have Sprint 7 installed. If you are using a different version, please work with Sprint 7 for purposes of these tutorials. The Sprint 7 SWC is included in the course files; you can find out more about Sprint 7 on the OSMF download page.

The following lessons cover all the basic functionality and concepts required to build streaming video players and dynamic streaming video players in Adobe Flash CS4 Professional using the Open Source Media Framework. The OSMF is Adobe's community-centered approach to standardizing the way that media players—in particular, video players—are built on the Adobe Flash Platform. Although still in prelease, the OSMF encompasses media playback functionality, playlists, branding, advertising, and other monetization aspects, and represents a powerful and comprehensive attempt to standardize a huge portion of the work currently executed in Adobe Flash.

Over the course of five lessons, you'll learn the essential code involved and integrate that code into the video player that I demonstrated in my companion course, Building progressive video players in Flash with the Adobe Open Source Media Framework—which you should follow if you are interested in building progressive video players.

Lessons for building streaming video players in Flash

In these lessons, you'll start with the basics and work your way up to a dynamic streaming video player, using the project built in the previous course in this series, using the OSMF and Flash. Have fun! (Total course duration: 35 min.)

Introduction: Brief overview of the OSMF and installing the SWC

The Open Source Media Framework is useful for both its functionality and its role in standardizing the development of multimedia experiences on the Flash Platform. This section briefly explains the goals and purpose of the OSMF and concludes with a walkthrough of configuring Flash CS4 to work with the OSMF classes. (Running time: 2:45)

Launch introduction

Lesson 1: Upgrading from Sprint 5 to Sprint 7

OSMF is in prerelease, which means that it can still change—and it has in the six weeks since publishing my companion course. As you'll see, just two minor changes prevent the project from the previous course from compiling with the Sprint 7 version of OSMF. So, in this lesson, I explain those changes and get the player running again. (Running time: 6:05)

Launch Lesson 1

Lesson 2: Basic streaming in OSMF

Once you know how to play a video progressively with OSMF, learning how to stream a video is ridiculously, laughably easy. In this lesson, I cover the two options available in ActionScript 3 to stream videos with OSMF. (Running time: 5:58)

Launch Lesson 2

Lesson 3: Implementing basic streaming in your project

Now that you know how to stream, you'll implement that code in your project to have it stream a video over an RTMP connection from Flash Media Server. (Running time: 2:44)

Launch Lesson 3

Lesson 4: Dynamic streaming in OSMF

Multi-bitrate streaming occurs when you specify multiple versions of the same video, encoded at different bitrates, so you can deliver the optimal quality to viewers depending on their bandwidth. Dynamic streaming occurs when you do so on an ongoing basis, so if the viewer's bandwidth changes, you can change videos in midstream. In this lesson, you'll learn the code required to implement dynamic streaming with OSMF. (Running time: 7:50)

Launch Lesson 4

Lesson 5: Implementing dynamic streaming in your project

In this final lesson, you complete your video player by implementing the code you learned in the prior section into your project file to convert your streaming video player into a dynamic streaming video player. (Running time: 9:29)

Launch Lesson 5

Where to go from here

For more information about the OMSF, visit the Open Sourse Media Framework website. To learn more about working with video players, explore the sample projects and templates in the Video Technology Center. To learn more about working with Flash Media Server, check out the Flash Media Server Developer Center.

More Like This

  • Flash glossary: FLV
  • Examining the ActionScript 3 Flash video gallery source files
  • Flash glossary: Embedded video
  • Flash glossary: F4V
  • Flash glossary: Streaming video
  • Flash glossary: FLVPlayback component
  • Integrating Flash CS4 with After Effects CS4
  • Personalized video on the web
  • RealEyes OSMF Player Sample – Part 3: Skinning and control bar system
  • Deconstructing the ActionScript 3 Flash video gallery application

Products

  • Adobe Creative Cloud
  • Creative Suite 6
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

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 © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy (Updated) | Cookies

Ad Choices