Hello,
Before i start programming my application in C# I want ask a few things about directX capture class.
My application scenario
I want to design an application which is able to detect video signal, here i am using my Nvidia Geforce 6600 graphics card as video input device, the video source is a small camera which is outputting the video through composite video cable and that cable is attached to the input connector of my vga card.
Now i want my application to start recording when it detect a video signal, for example if i turn off the camera during recording the screen will definitely go black, at this time the application should stop recording and close the movie file say output001.avi (Movie file is acceptable in any format AVI, MPG, WMV etc) very similarly when i turn on the camera the signal will come back on screen, at this time the application should open another movie file say output002.avi and start recording in that file until video signal is again disconnected.
Please tell me is it possible with C# capture class ? any help or suggestion is highly welcomed since i am not a master programmer in C#. I tried to achieve this in matlab simulink environment before but i am facing problems with it specially in outputting multiple files (output001.avi , output002.avi , output003.avi). Changing the file name in simulink and detecting video signal as it goes black and then come back is very difficult or maybe i don't know how to do it, and no one is helping me on mathworks forums.
So I am turning here in hope that somebody help me with this problem, I am stuck with it. I am choosing C# because it is a very powerful and famous language so i think it is up to the mark, besides i also like C# but i am not an expert.
Thanks in advance.
Before i start programming my application in C# I want ask a few things about directX capture class.
My application scenario
I want to design an application which is able to detect video signal, here i am using my Nvidia Geforce 6600 graphics card as video input device, the video source is a small camera which is outputting the video through composite video cable and that cable is attached to the input connector of my vga card.
Now i want my application to start recording when it detect a video signal, for example if i turn off the camera during recording the screen will definitely go black, at this time the application should stop recording and close the movie file say output001.avi (Movie file is acceptable in any format AVI, MPG, WMV etc) very similarly when i turn on the camera the signal will come back on screen, at this time the application should open another movie file say output002.avi and start recording in that file until video signal is again disconnected.
Please tell me is it possible with C# capture class ? any help or suggestion is highly welcomed since i am not a master programmer in C#. I tried to achieve this in matlab simulink environment before but i am facing problems with it specially in outputting multiple files (output001.avi , output002.avi , output003.avi). Changing the file name in simulink and detecting video signal as it goes black and then come back is very difficult or maybe i don't know how to do it, and no one is helping me on mathworks forums.
So I am turning here in hope that somebody help me with this problem, I am stuck with it. I am choosing C# because it is a very powerful and famous language so i think it is up to the mark, besides i also like C# but i am not an expert.
Thanks in advance.
Comment