Android Multimedia Framework Overview. Li Li, Solution and Service Wind River

Similar documents
Transcoding SDK. Professional Transcoding Engine

About MPEG Compression. More About Long-GOP Video

Image and video processing

TotalCode Studio. Professional desktop encoding for digital distribution and over the top services NEW FEATURES

ZEN / ZEN Vision Series Video Encoding Guidelines

Streaming Media. Advanced Audio. Erik Noreke Standardization Consultant Chair, OpenSL ES. Copyright Khronos Group, Page 1

Dolby Vision. Profiles and levels V1.2.9

Computing in the Modern World

Multimedia Standards

All-in-one content repurposing and delivery. Actus Digital

UNDERSTANDING MUSIC & VIDEO FORMATS

Completing the Multimedia Architecture

Sounding Better Than Ever: High Quality Audio. Simon Forrest Connected Home Marketing

JPEG 2000 Archive Profiles

Media player for windows 10 free download

Dolby Vision. Streams within the HTTP Live Streaming format

Audio issues in MIR evaluation

OpenMAX AL, OpenSL ES

CSCD 443/533 Advanced Networks Fall 2017

4K Video Processing and Streaming Platform on TX1

Streaming Technologies Glossary

JPlaylist. Offline Playlist Editing OVERVIEW PRODUCT FEATURES

TotalCode Enterprise is an ideal solution for video-on-demand content preparation for any screen anywhere.

Scientific Working Group on Digital Evidence

Dolby Vision. Profiles and levels

4K Video Processing and Streaming Platform on TX1

Enhanced Audio Features for High- Definition Broadcasts and Discs. Roland Vlaicu Dolby Laboratories, Inc.

The Mobile Advantage. Erik Noreke Independent Standardization Consultant Chair, OpenSL ES. Copyright Khronos Group, Page 1

Cisco AnyRes Video on Demand Analysis Node

Skill Area 214: Use a Multimedia Software. Software Application (SWA)

Digital Audio Basics

A Linux multimedia platform for SH-Mobile processors

IPTV 1

Matrox Mojito MAX. Release Notes (Mac OS version) April 22, 2015 USO RESTRITO Y

File Format for Storage of Multimedia Information Peter Armyanov

The Perils of Preserving Digitized and Born-Digital Video

The Pros and Cons of JPEG 2000 for Video Archiving. Katty Van Mele November, 2010

Our Technology Expertise for Software Engineering Services. AceThought Services Your Partner in Innovation

XAVCTM. Specification Overview. Revision 2 Sep. 13 th, 2013 First Edition Nov. 1 st, 2012

Media Player MP-2020 Specification Sheet MP Media Player for 2.5 Hard disk Specification Sheet

IDM 221. Web Design I. IDM 221: Web Authoring I 1

Elecard XMuxer Pro. User Guide. Version 2.6

Efficient Video Processing on Embedded GPU

Multimedia on the Web

History of Video in Linux

K2 Media Server & Storage Platform

Introduction. Input Format Support

Windows Media Player Manual For Vista Xp Dvd Decoder

Introduction to Video Encoding

Optimizing A/V Content For Mobile Delivery

H.264 AVC 4k Decoder V.1.0, 2014

Multimedia applications

EzyCast Mobile Mobile video, made simple.

My Media Hub Quick Start Guide for USB Devices. Sharing media content with the Fetch Box from a USB device

Internet Streaming Media Alliance Ultravox Provisional Specification Version 1.0 November 2007

1.0 Y 1.1 Y 2.0 Y 3.0 N FAT 16 (standard) FAT 32 exfat

Dolby Vision. Streams within the MPEG-DASH format

REAL-TIME STREAMING VIDEO FOCUSED ON MOBILE DEVICES

Data Representation. Reminders. Sound What is sound? Interpreting bits to give them meaning. Part 4: Media - Sound, Video, Compression

CinemaDNG RAW Workflow for Blackmagic Cameras

