I have a problem: I need to capture live source to file, but with every-minute slice (without loosing any frames). I think, I need some filter that can receive raw video at inpu
This cannot be done in a single graph solution: changing a file requires transition through stopped state. Many filters don't even support dynamic reconnection.
Typical solution includes two filter graphs:
You need a method to connect the two graphs so that the first one delivers data to the other. you might want to read up on GMFBridge, to either use it directly or get familiar with the concept.
See also (these and many other bridging related Qs, here and on MSDN DirectShow forum):
UPD. You don't have to use GMFBridge though. But you will have to do a similar thing anyway. Example - based on standard filters to maximal extent - might be: capturing through Sample Grabber Filter to Null Renderer Filter. Sample Grabber's callback copies data into input queue of custom source filter, based on PushSource Filter SDK sample, which is connected to File Writer Filter (through other filters) in the second graph.