• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1443
  • Last Modified:

Capture overlay video frame to a bitmap

How can I take a screenshot of a window which is using overlay ? (like winamp's video with hardware overlay enabled).
0
bryan7
Asked:
bryan7
1 Solution
 
Andre_TertlingCommented:
If you are looking for a very simple solution, then simply disable Hardware Acceleration for the time being - Windows will then use software rendering and you will be able to create a simple screenshot of the overlay. If you need to capture the video overlay window, this is quite a bit more difficult. Let me know if your application is so time critical that you really need to capture the hardware overlay.
0
 
bryan7Author Commented:
I was able to accomplish this by taking a full capture of the whole screen then cropping to the window rect; taking a full capture somehow includes the contents of windows with overlay
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now