JMultiviewer. SDI, HD-SDI, HDMI, Composite, IP, HTTP, UDP, RTP, RTSP, RTMP, HLS, NDI Multi-View and Monitoring OVERVIEW PRODUCT FEATURES

MPEG-4: Overview. Multimedia Naresuan University

Quicktime Player Error Codec For Avi Per

Matrox MXO2 Release Notes (Mac OS version)

Streaming Media Portability

NEW PRODUCTS AND FUNCTIONALITY 2013 FAB TELETEXT DATA GENERATOR FOR HD-SDI

Fundamental of Digital Media Design. Introduction to Audio

Review LeKuSoft DVD Ripper best sites for software download ]

MTS4EA Elementary Stream Analyzer

ISO/IEC INTERNATIONAL STANDARD. Information technology Multimedia application format (MPEG-A) Part 4: Musical slide show application format

Tech Note - 05 Surveillance Systems that Work! Calculating Recorded Volume Disk Space

MAGIX Software GmbH CHALLENGES CASE STUDY

xview Data Sheet XTRMX April 2018 xtrmx.com/xview

Blu-ray Disc DMP-BDT280

ContentAgent s automated and scalable. to any Avid ecosystem. Whether ingesting content into a Media Video Cropping/Padding/Scaling

PLAYBACK COMPATIBILITY LIST

Panasonic DMP-BD83EB-K Smart Network Blu-ray Player

JPlayout. SD/HD SDI & IP Playout Solution OVERVIEW PRODUCT FEATURES

Lesson #8 Optical Storage Media. 8. Optical Storage Media - Copyright Denis Hamelin - Ryerson University

OneClick Video Converter Free Version

Vantage 7.1 Transcode/Transcode Pro Encode Format Support

BONES. PlayoutMaster. 1

Skill Area 325: Deliver the Multimedia content through various media. Multimedia and Web Design (MWD)

HTML 5 and CSS 3, Illustrated Complete. Unit K: Incorporating Video and Audio

SubTech 1. Short intro on different subtitle standards ISOBMFF, MPEG-DASH, DVB-DASH, DASH-IF, CMAF, HLS

EDIUS 7 Supported Format for Base-band Capture

Nero Digital Branding Guidelines

Performance analysis of AAC audio codec and comparison of Dirac Video Codec with AVS-china. Under guidance of Dr.K.R.Rao Submitted By, ASHWINI S URS

Georgios Tziritas Computer Science Department

PCIe/104 or PCI/104-Express 4-Channel Audio/Video Codec Model 953 User's Manual Rev.C September 2017

FOSDEM 3 February 2018, Brussels. Tim-Philipp Müller < >

Multi-Source Analyzer (MSA) Series

Helix DNA Framework. Yann Cadic Quentin Désert. Multimedia Programming Helsinki University of Technology

enjoy pure digital perfection USB host HDMI out 1080P Up-scaling Full HD (1080) up-scaling

Traffic Theory, Piracy, and the New Home Jerry Pierce

Core Audio. MSDOSX : Lecture 20

Specification for the use of Video and Audio Coding in DVB services delivered directly over IP protocols

Noisy Androids Mastering the Android Media Framework

Any DVD Cloner Platinum Manual

Multimedia Networking

Transcription:

Android Multimedia Framework Overview Li Li, Solution and Service Wind River

Agenda What is Multimedia in a mobile device MPEG standard File format Codec Android Multimedia Framework OpenCORE OpenMAX What we can do with this 2

What is Multimedia in mobile device Multimedia is the most important component in modern mobile device with modem Multimedia framework is used to process video/audio input and output to satisfy certain functionality including Video and Audio Storage video and audio in media Playback video and audio Record video and audio Audio, Video devices/input Audio Video Perfect! 3

