アドビ
製品

トップ

  • Adobe Creative Cloud
  • Creative Cloudグループ版
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst

教育向け

  • 学生・教職員個人向け
  • 小・中・高等学校機関
  • 高等教育機関

Adobe Creative Cloud

  • Adobe Creative Cloudとは?

デザインと写真処理

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom
  • Elementsファミリー

ビデオ

  • Adobe Premiere Pro
  • After Effects

Web開発&HTML5

  • Edgeツール&サービス [新規ウィンドウで開く]
  • Dreamweaver
  • ゲーム [新規ウィンドウで開く]
  • モバイルアプリ

Adobe Marketing Cloud

  • Adobe Marketing Cloudとは?
  • 分析
  • Webエクスペリエンスマネジメント
  • 広告管理
  • テストとターゲティング
  • ソーシャルマーケティング

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Target

  • Test&Target
  • Recommendations

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Meida Manager

  • AdLens

ドキュメントサービス

  • Acrobat
  • FormsCentral [新規ウィンドウで開く]
  • SendNow [新規ウィンドウで開く]
  • Acrobat.com [新規ウィンドウで開く]

パブリッシング

  • Digital Publishing Suite

  • すべての製品を見る
ビジネスソリューション

Digital Media

  • Creative Cloudグループ版
  • ユーザー事例
  • Digital Media事例

ビジネスニーズ別

  • 分析
  • デジタルパブリッシング
  • ドキュメント管理
  • 広告管理
  • ソーシャルマーケティング
  • テストとターゲティング
  • ビデオ編集と公開
  • Web開発 [新規ウィンドウで開く]
  • Webエクスペリエンスマネジメント
  • すべてのビジネスニーズを見る

Digital Marketing

  • Adobe Marketing Cloud
  •  
  • Digital Marekting事例

業種別

  • 放送業界
  • 教育機関
  • 金融機関
  • 行政機関
  • 出版
  • 小売
  • 全業種を見る
サポートとラーニング

サポート

  • サポートホーム
  • サポートプログラム
  • 製品ヘルプ
  • ダウンロードとインストールヘルプ
  • Adobe Creative Cloud メンバーシップサポート
  • サポートお問い合わせ

ラーニング

  • ラーニングとチュートリアル
  • マーケター向けトレーニングサービス [新規ウィンドウで開く]
  • Photoshopマガジン
  • デザインマガジン
  • Focus In(ビデオ制作者向け)
  • Adobe Developer Connection
  • アトリエ(初心者向け写真編集)
  • Adobe Marketing Center
  • Adobe Marketing Cloud Japan Blog [新規ウィンドウで開く]
  • 認定制度
ダウンロード
  • 体験版
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • すべてのダウンロードを見る
会社情報
  • 採用情報
  • 投資家の皆様へ(英語)
  • プレスルーム
  • プライバシー
  • 企業の社会的責任(CSR)
  • ショーケース
  • お問い合わせ
  • その他の会社情報
ご購入
  • 個人・プロフェッショナル向け製品
  • 学生・教職員向け製品
  • 小中規模ビジネス向け製品
  • ライセンスについて
  • キャンペーン情報
  • Adobe Marketing Cloudお問合せ [新規ウィンドウで開く]
  • 販売パートナー
検索
 
情報 サインイン
サインインの目的 お客様のアカウントや体験版ダウンロード、製品の拡張機能、コミュニティエリアへのアクセスなどを管理するため
ようこそ、さん
My Adobe
注文状況
ユーザー情報
マイアカウント
製品およびサービスの登録状況
サインアウト
カート
プライバシー My Adobe
アドビ
製品 セクション 購入   検索  
ソリューション会社情報
サポートラーニング
サインイン サインアウト プライバシー My Adobe
先行予約の提供開始予定日Date. 商品が発送されるまで、クレジットカードには課金されません。提供開始の予定日は変更される場合があります。 先行予約の提供開始予定日Date. ダウンロードの準備が整うまで、クレジットカードには課金されません。提供開始の予定日は変更される場合があります。
個数:
(消費税を含む )
ご購入には学生・教職員個人版の購入資格の確認が必要です。
小計 (税込)
キャンペーン ( 税込)
送料( 税込)
消費税
Calculated at checkout
合計 ( 税込)
カートの中身を見る
Adobe Developer Connection [ADC] / Flash Media Serverデベロッパーセンター /

