Sign in to follow this  

DirectShow Editing

This topic is 3461 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I wish to create a simple tool to open a video file ( for example an AVI, or wmv file) and allow user to edit the video file. For example the user should be able to mark different portions of video and copy it to new video. So that the new movie file contains the selected parts only. I read that DirectShow editing service allow us to do the job. i have modified the sample code http://msdn.microsoft.com/en-us/library/ms787592(VS.85).aspx and no luck so far. I think i am missing something, since my knowledge in DirectX and grphics is very poor, I cant figure it out. I added the following lines to get the splitable interface IAMTimelineSplittable *pSplittable = NULL; HRESULT hr = pSourceObj->QueryInterface(IID_IAMTimelineSplittable, (void **)&pSplittable); and called the SplitAt function to split time line hr = pSplittable->SplitAt2(5); All thease function return success ( S_OK) and then i render the Timeline to file, it is same as the orginal file. No Splits actually happened. Why? Any idea Thanks Anil

Share this post


Link to post
Share on other sites

This topic is 3461 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this