i.MX Linux Multimedia
Framework
User's Guide
Document Number: 924-76335
Rev. 3.0.0
8.2012
How to Reach Us:
Home Page:
www.freescale.com
Web Support:
http://www.freescale.com/support
USA/Europe or Locations Not Listed:
Freescale Semiconductor
Technical Information Center, EL516
2100 East Elliot Road
Tempe, Arizona 85284
+1-800-521-6274 or +1-480-768-2130
www.freescale.com/support
Europe, Middle East, and Africa:
Freescale Halbleiter Deutschland GmbH
Technical Information Center
Schatzbogen 7
81829 Muenchen, Germany
+44 1296 380 456 (English)
+46 8 52200080 (English)
+49 89 92103 559 (German)
+33 1 69 35 48 48 (French)
www.freescale.com/support
Japan:
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku,
Tokyo 153-0064, Japan
0120 191014 or +81 3 5437 9125
support.japan@freescale.com
Asia/Pacific:
Freescale Semiconductor China Ltd.
Exchange Building 23F
No. 118 Jianguo Road
Chaoyang District
Beijing 100022
China
+86 010 5879 8000
support.asia@freescale.com
For Literature Requests Only:
Freescale Semiconductor Literature Distribution Center
P.O. Box 5405
Denver, Colorado 80217
1-800-441-2447 or 303-675-2140
Fax: 303-675-2150
LDCForFreescaleSemiconductor@hibbertgroup.com
Information in this document is provided solely to enable system and software
implementers to use Freescale Semiconductor products. There are no express or
implied copyright licenses granted hereunder to design or fabricate any integrated
circuits or integrated circuits based on the information in this document.
Freescale Semiconductor reserves the right to make changes without further notice
to any products herein. Freescale Semiconductor makes no warranty, representation
or guarantee regarding the suitability of its products for any particular purpose, nor
does Freescale Semiconductor assume any liability arising out of the application or
use of any product or circuit, and specifically disclaims any and all liability, including
without limitation consequential or incidental damages. “Typical” parameters that
may be provided in Freescale Semiconductor data sheets and/or specifications can
and do vary in different applications and actual performance may vary over time. All
operating parameters, including “Typicals”, must be validated for each customer
application by customer’s technical experts. Freescale Semiconductor does not
convey any license under its patent rights nor the rights of others. Freescale
Semiconductor products are not designed, intended, or authorized for use as
components in systems intended for surgical implant into the body, or other
applications intended to support or sustain life, or for any other application in which
the failure of the Freescale Semiconductor product could create a situation where
personal injury or death may occur. Should Buyer purchase or use Freescale
Semiconductor products for any such unintended or unauthorized application, Buyer
shall indemnify and hold Freescale Semiconductor and its officers, employees,
subsidiaries, affiliates, and distributors harmless against all claims, costs, damages,
and expenses, and reasonable attorney fees arising out of, directly or indirectly, any
claim of personal injury or death associated with such unintended or unauthorized
use, even if such claim alleges that Freescale Semiconductor was negligent
regarding the design or manufacture of the part.
Freescale and the Freescale logo are trademarks or registered trademarks of
Freescale Semiconductor, Inc. in the U.S. and other countries. All other product or
service names are the property of their respective owners. Microsoft and Windows
are registered trademarks of Microsoft Corporation.
© Freescale Semiconductor, Inc. 2012. All rights reserved..
Contents
Freescale Semiconductor i.MX Linux Multimedia Framework User's Guide, Rev 3.0.0 iii
About This Book ..................................................................................................... v
Audience ....................................................................................................................................v
Organization ...............................................................................................................................v
Conventions ...............................................................................................................................v
References ..................................................................................................................................v
Definitions, Acronyms, and Abbreviations .............................................................................. vi
Chapter 1 Installing and Building the Plugins ...................................................... 1-1
1.1 Building the Plugins with LTIB ................................................................................. 1-1
1.1.1 BSP Requirements ..................................................................................................... 1-1
1.1.2 Building the Plugins with LTIB ................................................................................. 1-2
1.2 Installing/Building the Plugins on Ubuntu ................................................................. 1-5
1.2.1 BSP Requirements ..................................................................................................... 1-5
1.2.2 Installing/Building the Plugins ................................................................................... 1-5
Chapter 2 Testing the Installation........................................................................ 2-9
2.1 Testing multimedia environment setting ................................................................... 2-9
2.1.1 Audio output Setting .................................................................................................. 2-9
2.1.2 Audio input .............................................................................................................. 2-10
2.1.3 Video setting ............................................................................................................ 2-11
2.2 Testing the Codecs with Gstreamer ......................................................................... 2-11
2.2.1 gst-inspect Tool ........................................................................................................ 2-11
2.2.2 gst-launch Tool ........................................................................................................ 2-13
2.2.3 gplay Player .............................................................................................................. 2-17
2.2.4 Totem Player ............................................................................................................ 2-18
2.3 Testing the Core Codec Libraries ............................................................................ 2-19
2.4 Debug exception in multimedia plugin .................................................................... 2-19
Appendix A : Multi-overlay support .................................................................. 2-20
A.1 How to use mfw_isink ............................................................................................. 2-21
A.1.1 gst-launch ................................................................................................................. 2-21
A.1.2 Totem player ............................................................................................................ 2-22
iv i.MX Linux Multimedia Framework User's Guide, Rev 3.0. 0 Freescale Semiconductor
Appendix B : Streaming support ....................................................................... 2-24
B.1 http support .............................................................................................................. 2-24
B.2 DLNA/UPnP support ............................................................................................... 2-24
v i.MX Linux Multimedia Framework User's Guide, Rev 3.0.0 Freescale Semiconductor
About This Book
This document describes the package contents and provides instructions for building the libraries
that are based on the Gstreamer architecture. Gstreamer is a powerful, versatile framework for
creating streaming media applications.
Audience
This document is intended for software, hardware, and system engineers who are planning to use
the Multimedia codecs with Gstreamer architecture and for anyone who wants to understand
more about the Multimedia codecs. A basic understanding of Gstreamer and LTIB architecture is
required.
Organization
This document contains the following chapters.
Chapter 1 Identifies the BSP requirements, and explains how to build the multimedia
components from LTIB or install multimedia components on Ubuntu OS
Chapter 2 Explains how to test and use the multimedia codecs.
Conventions
This document uses the following conventions:
Courier Is used to identify commands, explicit command parameters, code
examples, expressions, data types, and directives.
Italic Is used for emphasis, to identify new terms. For replaceable command
parameters it will start with $.
References
The following documents were referenced to build this document.
1. i.MX Linux User‟s Guide
2. i.MX Linux Multimedia Framework Release Notes
3. i.MX Advanced ToolKit Standard User‟s Guide
评论0