Special Rec/Demux filter is
used in both CaptureGraphs. This filter collects transmitted
audio/video samples and send them to additional filters like
compressors. In opposite to SourceGraph,
which is running permanetly, only one of the CaptureGraphs are
running, while the other is in pause mode.
If you like to create new file
(Multifile capture), all you have to do is to start paused CaptureGraph
and set pause mode for the other. This is done immediately, not
one audio/video sample is lost.
This task could be done by sending
switch command to CaptureGraphs or automatically.
For autom. switching, special
LengthController filter is used. In LengthController properties,
you can set maximum file length for stream recording. LengthController detects if
size is reached and send switch command to CaptureGraphs.