1

I'm very new to DirectShow and I'm looking for a way to render a video which is already loaded into the memory using DirectShow.NET. How can I do that? I'd be thankful even if you give me a highlight of the path.

Roman R.
  • 68,205
  • 6
  • 94
  • 158
Javid
  • 2,755
  • 2
  • 33
  • 60
  • I have a Buffer Source filter (32-bit only). It is a source filter that contains a COM interface you can call to put data into it. If you want it, let me know. – Stephen Chung Mar 20 '15 at 09:14

1 Answers1

5

There is no standard component to play from memory data, however Async Filter Sample from Windows SDK implements exactly this.

The application reads the file into memory at the specified rate and plays the file.

Note that the filter requires, however, expects some C++ development from you.

See also:

Community
  • 1
  • 1
Roman R.
  • 68,205
  • 6
  • 94
  • 158
  • Hi Roman, I tryed the Async Filter Sample , but I don't know how to set the per sample size of Output Pin , IID_IAMBufferNegotiation or IID_IAMStreamConfig? CLSID_AudioInputDeviceCategory work fine ,but Async Filter will get NOINTERFACE, maybe I can write a custom Audio Source Filter support that ? – tobin May 26 '21 at 14:05