Video Capture

hello,
I want to capture Video(a clip of video) into a file using DirectShow,plz tell me how can i acchive it, I know how to capture a bitmap from a video ,but not getting how to capture a clip from a video and write it into a file...if you have any example of it pl z share with me......

Thanks
[310 byte] By [amit_srms21] at [2007-11-20 11:48:15]