Adobe
製品
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
その他の製品一覧
ソリューション
デジタルマーケティング
デジタルメディア
教育
金融機関
Web Experience Management
その他のソリューション
ラーニング サポート ダウンロード 会社情報
ご購入
アドビストア 安心のサポート& サービス
アカデミックストア 学生、教職員、個人向け
アドビライセンスストア 中小企業向け
ボリュームライセンスについて 企業、教育機関、官公庁向け
販売パートナー
キャンペーン情報
検索
 
情報 サインイン
ようこそ、 さん カート 注文状況 マイアカウント
マイアカウント
注文状況
アカウント情報の変更
コミュニケーションの設定を変更
サインアウト
サインインの目的 お客様のアカウントや体験版ダウンロード、製品の拡張機能、コミュニティエリアへのアクセスなどを管理するため
Adobe
製品 セクション ご購入   検索  
ソリューション 会社情報
サポート ラーニング
サインイン サインアウト 注文状況 マイアカウント
先行予約の提供開始予定日Date. 商品が発送されるまで、クレジットカードには課金されません。提供開始の予定日は変更される場合があります。 先行予約の提供開始予定日Date. ダウンロードの準備が整うまで、クレジットカードには課金されません。提供開始の予定日は変更される場合があります。
個数:
ご購入には学生・教職員個人版の購入資格の確認が必要です。
小計
カートの中身を見る
Adobe Developer Connection / モバイル&デバイスデベロッパーセンター /

Recommendations for encoding H.264 video for Flash Player 10.2 on mobile devices

著者 Fabio Sonnati

Fabio Sonnati
  • Progetto Sinergia

Content

  • Profile and level parameters
  • More details on hardware acceleration
  • Safe resolution targets
  • Encoding constraints and Adobe Media Encoder CS5 settings

Modified

4 April 2011

ページ ツール

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

タグ

Adobe Flash Player 10.2 for mobile can decode every video codec supported by Flash Player on the desktop: Sorenson video, On2 VP6, and H.264, but only H.264 can be decoded leveraging the built-in hardware acceleration. On2 VP6 and Sorenson use a purely software path.

H.264 is now the de facto standard for video on medium- and high-end mobile devices, and the vast majority of devices implement a hardware-based solution dedicated to H.264 video decoding acceleration. This assures better quality and lower power consumption.

Profile and level parameters

H.264 is a complex standard with several complex encoding techniques. To simplify support of the standard for any kind of device, the subset of encoding techniques and settings used by the encoder are defined by the profile and level parameters:

  • The most commonly used profile parameters are baseline, main, and high
  • Level parameters range from 1.0 to 5.1 (Flash Player supports every level and every profile)

Although only high-end devices are able to accelerate the most complex profiles and levels, every device with generic hardware acceleration can decode an H.264 video encoded in the baseline profile. Thus, it's a common best practice to encode mobile content with the baseline profile, which was indeed originally designed for low-power consumption and low decoding complexity.

More details on hardware acceleration

Flash Player can leverage hardware acceleration capabilities only if they are offered by the underlying operating system. For example, in Android 2.2 it is possible to accelerate the H.264 decoding in hardware (if the handset has such capabilities) but the color conversion, scaling, and compositing is performed by the CPU. When running in Android 3.0 (Honeycomb), Flash Player 10.2 (or AIR 2.6) can additionally leverage a full hardware H.264 decoding pipeline using the StageVideo object instead of the classic Video object.

This kind of hardware acceleration is necessary for optimal performance on wide screens (tablets) and at HD resolutions like 720p.

Safe resolution targets

You also have to consider that hardware decoders are not usually capable of decoding arbitrary resolutions. Therefore, it's important also to target a safe resolution. Remember that the list of accelerated resolutions can vary from device to device. You can achieve a good balance between performance and details, and a high support of hardware acceleration, using the resolutions in Table 1 for mobile phones (Android 2.2) and Table 2 for tablets (Android 3.0, RIM BlackBerry PlayBook).

Table 1. Recommended resolutions for H.264-encoded video on mobile phones

4:3 16:9
640 × 480 640 × 360
512 × 384 512 × 288
480 × 360 480 × 272

Table 2. Recommended resolutions for H.264-encoded video on tablets

4:3 16:9
– 1280 × 720
768 × 576 1024 × 576
640 × 480 640 × 360
512 × 384 512 × 288
480 × 360 480 × 272

Note: Every resolution in this table is a multiple of 8 or 16, which is an important best practice to achieve maximum compression efficiency.

Encoding constraints and Adobe Media Encoder CS5 settings

Video for mobile comes with a set of specific constraints you must consider. Previously I mentioned adhering to level, profile, and resolution constraints to ensure reasonable hardware acceleration.

You also have to target bit rates, which can be consumed using a mobile connection. Dynamic streaming can help in this scenario, serving the most appropriate bit rate for the current connection speed, but it's always important to find a good mix between resolution and bit rate to maximize user experiences in any condition.

Below are my recommended Adobe Media Encoder CS5 settings to target a generic mobile device that supports Flash Player 10.2:

Video settings

  • Format – multiplexing: F4V
  • Video – resolution (depends):
  •    For 16:9 content: 512 × 288
  •    For 4:3 content: 480 × 360
  • Frames per second (fps): Same as source footage
  • Profile: Baseline
  • Level: 3.0 or 3.1 (two to three reference frames will be used)
  • Bit rate: VBR, two-pass
  • Target bit rate: 300–550 kbit/sec. depending on video "complexity"
  • Maximum bit rate: (1.5 to 1.6) × target bit rate
  • Keyframe (depends):
  •    For progressive downloading: fps × (3 to 4)
  •    For streaming from Flash Media Server (because of the enhanced seek capability): fps × (6 to 8)

Audio settings

  • Codec: AAC, stereo
  • Frequency: 44.1 kHz
  • Audio quality: High
  • Bit rate: 80 kbit/sec.

For the final encoding, enable the "Use max quality" check box.

More Like This

  • Creating video content for Flash Lite mobile devices
  • Building Flex mobile applications with Flash Builder "Burrito" preview and BlackBerry Tablet OS SDK
  • Flash Lite 3 training video
  • Protecting Flash Lite content packaged in a Symbian installer with OMA DRM 1.0 Forward Lock
  • Mobile workflow in Adobe CS4
  • Understanding video formats and controlling video volume in Flash Lite 3.x
  • HTC Hero: The first Android device with Flash
  • Flash Lite 3 video capabilities
  • Taking your brand mobile
  • Beginner's guide to deploying video on mobile devices with Flash

製品

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • モバイルアプリ
  • Photoshop
  • Touch Apps

ソリューション

  • デジタルマーケティング
  • コンテンツオーサリング
  • Web Experience Management

業種別ソリューション

  • 教育
  • 金融機関

サポート

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

ラーニング

  • ADC: Adobe Developer Center
  • Adobe TV
  • Design Magazine
  • Photoshop Magazine
  • Focus In

ご購入方法

  • アドビストア
  • アカデミックストア
  • アドビライセンスストア
  • ボリュームライセンスについて
  • 販売パートナー
  • キャンペーン情報

ダウンロード

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

会社情報

  • プレスルーム
  • パートナープログラム
  • 企業の社会的責任(英語)
  • 採用情報
  • 投資家の皆様へ(英語)
  • イベント&セミナー
  • Legal(英語)
  • セキュリティ
  • お問い合わせ
国・地域および言語の選択 日本(変更)
国・地域および言語の選択 閉じる

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.

利用条件 | プライバシーポリシーとCookie (更新)

Reviewed by TRUSTe: site privacy statement