OLD | NEW |
(Empty) | |
| 1 This tool demonstrates the use of the Media Foundation H.264 decoder as a |
| 2 standalone Media Foundation Transform (MFT). The H.264 decoder takes sample |
| 3 objects (IMFSample) containing Annex B streams as input, and outputs decoded |
| 4 NV12 video frames as output, contained in a buffer object (if DXVA is not |
| 5 enabled) or a Direct3D surface (if DXVA is enabled.) |
| 6 |
| 7 This tool uses ffmpeg's parser and bitstream converter to read a file |
| 8 containing H.264 video and outputs packets containing Annex B streams which are |
| 9 then fed into the H.264 decoder. This tool also demonstrates the use of the |
| 10 H.264 decoder as a state machine, and the steps taken in each state. |
| 11 |
| 12 Requirements: Windows 7 |
| 13 |
| 14 Note1: This tool currently does decoding only. There is no visible output |
| 15 besides the log entry containing state of the decoder at each input/output |
| 16 step. |
| 17 |
| 18 Note2: There is a mysterious 1-off decoded frame count when DXVA is enabled. |
| 19 |
| 20 Note3: This tool requires the ffmpeg library to have the H.264 codec and Annex |
| 21 B bitstream filter. You might need build your own, or grab one from |
| 22 http://ffmpeg.arrozcru.org/autobuilds/ |
| 23 |
| 24 Note4: A single H264Mft instance is only for 1 H.264 video stream only. |
| 25 Inputting streams consisting of more than 1 video to a single instance |
| 26 may result in undefined behavior. |
OLD | NEW |