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 / C++ / MFC
  4. DirectX video capture without audio

DirectX video capture without audio

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsgame-devdata-structureshelpquestion
3 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.
  • C Offline
    C Offline
    cje
    wrote on last edited by
    #1

    I have an application that captures digital video and all is well with my world. The problem is that I have had a request to have the capture of the audio be user controllable (always capture video). I took my existing filter graph and disconnected the audio output pin from the DV Splitter so that only the video was input to the AVIMux and then out to the file. Running the graph via GraphEdit produces the desired results but when I run it programatically I get the first frame of the capture repeated for the entire duration of the capture almost like the video data is not being pushed through the filter graph. Does anyone have any ideas on this? thanks in Advance cje

    A 1 Reply Last reply
    0
    • C cje

      I have an application that captures digital video and all is well with my world. The problem is that I have had a request to have the capture of the audio be user controllable (always capture video). I took my existing filter graph and disconnected the audio output pin from the DV Splitter so that only the video was input to the AVIMux and then out to the file. Running the graph via GraphEdit produces the desired results but when I run it programatically I get the first frame of the capture repeated for the entire duration of the capture almost like the video data is not being pushed through the filter graph. Does anyone have any ideas on this? thanks in Advance cje

      A Offline
      A Offline
      Andrew Walker
      wrote on last edited by
      #2

      Make sure that all the relevant pins are connected to a renderer. Try connecting the audio output pin to a null renderer.


      If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts you aim; Yours is the Earth and everything that's in it. Rudyard Kipling

      C 1 Reply Last reply
      0
      • A Andrew Walker

        Make sure that all the relevant pins are connected to a renderer. Try connecting the audio output pin to a null renderer.


        If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts you aim; Yours is the Earth and everything that's in it. Rudyard Kipling

        C Offline
        C Offline
        cje
        wrote on last edited by
        #3

        I get the same effect...all frames in the resultant avi file are the same frame of video (the first one captured)

        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