Codec/Decode and File Format What is their relationship Container format specify how to wrap various meta-data/stream, most is coded data by codec Theoretically, a container format could wrap any kinds of data, most container formats are specialized for specific data requirements Container does not describe how the data warped is encoded. Always a program be able to identify and open a file,but not be able to decode contained data. You maybe were told to download right decoder. 4

Codec/Decode and File Format Codec/Decode device or computer program capable of encoding and/or decoding a digital data stream or signal A codec encodes a data stream or signal for transmission, storage or encryption and decode it for playback or editing. codec = coder + decoder Raw multimedia data is huge, codec compress them to facilitate store and transfer 5

Codec/Decode and File Format File Format Also call container or wrapper format Specify how different data elements and metadata coexist in a computer file or stream Always contain coded video, coded audio, subtitles, chapterinformation, maybe advertisement and synchronization information needed to playback various streams together 6

Codec/Decode and File Format Codec - Audio AAC, MPEG-4 Audio Part 3 subpart 4 AC-3, Dolby Digital codec AMR, Adaptive Multi-Rate Audio codec AMR-WB, Adaptive Multi-Rate Wideband MP2, MPEG1/2 Audio Layer II MP3, MPEG2 Audio Layer III Vorbis, OGG audio, opensource project Wma, Windows Media Audio RealAudio, RealNetwork ALAC, Apple Lossless Audio Codec 7

Codec -Video MPEG 1, MPEG 1 Part 2 MPEG 2/H.262, MPEG 2 part 2 MPEG 4 ASP, MPEG 4 Part 2 MPEG 4 AVC/H.264, MPEG 4 Part 10 VC 1 VC 2 VC 3 Codec/Decode and File Format The informal name of SMTP 421M video codec standard Initially developed as a propriety video format by Microsoft before it was released as a formal SMPTE standard video format on April 3, 2006 An open and royalty-free video compression format, Dirac. 2010 the SMPTE standardized Dirac Pro as VC 2. DNXHD, Digital Nonlinear Extensible High Definition a lossy high-definition video post-production codec engineered for multi-generation compositing with reduced storage and bandwith requirements The DNXHD codec was submitted to the SMPTE organization as the framework for the VC-3 family of standard. 8

Standard MPEG Moving Picture Experts Group. A working group of ISO/IEC in charge of the development of international standards for compression, decompression, processing and coded representation of moving pictures audio and their combination The standard for storage and retrieval of moving pictures and audio on storage media. Approved Nov. 1992 VCD MP2, MPEG-1 Audio Layer II The standard for digital television. Approved Nov. 1994 DVD Codec/Decode and File Format MP3, MPEG-2 Audio Layer III 9

MPEG -4 The standard for multimedia application a developing standard Codec/Decode and File Format divided into a number of parts Most are left to individual developers to decided whether to implement probably no complete implementations of the entrire MPEG-4 set of standards To deal with this, the standard includes concept of profiles and levels allowing a specific set of capabilities to be defined in a manner appropriate for a subset of applications 10

Codec/Decode and File Format MPEG-4 part 2, Advanced Simple Profile used by codecs such as DiVX, Xvid, Nero Digital and 3ivx, Quicktime 6 MPEG-4 part 10, MPEG-4 AVC (Advanced Video Coding)/H.264 used by x264 encoder, Nero Digital AVC, Quicktime 7, and highdefinition video media like Blu-ray Disc 11

Video/Audio container MPEG program stream standard container for MPEG-1 and MPEG-2 elementary streams on reasonably reliable media such as disks; used also on DVD- Video discs MPEG-2 program stream, MPEG-TS MP4 Codec/Decode and File Format Standard container for digital broadcasting and for transportation over unreliable media; used also on Blu-ray Disc Vedio; typically contains multiple video and audio stream, and an electronic program guide Standard audio and video container for the MPEG-4 multimedia portfolio, based on MPEG-4 Part 12 and JPEG 2000 Part 12 12

