Jump to content
  • Advertisement
Sign in to follow this  
anilkumarkv

DirectShow Editing

This topic is 3744 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!