directshowmkvmatroskasamplegrabbergraphedit

How to use SampleGrabber with Matroska Muxer in DirectShow?


I made a simple graph to write MKV file. But I do not want to use file writer. I want to use SampleGabber and get stream using simple program. Problem is that I get data from anything but Matroska muxer!( What shall i do?

VirtualCamera - x264 - Matroska Muxer - SampleGraber - Null Renderer
(source: narod.ru)

So my question is How to use SampleGrabber with Matroska Muxer in DirectShow?


Solution

  • Try implementing you own custom renderer instead of SampleGrabber.