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. ATL / WTL / STL
  4. c++ and directshow

c++ and directshow

Scheduled Pinned Locked Moved ATL / WTL / STL
c++question
4 Posts 4 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.
  • M Offline
    M Offline
    mexmerou
    wrote on last edited by
    #1

    hi every one this is my first post here in fact i'm confused little bit cause i got to finish a project that i haven't started yet i need to capture image with directshow in fact i haven't understand directshow very well it's questions and pin ... difficult to grasp for the first time . the second point if i need a window in which i have to put my components should i create it by hand (from scratch by code ) IVideoWindow ?? and what about list & button ??

    let me know

    L B J 3 Replies Last reply
    0
    • M mexmerou

      hi every one this is my first post here in fact i'm confused little bit cause i got to finish a project that i haven't started yet i need to capture image with directshow in fact i haven't understand directshow very well it's questions and pin ... difficult to grasp for the first time . the second point if i need a window in which i have to put my components should i create it by hand (from scratch by code ) IVideoWindow ?? and what about list & button ??

      let me know

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      mexmerou wrote:

      i haven't understand directshow very well

      There is nothing much we can offer except to study the documentation[^] and to use Google to search for samples and tutorials.

      mexmerou wrote:

      the second point

      ... is not very clear, perhaps you could give some more detail about how your application will be built.

      One of these days I'm going to think of a really clever signature.

      1 Reply Last reply
      0
      • M mexmerou

        hi every one this is my first post here in fact i'm confused little bit cause i got to finish a project that i haven't started yet i need to capture image with directshow in fact i haven't understand directshow very well it's questions and pin ... difficult to grasp for the first time . the second point if i need a window in which i have to put my components should i create it by hand (from scratch by code ) IVideoWindow ?? and what about list & button ??

        let me know

        B Offline
        B Offline
        barneyman
        wrote on last edited by
        #3

        DShow isn't as intimidating as it looks You create an IFilterGraph, add the filters you want, then create a ICaptureGraphBuilder2, point it at the IFilterGraph, and ask it to RenderStream You don't really have to worry about pins unless you intend to write your own source or transforms As regards IVideoWindow, yes, create your own child window and point IVideoWindow at it There are numerous examples kicking around

        1 Reply Last reply
        0
        • M mexmerou

          hi every one this is my first post here in fact i'm confused little bit cause i got to finish a project that i haven't started yet i need to capture image with directshow in fact i haven't understand directshow very well it's questions and pin ... difficult to grasp for the first time . the second point if i need a window in which i have to put my components should i create it by hand (from scratch by code ) IVideoWindow ?? and what about list & button ??

          let me know

          J Offline
          J Offline
          jk chan
          wrote on last edited by
          #4

          Take a look at GraphEdit tool, where you can drag and drop several filters and test it. Or you can just drag and drop a Avi file into graphedit, immediately it will show the filters and connections. Also take a look at sample direct show filters (comes with dxsdk) . Start with simple BallFilter http://msdn.microsoft.com/en-us/library/windows/desktop/dd318194(v=vs.85).aspx[^] Hopes this helps jkchan http://cgmath.blogspot.com[^]

          If u can Dream... U can do it http://cgmath.blogspot.com/

          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