Developing Microsoft Media Foundation Applications by Anton Polinger

By Anton Polinger

Create professional-quality media functions and parts with Microsoft Media origin - and carry the subsequent iteration of high-definition multimedia. With this hands-on publication, you are going to find out how to construct purposes to catch video and audio records of alternative forms, method media info, and movement it over the web. should you software with C++ and the part item version (COM), this ebook is perfect - particularly for builders trying to move their talents from Microsoft DirectShow.

Show description

Read Online or Download Developing Microsoft Media Foundation Applications PDF

Similar video & photography books

Programming Language Concepts

This publication explains and illustrates key suggestions of programming via taking a breadth method of programming languages. It makes use of C++ because the fundamental language all through, demonstrating significant, practical and object-oriented language innovations.

A digital photographer's guide to model releases : making the best business decisions with your photos of people, places and things

Do you want a liberate for a photograph of somebody you took in public? How approximately images of structures? Does it make a distinction if the topic was once paid to be within the photograph? you cannot solution those questions with no additional information. because the photographer, you want to comprehend your buyer's matters with a view to make savvy judgements approximately the way you marketplace your photographs and to whom.

Easy Photography (2013 Expanded Edition)

Revised in 2013 with new issues and new photographs. This elevated version integrates the books effortless images: The Minimalist manner and straightforward panorama right into a unmarried quantity, divided into 3 components: simple suggestions, Composition and gear. greater than simply slapping books jointly, this version combines the contents of either right into a seamless entire.

Additional info for Developing Microsoft Media Foundation Applications

Example text

Here we are using the TopoBuilder helper class. GetTopology(); BREAK_ON_NULL(pTopology, E_UNEXPECTED); // Add the topology to the internal queue of topologies associated with this // media session hr = m_pSession->SetTopology(0, pTopology); BREAK_ON_FAIL(hr); // If a brand new topology was just created, set the player state to "open pending" // - not playing yet, but ready to begin. if(m_state == Ready) { m_state = OpenPending; } } while(false); if (FAILED(hr)) { m_state = Closed; } return hr; } As you can see, the main job of the OpenURL() method is to pass calls to other functions.

To connect two topology nodes together, you need to drag the mouse from one of the small black squares on the right of a square representing a topology node to another black square on the left side of another node. info This creates a link between the two nodes. Note that if a link is invalid, you can select it with the mouse, press the Delete button on the keyboard, and remove it. Let’s hook up the nodes in the following order: the video source stream to the H264 decoder MFT to the video renderer, and the audio source stream to the audio renderer.

Info More Info Another analogy that you can use to think of Media Foundation components is bucket brigades—chains of people passing water buckets to each other. Each person in the chain represents an MF component processing data. The buckets in this analogy are media samples (packets) being passed between individual MF components. The water in the buckets is the media data. Here is how data flows through the audio pipeline presented in the diagram: 1. The file source loads data from a file, generates a new media sample, and fills it with some of the MP3-encoded audio bits.

Download PDF sample

Rated 4.68 of 5 – based on 16 votes