Container format parser to recognize and unwrap file Codec to encode/decode data. Synchronization among various stream Memory/Buffer management Stream track control, playback, backwards play, forward play Integrated into video/audio output system Take advantage of hardware accleration Hardware codec Hardware overlay Hardware audio flinger What need to do with Multimedia 13

Android Multimedia Framework 14

OpenCORE Initial Android Multimedia Framework Android multimedia subsystem provided by PacketVideo modular, extensible framework Combining independent media processing components file formats, codecs, streaming protocol components rendering compoments other elements in different ways to implement a wide variety of multimedia scenarios abstraction a conception of NODE the base of the modulization Implementation in form of NODE for recognizer module, parser module, codec module, sink module 15

OpenCORE Initial Android Multimedia Framework 16

OpenCORE Initial Android Multimedia Framework ADEC Node Sink Node AMIO Sync Paser Node VDEC Node Sink Node VMIO File Handler OMX HW Codec OMX SW Codec Data Control Linux hardware codec driver 17

OpenCORE Initial Android Multimedia Framework Container Format Parser Composer MPEG4 yes yes 3GPP yes yes 3GPP2 yes no MP3 yes no AAC yes no AMR yes yes WAV yes no Type Codec Decoder Encoder Comments Video H.263 yes yes Baseline Profile MPEG-4 yes yes Simple Profile AVC/H.264 yes yes Constrained Baseline Profile Audio MP3 yes no AAC yes no AAC, HE-AAC v1/v2 AMR-NB yes yes AMR-WB yes no 18

OpenMAX Bridge Codec/Decode to Multimedia Framework the Integration Layer (IL) interface with Open Core royalty-free, cross-platform API for comprehensive streaming media codec and application portability enable accelerated multimedia components to be developed, integrated and programmed across multiple operating systems and silicon platform The OpenMAX API will be shipped with processors to enable library and codec Rapidly and effectively make use of the full acceleration potential of new silicon regardless of the underlying hardware architecture 19

OpenMAX - Framework 20

OpenMAX Position in Android Multimedia Framework OpenCore OMX core (Software) OMX core (Hardware) Decoder Decoder Component Component H.263 H.264 Decoder Component AAC Decoder Decoder Component Component H263 H263 Decoder Component H263 21

OpenMAX API list For each OMX core, there are function points need to be implmented. pomx_init pomx_deinit pomx_componentnameenum pomx_gethandle pomx_freehandle pomx_getcomponentsofrole pomx_getroleofcomponent pomx_setuptunel pomx_getcontentpipe pomxconfigparser 22

One Sample of Openmax Design 23

Commercialization Functionality Does you support enough container format Does you support necessary codec Does you support stream, video over air Performance, critical Video performance. Frame per second Audio performance. High quality sound Synchronization between video and audio 24

Commercialization Take advantage of SoC capability Design OMX IL layer for specific hardware codec component Design Overlay take advantage of hardware gpu or video output controller Design high quality audio solution Whole system video buffer management scheme Share memory buffer between various hardware component Decrease memory copy as possible Synchronization scheme. Esp for some fault file Choose the right point to fix sync problem. In parser or codec. 25

Commercialization Video output Surface Flinger Overlay Data Overlay Control Gralloc Video data V4L2 driver Framebuffer Video Control Other data&control GPU 26

OpenCORE and Stagefright Android introduce Stagefright to replace OpenCORE start from éclair Either OpenCORE or Stagefright is linked to MediaPlayerService, so application level never know about them Both of them based on same conecption, but take different implementation Stagefright take parser and decode as a whole. Opencore take them as individual node Stagefright take parser, decoder, sink/output as serial operation. Opencore take them as parallel Different Sychronization mechanism Easier for Stagefright to develop parser Adopt OMX from OpenCORE 27

OpenCORE and Stagefright Short point and Stong point OpenCORE more stable and mature, low risk OpenCORE supports more container format and codec Stragefright is more easier to development. 28

29