Sample projects (rather even code snippets, though buildable and runnable) around ReferenceSource.dll.
VideoMp4WithSinkWriter
- produces video frames using DirectShowReferenceSource.dll and writes them into an H.264/AVC MP4 file using Media Foundation Sink Writer API.TrimVideoMp4WithSourceReaderSinkWriter
- trimsVideoMp4WithSinkWriter
output at IDR positions with Media Foundation.