2

I am trying to follow what the author did in this question, but I would like to decode nal units from a FIFO or pipe, so that I can enqueue nal units in to buffer from a producer thread (basycally a thread that receives nal units from different network protocols) and consume them with Media Foundation in another thread to decode them.

By studying the documentation, I understood that I must user a SourceReader to decode the video, but I am not able to find an example that does it by reading from a fifo or pipe.

How can I do it? It there any example that I can study?

Ottavio Campana
  • 4,088
  • 5
  • 31
  • 58
  • FIFO/pipe are generic Algorithm/Api. You have to learn about this, and then apply to Mediafoundation. – mofo77 Apr 27 '20 at 21:07

0 Answers0