Beiträge von kaiomatico

    Thank you for your help! I just realized that Prismatik is able to capture the screen of the Xbox One stream app from Windows 10 just fine. So I can just use that one and don't need to develop something myself. Only the part about Netflix 4k HDR is not solved by this, but I can live just fine with streaming netflix in 1080p with my browser and no HDCP/DRM.

    Hey everyone, I'm trying to compile the the example code from this site: https://hyperion-project.org/w…uffer-Java-client-example


    I'm using eclipse and I installed protobuf-dt, but I can't figure out how to properly do the imports and use protoc on the definition file. It can't find:
    import com.google.protobuf.ByteString;
    import proto.*; ...


    As a background story: I want to create a Java Hyperion Screen grabber for use in Windows which relies on screenshots rather than DirectX 9 or DirectX 11 because that way I can skip HDCP/DRM/Copy protection of Netflix 4k and the Xbox One streaming app. Here is my code I want to add to the protobuf client example in a loop:


    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Rectangle screenRect = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize());
    BufferedImage capture = new Robot().createScreenCapture(screenRect);
    ImageIO.write(capture, "jpg", baos);
    byte[] imageData = baos.toByteArray();
    -> send to hyperion


    Would be great if someone could help me with setting up my eclipse!