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. C#
  4. Re-initialization of the graph

Re-initialization of the graph

Scheduled Pinned Locked Moved C#
helpdata-structurestutorialquestion
2 Posts 2 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.
  • B Offline
    B Offline
    B Z
    wrote on last edited by
    #1

    hello, Using DShowNET,I want to preview live video, capture it to a video file and grab frames at the same time and here i am encountering problem.Using the ISampleGrabberCB interface, one can preview the video and grab frames without any problems. Using the ICaptureGraphBuilder2 interface,one can preview and capture video to a file without any problems. But how to do both these tasks at the same time? I m adding each filter one at a time and then connecting them one at a time. The result; a problem in GetConnectedMediaType method. media = new AMMediaType(); hr = sampGrabber.GetConnectedMediaType(media); It is returning negative value(-214...) and i dont get y? :'( Can anybody who worked in DShowNet help me out?

    B!z

    P 1 Reply Last reply
    0
    • B B Z

      hello, Using DShowNET,I want to preview live video, capture it to a video file and grab frames at the same time and here i am encountering problem.Using the ISampleGrabberCB interface, one can preview the video and grab frames without any problems. Using the ICaptureGraphBuilder2 interface,one can preview and capture video to a file without any problems. But how to do both these tasks at the same time? I m adding each filter one at a time and then connecting them one at a time. The result; a problem in GetConnectedMediaType method. media = new AMMediaType(); hr = sampGrabber.GetConnectedMediaType(media); It is returning negative value(-214...) and i dont get y? :'( Can anybody who worked in DShowNet help me out?

      B!z

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      This forum is for general C# questions. If you want help with obscure 3rd party products, I suggest you contact their technical support.

      Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

      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