DirectX video capture without audio
-
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
-
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
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
-
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