Download e-book for iPad: Developing Microsoft Media Foundation Applications by Anton Polinger

By Anton Polinger

ISBN-10: 0735656592

ISBN-13: 9780735656598

Create professional-quality media purposes and parts with Microsoft Media starting place - and convey the subsequent iteration of high-definition multimedia. With this hands-on booklet, you are going to tips on how to construct purposes to catch video and audio documents of alternative kinds, method media details, and circulation it over the net. for those who software with C++ and the part item version (COM), this booklet is perfect - specially for builders trying to move their talents from Microsoft DirectShow.

Show description

Read or Download Developing Microsoft Media Foundation Applications PDF

Similar video & photography books

Tomlinson Holman's Sound for Digital Video PDF

The distinguishing characteristic of many least expensive movies and television exhibits is usually the terrible sound caliber. Now, filmmakers capturing DV on a restricted price range can research from Tomlinson Holman, a movie sound creation pioneer, tips to make their motion pictures sound like totally expert productions. Holman bargains feedback that you should practice in your personal venture from preproduction via postproduction and gives counsel and strategies on creation, modifying, and combining.

Soft circuits : crafting E-fashion with DIY electronics by Kylie Peppler, Melissa Gresalfi, Katie Salen Tekinbaş, Visit PDF

Smooth Circuits introduces scholars to the area of wearable expertise. utilizing Modkit, an available DIY electronics toolkit, scholars learn how to create e-textile cuffs, "electrici-tee" shirts, and solar-powered backpacks. scholars additionally study the significance of 1 element of the full -- how, for instance, altering the constitution of LED connections instantly impacts the variety of LEDs that illuminate.

Download e-book for kindle: Developing Microsoft Media Foundation Applications by Anton Polinger

Create professional-quality media purposes and elements with Microsoft Media beginning - and convey the subsequent iteration of high-definition multimedia. With this hands-on booklet, you are going to the way to construct functions to seize video and audio documents of other kinds, strategy media info, and movement it over the web.

Take Control of Your Digital Photos on a Mac by Jeff Carlson PDF

Construct a electronic workflow to import, tag, fee, and manage your pictures! Why hassle taking pictures should you can’t locate them later? in an effort to have the capacity to lay your fingers on any given photograph on your ever-expanding library, electronic images specialist Jeff Carlson has built an easy method you should use to make your photograph assortment browsable, searchable, and customarily navigable!

Additional info for Developing Microsoft Media Foundation Applications

Example text

Most of the time, you will want to use default behavior and have the method return the E_NOTIMPL HRESULT. Here is the sample player’s implementation of the IMFAsyncCallback::Invoke() method. // // Receive asynchronous event. // HRESULT CPlayer::Invoke(IMFAsyncResult* pAsyncResult) { CComPtr pEvent; HRESULT hr = S_OK; do { CComCritSecLock lock(m_critSec); BREAK_ON_NULL(pAsyncResult, E_UNEXPECTED); // Get the event from the event queue. hr = m_pSession->EndGetEvent(pAsyncResult, &pEvent); BREAK_ON_FAIL(hr); // If the player is not closing, process the media event - if it is, do nothing.

However, you can also manually create the topology. This allows you to insert custom and special components into the topology that are not strictly necessary for normal file rendering. avi file provided with this book. The actual order of steps that you take to create any topology is arbitrary. For simplicity, however, this example will proceed from left to right, from source to renderer. Therefore, let’s begin by inserting an MF source for the file. This is done by using the Topology | Add Source menu option.

The player then uses the URL to initialize the topology that will play the content. Here is the OpenURL() function that initiates this work. // // OpenURL is the main initialization function that triggers building of the core // MF components. info HRESULT CPlayer::OpenURL(PCWSTR sURL) { CComPtr pTopology = NULL; HRESULT hr = S_OK; do { // create a media session if one doesn't exist already if(m_pSession == NULL) { hr = CreateSession(); BREAK_ON_FAIL(hr); } // Build the topology. Here we are using the TopoBuilder helper class.

Download PDF sample

Developing Microsoft Media Foundation Applications by Anton Polinger


by Anthony
4.3

Rated 4.57 of 5 – based on 11 votes