文件名称:
佳品教程Learning AV Foundation.pdf
开发工具:
文件大小: 2mb
下载次数: 0
上传时间: 2019-07-04
详细说明:AvFoundation 开发教程Addison-Wesley Learning Series
LEARNING Javascript
OBJECTIVE-C 2.0 LEARNING COCOS2D
LEARNING ANDROID
GAME PROGRAMMING
A Hands-Os Gu de to the Fundamenta o! Modern Javascrip
Hands-On Guid: tl Building 0s GimIs with
AHands-onGuinlet Bilong You- First Android Game
00 5TROU GO
ROBERT CLAIR
KAY WE NUEHLICH
t Addison-Wesley
Visit informit. com/learningseries for a complete list of available publications
The Addison-Wesley Learning Series is a collection of hands-on programming
guides that help you quickly learn a new technology or language so you can
apply what you've learned right away
Each title comes with sample code for the application or applications built in
the text. This code is fully annotated and can be reused in your own projects
with no strings attached. Many chapters end with a series of exercises to
encourage you to reexamine what you have just learned, and to tweak or
adjust the code as a way of learning
Titles in this series take a simple approach they get you going right away and
leave you with the ability to walk off and build your own application and apply
the language or technology to whatever you are working on
☆ Addison- Wesley informIT
Safari
ALWAYS LEARNING
PEARSON
earning av
Foundation
A Hands-on Guide to
Mastering the Av Foundation
Framework
Bob mccune
六 Addison-Wesley
Upper Saddle river,NJ· Boston· Indianapolis· San francisco
ew york· Toronto· Montreal· London· Munich· Paris· Madrid
Cape Town· Sydney· Tokyo· Singapore· Mexico city
Many of the designations used by manufacturers and sellers to distinguish their products
Editor-in-Chief
are claimed as trademarks. Where those designations appear in this book, and the
Mark taub
publisher was aware of a trademark claim, the designations have been printed with initial
capital letters or in all capitals.
Senior Acquisitions
Editor
The author and publisher have taken care in the preparation of this book, but make no
Trina macdonald
expressed or implied warranty of any kind and assume no responsibility for errors or
Development
omissions. No liability is assumed for incidental or consequential damages in connection
Edito
with or arising out of the use of the information or programs contained herein
Chris Zahn
For information about buying this title in bulk quantities, or for special sales opportunities
Managing Editor
(which may include electronic versions; custom cover designs; and content particular to
Kristy Hart
your business, training goals, marketing focus, or branding interests), please contact our
corporatesalesdepartmentatcorpsalespearsoned.comor(800)382-3419
Project Editor
Elaine wiley
For government sales inquiries, please contact governmentsalespearsoned com
Copy Editor
ForquestionsaboutsalesoutsidetheU.s.,pleasecontactinternationalpearsoned.com
Barbara hacha
Visit us on the Web: intermit. com/aw
Senior Indexer
Cheryl Lenser
Library of Congress Control Number: 2014944245
Proofreader
Copyright c 2015 Pearson Education, Inc
Katherine matejka
All rights reserved. Printed in the United states of America. This publication is protected
Technical
by copyright, and permission must be obtained from the publisher prior to any prohibited
Reviewers
reproduction, storage in a retrieval system, or transmission in any form or by any means
Chris Adamson
ng, recording, or like
Ryder Mackay
material from this work, please submit a written request to Pearson Education, It
Jon steinmetz
Permissions Department, One Lake Street, Upper Saddle River, New Jersey o7458, or you
Editorial Assistant
y fax your request to(201)236-3290
Olivia Baseglo
lSBN-13:9780321961808
Cover Designer
SBN-10:0321961803
Chuti Prasertsith
Text printed in the United States on recycled paper at Courier in Westford, Massachusetts
Senior Compositor
Gloria schurick
First printing: October 2014
I dedicate this book to my loving wife, Linda,
who supports me in all my crazy endeavors
Contents
Preface xiii
Part av foundation essentials 1
1 Getting Started with AV Foundation 3
What Is av foundation? 3
Where does av foundation Fit? 4
Decomposing AV Foundation 6
Understanding Digital Media 7
Digital Media compression 13
Container formats 18
Hello av foundation 19
Summary 23
Challenge 24
2 Playing and Recording Audio 25
Mac and ios Audio environments 25
Understanding audio sessions 26
Audio playback with AVAudio Player 28
Building an Audio Looper 30
Configuring the Audio session 34
Handling Interruptions 36
Responding to Route Changes 40
Audio recording with AVAudioRecorder 42
Building a voice Memo App 45
Enabling Audio Metering 52
Summary 57
3 Working with Assets and Metadata 59
Understanding assets 59
Creating an Asset 60
Asynchronous Loading 63
Media metadata 65
Working with Metadata 70
Building the MetaManager App 76
Saving metadata 98
Summary 101
Challenge 101
Contents
4 Playing Video 103
Playback Overview 103
Playback Recipe 107
Working with Time 109
Building a video player 110
Time observation 118
Creating a Visual Scrubber 124
Showing Subtitles 129
Airplay 133
Summary 136
Challenge 136
5 Using AV Kit 137
AV Kit for ios 137
AV Kit for mac0sⅩ140
First steps 140
Control styles 144
Going Further 147
Working with Chapters 151
Enabling Trimming 157
Exporting 159
Movie modernization 161
Summary 165
Challenge 166
Part l Media Capture 167
6 Capturing Media 169
Capture Overview 169
Simple Recipe 174
Building
ra App 175
Summary 208
Challenge 208
Contents
7 Using Advanced Capture Features 209
Video Zooming 20
Face Detection 216
Machine-Readable code detection 228
Using High Frame Rate Capture 241
ng Video 247
Understanding CMSample Buffer 249
Summary 257
Challenge 258
8 Reading and Writing Media 259
Overview 259
Building an Audio Waveform View 265
Advanced Capture Recording 276
Summary 293
Challenge 293
Part I Media Creation and Editing 295
9 Composing and Editing Media 297
Composing Media 297
Norking with Time 30
Basic Recipe 303
Introducing 15 Seconds 307
Building a Composition 311
Exporting the composition 316
Summary 321
Challenge 322
Contents
10 Mixing Audio 323
Mixing Audio 323
Mixing Audio in the 15 Seconds App 327
333
Challenge 333
11 Building video Transitions 335
Overview 335
Conceptual steps 337
15 Seconds: Adding video Transitions 348
ry360
Challenge 360
12 Layering Animated Content 361
Using Core Animation 361
Using Core Animation with AV Foundation 363
15 Seconds: Adding Animated Titles 367
Preparing the
ion 378
383
Challenge 384
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.