Skip to content

Windows Apps capturing a black screen #15

Open

Description

@puddl3jump3r

Using a test game (Big Farm) installed as windows application from the Microsoft Store, I only capture a black screen.
I know in a browser like google it is due to hardware acceleration, but this is a windows application built in a framework.
Has anyone figured out how to do this without a fullscreen capture?

Activity

  1. MadMowgli commented on Mar 24, 2022

    @MadMowgli

    Hi!
    You might wanna check this answer to a question already asked.

  2. CasperKristiansson commented on Apr 8, 2022

    @CasperKristiansson

    Using a test game (Big Farm) installed as windows application from the Microsoft Store, I only capture a black screen. I know in a browser like google it is due to hardware acceleration, but this is a windows application built in a framework. Has anyone figured out how to do this without a fullscreen capture?

    I had a similar problem with that and there were two different solutions to it.

    The first one was that the cv2.imshow didn't have a cv.waitKey and cv.destroyAllWindows() after it was used.

    The second problem was simply that the game was minimized. In order for the wind32 to capture the game, the window can't be minimized.

  3. umutbalkan commented on Jun 17, 2022

    @umutbalkan

    Same here I'm using the sample code. Getting black screen from the game window

  4. TypicallyThomas commented on Jan 13, 2023

    @TypicallyThomas

    Even capturing the full screen doesn't work for me. Would really appreciate if someone has a solution. This is my 20th resource, I'm starting to lose faith my game can be captured with Python at least

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions