C# Video Screen Shots
-
Hi guys I'm writing a program in which I need to be able to take screenshots from a video file running inside my application. I have gotten the program so far that it can actually take the screenshots I need, but only if I turn off hardware acceleration. Otherwise it only captures a black box where the video is supposed to be playing. Is there any way I could get around this hardware acceleration problem by rather using something like DirectX to perform the captures? At the moment I am using functions defined in GDI32.dll and User32.dll to perform the screen captures. Any help would be appreciated.
-
Hi guys I'm writing a program in which I need to be able to take screenshots from a video file running inside my application. I have gotten the program so far that it can actually take the screenshots I need, but only if I turn off hardware acceleration. Otherwise it only captures a black box where the video is supposed to be playing. Is there any way I could get around this hardware acceleration problem by rather using something like DirectX to perform the captures? At the moment I am using functions defined in GDI32.dll and User32.dll to perform the screen captures. Any help would be appreciated.
That is a common symptom when using Video Overlay, use the VMR7/9 modes rather.
-
Hi guys I'm writing a program in which I need to be able to take screenshots from a video file running inside my application. I have gotten the program so far that it can actually take the screenshots I need, but only if I turn off hardware acceleration. Otherwise it only captures a black box where the video is supposed to be playing. Is there any way I could get around this hardware acceleration problem by rather using something like DirectX to perform the captures? At the moment I am using functions defined in GDI32.dll and User32.dll to perform the screen captures. Any help would be appreciated.
Sorry I can't help, but I also made a screen capturing util. Also only displayed black where the video was supposed to be, didn't know it was because of hardware acceleration! Thanx, now at least I know why it only displayed black. :)