parvez
parvez

Reputation: 356

How to play IMFMediaSample in media foundation?

I am able to extract samples out of a video using the readSample method. Now how can I play the data present in those samples? Or how to play IMFSample ?

Upvotes: 3

Views: 1817

Answers (1)

Roman Ryltsov
Roman Ryltsov

Reputation: 69642

Sample IMFSample is a block of data, such as video frame or a chunk of audio sequence. This is a tiny piece of data to be played alone. The API addresses more sophisticated playback scenarios, such as where playback is a session where one or more streams are streamed in sync.

Be sure to check Getting Started with MFPlay on MSDN to see how playback is set up with Media Foundation.

Upvotes: 1

Related Questions