Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Graphics
  4. DirectShow Editing

DirectShow Editing

Scheduled Pinned Locked Moved Graphics
visual-studiocomgraphicsgame-devtutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anilkumar K V
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups