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 input pin, output the same, but it should be able to stop transfering through itself (with saving incoming samples in some buffer). So I can stop and delete filters after that filter (encoder and file-writer) with IFilterChain without stopping the entire graph, create it again and continue capturing. Well, my question is: is thare such filter? Or is there any another solution for my problem? Please, don't offer to stop the entire graph, change destination file and start it again (in that solution frames loosing appears). Also, I can't stop encoder and file-writer, change file and start them again, because I don't know, what filter is before encoder, maybe, it can not work with filter chain (For example, MJPEG Decompressor can't, IFilterChain::StopChain returns S_OK, but the entire graph stops, not only the encoder and file-writer)
Thank you!