๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Developing Microsoft Media Foundation Applications

โœ Scribed by Anton Polinger


Publisher
Microsoft Press
Year
2011
Tongue
English
Leaves
385
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Create powerful and professional media applications and components with Microsoftยฎ Media Foundation--and deliver the next generation of high-definition multimedia. Led by an expert who has developed Microsoft media technologies over the past decade, you'll learn how to build applications that can capture different types of video and audio files, process media information, and stream media over the Internet. Discover how to: Get a complete introduction to the Media Foundation API Transfer your skills with Microsoft DirectShowยฎ to Media FoundationDevelop custom Media Foundation componentsCreate advanced Media Foundation video and audio applicationsSolve common problems during development using Media Foundation debugging techniques

โœฆ Table of Contents


Introduction......Page 15
Core Media Foundation Concepts......Page 25
Media Foundation Audio/Video Pipelines......Page 26
Media Foundation Components......Page 29
Data Flow Through a Media Foundation Pipeline......Page 31
Media Foundation Topologies......Page 33
Conclusion......Page 34
TopoEdit......Page 35
Manual Topology Construction in TopoEdit......Page 40
Capturing Data from External Sources......Page 44
Conclusion......Page 46
Media Playback......Page 47
Basic File Rendering with Media Sessions......Page 49
Creating the Player......Page 51
Initializing the Media Session......Page 52
Media Session Asynchronous Events......Page 55
Event Processing and Player Behavior......Page 58
Building the Media Pipeline......Page 67
Creating the Media Foundation Source......Page 68
Building the Partial Topology......Page 72
Resolving the Partial Topology......Page 79
Class Listings......Page 81
Transcoding......Page 85
The Transcode API......Page 86
Creating a Transcode Profile......Page 88
The Transcoding Session......Page 98
Transcoding with the Source Reader......Page 102
Creating a Source Reader and a Sink Writer......Page 104
Mapping Sink Writer Streams......Page 105
Intermediate Format Negotiation......Page 108
The Target Transcode Media Type......Page 112
The Source-Reader-to-Sink-Writer Loop......Page 116
Class Listings......Page 118
Media Foundation Transforms......Page 121
MFT Architecture Overview......Page 122
Stream Configuration Functions......Page 125
Media Type Selection Functions......Page 131
MFT Data Processing......Page 137
Status Query and Event Functions......Page 143
MFT Registration......Page 145
Injecting Images into Video Frames......Page 146
Uncompressed Video Formats......Page 147
RGB to YUV Image Conversion......Page 149
Frame Format Detection......Page 152
UYVY Image Injection......Page 154
NV12 Image Injection......Page 156
Conclusion......Page 157
Class Listings......Page 158
Media Foundation Sources......Page 163
Overview......Page 165
The Asynchronous Call Pattern......Page 167
Instantiating a Media Source......Page 170
The AVF Byte Stream Handler......Page 173
Media Foundation Events......Page 181
The Media Foundation Source......Page 183
Initializing the Source......Page 184
Asynchronous Source Command Functions......Page 195
Starting Playback......Page 198
Source Media Event Functions......Page 202
Sample Streaming in AVFSource......Page 204
Media Stream Objects......Page 207
Windows Property Handlers......Page 213
Conclusion......Page 219
Class Listings......Page 220
Media Foundation Sinks......Page 229
The Sample AVI File Sink......Page 231
The AVI Media Sink......Page 234
Media Stream Sink Control Functions......Page 235
Media Sink Clock Functions......Page 240
The Sink Data Loop......Page 244
The AVI Media Stream......Page 251
Stream Playback Control Functions......Page 253
Stream Sample Functions......Page 254
Stream Markers......Page 258
Class Listings......Page 266
Custom Media Sessions......Page 271
The Custom MP3 Media Session......Page 274
Building an MP3 Topology......Page 275
Negotiating Media Type......Page 280
The Custom Session Data Pipeline......Page 285
Synchronous and Asynchronous MFTs......Page 286
Synchronous Media Foundation Pipeline Events......Page 290
MP3 Session Data Flow......Page 296
The Session Clock......Page 303
Class Listings......Page 307
Advanced Media Foundation Topics......Page 311
Rendering a Player UI with the EVR Mixer......Page 313
Streaming a Network Player......Page 322
Building the Network Topology......Page 324
The HTTP Byte Stream Activator......Page 329
The HTTP Output Byte Stream......Page 330
Class Listings......Page 339
Media Foundation Error Lookup......Page 347
The MFTrace Tool......Page 348
An MFTrace Example......Page 350
The IUnknown Interface......Page 355
COM Object Registration......Page 360
ATL Smart Pointers......Page 363
CComCritSecLock and CComAutoCriticalSection Thread Synchronization Helpers......Page 367
Index......Page 369
About the Author......Page 385


๐Ÿ“œ SIMILAR VOLUMES


Developing Microsoft Media Foundation Ap
โœ Anton Polinger ๐Ÿ“‚ Library ๐Ÿ“… 2011 ๐Ÿ› Microsoft Press ๐ŸŒ English

Create powerful and professional media applications and components with Microsoftยฎ Media Foundation--and deliver the next generation of high-definition multimedia. Led by an expert who has developed Microsoft media technologies over the past decade, you'll learn how to build applications that can ca

Developing Microsoft Media Foundation Ap
โœ Anton Polinger ๐Ÿ“‚ Library ๐Ÿ“… 2011 ๐Ÿ› Microsoft Press ๐ŸŒ English

Create professional-quality media applications and components with Microsoft Media Foundation - and deliver the next generation of high-definition multimedia. With this hands-on book, you'll learn how to build applications to capture video and audio files of different types, process media informatio

Microsoft Windows Communication Foundati
โœ Steven Cheng ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐Ÿ› Packt Publishing ๐ŸŒ English

The recipes in this book are easy to understand and follow as the author discusses real-world scenarios. The range of topics covered in this book will bring out the forward-thinking WCF developer in you. It is not a comprehensive reference to the whole of WCF, but a practical guide that boosts profi

Microsoft Windows Communication Foundati
โœ Steven Cheng ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐Ÿ› Packt Publishing ๐ŸŒ English

Over 85 easy recipes for managing communication between applications Master WCF concepts and implement them in real-world environments An example-packed guide with clear explanations and screenshots to enable communication between applications and services and make robust SOA applications Resol

Microsoft Windows Communication Foundati
โœ Steven Cheng ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐ŸŒ English

The recipes in this book are easy to understand and follow as the author discusses real-world scenarios. The range of topics covered in this book will bring out the forward-thinking WCF developer in you. It is not a comprehensive reference to the whole of WCF, but a practical guide that boosts profi