CodingMan125 wrote:
In general, you can't. From your description and from the comments in the code, I'm assuming you're trying to capture some kind of multimedia stream -- a movie playback or a camera live view. In that case, the video stream is not actually contained in the application window. Instead, the video is rendered in its native format (usually a YUV format) into an offscreen region. That offscreen region is then used as a texture surface which the GPU's 3D engine renders onto the visible screen. The application window remains a solid color, which is used as a chromakey (like a "green screen") to allow menus to be easily drawn on top.Dear, List Members using the FindWindow function from win32gui to find the window handle of a certain window through window name to enable video capture of certain window results in a black screen. Although trying the same code without a window handle to default it to capturing the whole screen results in a successful video capture, the same code however results in a black or white screen when trying to capture a specific window with window handle. How can I solve this?
-- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32