Cropping Video in Directshow
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Cropping Video in Directshow

  1. #1
    Join Date
    Jun 2010
    Posts
    5

    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,

  2. #2
    Join Date
    Oct 2005
    Posts
    229

    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.
    Learning somthing new every day!

  3. #3
    Join Date
    Jun 2010
    Posts
    5

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center