Cropping Video in Directshow
Hi,
I want to crop a video(.wmv) into smaller equally sized videos.I 've been trying to search a lot on google and this forum but havent found much that would help.I Am pretty sure there must be code to clip video into pieces .Could anyone help me with this?
I am using Directshow and till now I have written code to extract frames from .wmv file.
Thanks,
Re: Cropping Video in Directshow
Hi rty,
Need some more information,
What format are the frames?
What do you want to do with the video once the frame(s) are cropped into pieces?
Regards.
Re: Cropping Video in Directshow
Hi,
Thanks for replying.I want to crop a video into smaller portions( a given .AVI file broken down in smaller .AVI files).Till now ( from what I could get off the internet) I am doing the following :
Source(Async Reaer)->AVI splitter->AVI mux->File Writer .
When I query the output pins of AVI splitter I get only one pin and I use IMediaSeeking on this .The results give me S_OK but the video is not clipped( entire video is rewritten) .If you want I can paste the code.