Live multicast streaming using OSMF

by David Hassoun

David Hassoun
  • david.realeyes.com

著者 John Crosby

John Crosby
  • john.realeyes.com

Content

  • Setting up the project
  • Creating the manifest file
  • Running the application
  • Where to go from here

Created

5 November 2010

ページ ツール

Facebookでシェア
Twitterでツイート
LinkedInでシェア
ブックマーク
印刷

この記事に設定されたタグ

encoding | decodingFlash BuilderFlash Media ServerFlash Professional CS5OSMFstreamingvideo

必要条件

この記事に必要な予備知識

Working knowledge of ActionScript 3 and Flash Builder or Flash Professional is recommended for this tutorial.

ユーザーレベル

中級

必要な製品

  • Flash Professional CS5 (Download trial)
  • Flash Builder (Download trial)
  • Flash Media Server (Download trial)
  • Flash Media Live Encoder
  • Flash Player 10.1

サンプルファイル

  • osmf_multicast_samples.zip

In this article you will create a basic MediaFactory-driven Open Source Media Framework (OSMF) 1.5 player and use the updated F4M file format specification to play back a live multicast P2P stream with the help of the Adobe Flash Media Live Encoder, Adobe Flash Media Server 4, and the Multicast Configuration tool that comes with it. When used together, these tools provide a powerful, easy-to-implement solution for delivering video with enhanced reach and capabilities.

The new Multicast Configuration tool makes it easy to create an OSMF-ready F4M manifest file to use with any RTMP based video publishing tool, including the free Flash Media Live Encoder, and to work with the new RTMFP multicast application that ships with Adobe Flash Media Server.

Note: The version of this tool that ships with Flash Media Server 4 is outdated and will not work with the OSMF implementation of multicast. The Multicast Configuration tool included in the sample file for this article is the latest version and should be used in place of the one that ships with Flash Media Server 4.

This article covers the following topics:

  • Using the Adobe Flash Media Server 4 Multicast Configuration tool
  • Using an F4M external XML based file to define and load the appropriate content
  • Implementing a multicast P2P stream via an F4M file

Setting up the project

You can use Adobe Flash Builder 4 or Adobe Flash Professional CS5 to complete the steps in this article. After downloading the sample files for this article, follow the steps below to get started.

If you're using Flash Builder:

  1. Choose File > Import > Flash Builder Project, select the sample ZIP file, and click Finish.
  2. Open the file OSMF_MulticastF4MSample.as in the {SAMPLES_PROJECT}/src directory.
  3. To set the class file as the application file to compile, right-click the OSMF_MulticastF4MSample.as file in the Package explorer and select Set As Default Application. This will add the project to the list of compilable applications. A blue dot on the file icon indicates that the file is the default application file.

If you're using Flash Professional:

  1. Unzip the sample ZIP file.
  2. In the OSMF_MulticastSample folder, open the src/OSMF_SampleTemplate.fla and save it as OSMF_MulticastF4MSample.fla.
  3. Change the document class for the file (in the Property inspector) to OSMF_MulticastF4MSample.

Creating the manifest file

Follow these steps to create the manifest file:

  1. Open the {SAMPLES_PROJECT}/multicast_configurator/configurator.html file in a browser.

Note: The version of this tool that ships with Flash Media Server 4 is outdated and will not work with the OSMF implementation of multicast. The Multicast Configuration tool included in the sample file for this article is the latest version and should be used in place of the one that ships with Flash Media Server 4.

  1. Once the Multicast Configuration tool is open, select Fusion for the multicast type.
  2. For the RTMFP URI, enter rtmfp://localhost/multicast.
  3. For the Stream Name, enter livestream.
  4. For the Publish Password, enter realeyes.
  5. Leave the Group Name at its default value: fms.multicast.example.
  6. Leave the IP Multicast Address and Port at its default value, 224.0.0.254:30000 (see Figure 1).
