Capturing Video Surface
-
I can screen capture a window surface. But not a video surface being played on Media Player. I get only the frame of the Media Player and a "black" surface where the current video frame should be. This "black" surface is seeming like a "transparent" layer (I am guessing here) upon which the video frames are rendered. I am guessing it is the DirectShow surface. How can I capture the video frame?:confused:
-
I can screen capture a window surface. But not a video surface being played on Media Player. I get only the frame of the Media Player and a "black" surface where the current video frame should be. This "black" surface is seeming like a "transparent" layer (I am guessing here) upon which the video frames are rendered. I am guessing it is the DirectShow surface. How can I capture the video frame?:confused:
Some of these may help 1. Right click on your desktop into Display Properies, Settings, Advanced disable video overlay on your video card. 2. Run Dxdiag.exe go to the display page and disable Direct Draw hardware acceleration
-
Some of these may help 1. Right click on your desktop into Display Properies, Settings, Advanced disable video overlay on your video card. 2. Run Dxdiag.exe go to the display page and disable Direct Draw hardware acceleration
Isn't there another way without changing to software emulation? :((
-
Isn't there another way without changing to software emulation? :((
Nope, no ways ;) Try also to make sure the bitmap displayed have the same format than the screen (if you grab a 16-bits/peixel picture and try to display it on a 32-bits/pixel screen, you'll get a blank/black screen). If it is a code you own and thus you can modify, you should convert the grabbed picture to the screen format before display... Kochise In Cod we trust !
-
Nope, no ways ;) Try also to make sure the bitmap displayed have the same format than the screen (if you grab a 16-bits/peixel picture and try to display it on a 32-bits/pixel screen, you'll get a blank/black screen). If it is a code you own and thus you can modify, you should convert the grabbed picture to the screen format before display... Kochise In Cod we trust !
Thanks.
-
Some of these may help 1. Right click on your desktop into Display Properies, Settings, Advanced disable video overlay on your video card. 2. Run Dxdiag.exe go to the display page and disable Direct Draw hardware acceleration
is there anyway to set the hardware acceleration in c++?