crop video and save a new file

I crop the video with the  IBasicVideo2.SetSourcePosition(0,0,100,100) .

How I can save to file.

 

Yoram Atias



Answer this question

crop video and save a new file

  • V Shankar

    Using a filter graph that contains a file writer

    Perhaps a bit more info would help. What does your existing filter graph look like


  • Naheem

    I don't believe the rather limited support for vb built into DS allows access to enough of DS to make this work.

    If you are using .NET, you might take a look at http://DirectShowNet.SourceForge.Net


  • Mapperkids

    I don't using a filter graph that contains a file writer

    If ofdOpen.InitialDirectory Is Nothing Or ofdOpen.InitialDirectory = String.Empty Then

    ofdOpen.InitialDirectory = DXUtil.SdkMediaPath

    End If


  • crop video and save a new file