Flash Media Server 4 Multicast Configuration tool
Figure 1. Flash Media Server 4 Multicast Configuration tool
  1. Click Generate. This will create your Publisher Stream Name and allow you to save the manifest.f4m file.
  2. Click Save Manifest File, and save the file as manifest.f4m in the {SAMPLES_PROJECT}/src/assets directory.
  3. Click Copy to copy the Publisher Stream Name to the clipboard.

Running the application

Now that you have a manifest file and the stream name, follow these steps to run the sample application:

  1. Start Flash Media Live Encoder, and paste the Clipboard contents in the Stream setting.
  2. Make sure the FMS URL is set to rtmp://[YOUR SERVER ADDRESS]/multicast (see Figure 2). You can click Connect to see that it works, although it's not necessary.

Configuring Flash Media Live Encoder

Figure 2. Configuring Flash Media Live Encoder
  1. Return to Flash Professional or Flash Builder and open the {SAMPLES_PROJECT}/src/OSMF_MulticastF4MSample.as file.
  2. In the initPlayer() method, change the parameter that is passed to the URLResource() constructor from DYNAMIC_STREAMING to MULTICAST_F4M:
//the pointer to the media - change it to MULTICAST_F4M and review the F4M var resource:URLResource = new URLResource( MULTICAST_F4M );
  1. Save the file and run the application.
  2. Start Flash Media Live Encoder. After a few seconds, you should see the stream in your application (see Figure 3).

Video stream shown in a browser

Figure 3. Video stream shown in a browser

Where to go from here

For more information on multicast and OSMF, see the Open Source Media Framework Developer's Guide (PDF, 1 MB) or visit the Open Source Media Framework website. You may also want to explore the sample projects and templates in the Video Technology Center and the Flash Media Server Developer Center.

To learn how to make a multicast video player without using the MediaFactory class and an F4M manifest file, read the companion article, Creating a simple multicast video player using OSMF.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License

More Like This

  • HTTP Dynamic Streaming with Flash Access protection
  • Encoding options for H.264 video
  • Beginner's guide to using ActionScript 3.0 with Flash Media Server 3.5
  • Beginner's guide to streaming audio through Flash Media Server 3.5
  • Beginner's guide to dynamic streaming with Flash Media Server 3.5
  • Beginner's guide to streaming live video with Flash Media Server 3.5
  • Beginner's guide to installing Flash Media Server 3.5
  • Drilling down into new features of Flash Media Server 3
  • H.264 for the rest of us
  • Explore video content protection measures enabled by Flash Media Interactive Server 3.5

製品

  • Adobe Creative Cloud
  • Creative Cloudグループ版
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elementsファミリー
  • SiteCatalyst
  • 教育向け

ダウンロード

  • 体験版
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

サポート

  • ヘルプ&サポート
  • 注文と返品
  • ダウンロードに関するヘルプ
  • ユーザー登録に関するヘルプ

ラーニング

  • トレーニング
  • Adobe TV
  • デザインマガジン
  • Photoshopマガジン
  • Focus In(ビデオ制作者向け)
  • Adobe Developer Connection [ADC]
  • 初心者向け写真編集
  • Adobe Marketing Cloud Japan Blog

ご購入

  • 個人・プロフェッショナル向け製品
  • 学生・教職員向け製品
  • 小中規模ビジネス向け製品
  • ライセンスについて
  • キャンペーン情報
  • 販売パートナー

会社情報

  • プレスルーム
  • パートナープログラム
  • 企業の社会的責任(CSR)
  • 採用情報
  • 投資家の皆様へ(英語)
  • イベント
  • 法的事項
  • セキュリティ
  • お問い合わせ
地域を選択してください 日本(変更)
地域を選択してください 閉じる

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 Software Ireland Ltd. All rights reserved.

利用条件 | プライバシー | Cookie

Reviewed by TRUSTe: site privacy statement