D
D
Dmitry2015-02-03 09:40:22
Video
Dmitry, 2015-02-03 09:40:22

How to decode video without rendering in Windows Media Foundation?

Task: there is Win7. It, in turn, has hardware support for video playback in the face of the Media Foundation, which uses the DXVA interface. It is necessary to use all this goodness (a separate part?) to feed a video file to the input, and at the output in the callback to receive a raw decompressed buffer for each frame with its timestamp, fully decoded on the video card.
For some reason, examples from MSDN have been cut out, although links to them exist. Only examples of the implementation of the Custom EVR Presenter are googled, which, in theory, can solve the problem. But its volume of ~5k lines of code is a little demotivating. And yes, I think it's an overkill.
Perhaps someone came across? Or still have to implement the presenter?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question