GithubHelp home page GithubHelp logo

hdr's Introduction

An AutoHotKey script that toggles a virtual monitor, changes resolution to the client resolution and enables HDR on windows 11 machines for use with Sunshine streaming.

Takes two parameters with the first being start or stop to signify if starting or ending the stream and the second the state of the host HDR being either SDR or HDR.

It toggles the state only when the client asks a different state than the host.

There is a third optional parameter that can overide the resolution asked by the client in the format WIDTHxHEIGHTxFPS

It is to be added to the prepare section of sunshine in the format hdr state hosthdr clientoverride

state: either start or stop hosthdr: the current state of host HDR, either hdr or sdr

clientoverride: optional parameter if the host cannot for example game at 4k. The format is WIDTHxHEIGHTxFRAMERATE

Example DO: hdr.exe start sdr 1920x1080x60 UNDO: hdr.exe stop sdr

The exe file should be placed in a PATH folder, where it can be found or any other folder when called with the complete path.

I have included the executable from QReshttps://sourceforge.net/projects/qres, that needs to also be available in the same dir.

Ii is meant to be used in conjunction with IDDhttps://github.com/itsmikethetech/Virtual-Display-Driver, that also gets enabled before starting the stream and qres.

hdr's People

Contributors

mrichana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hdr's Issues

Start without specify SDR or HDR

Thank's to share your work, great tool.

Could by possible to get SDR or HDR parameter from client like you do for the resolution ?

In MoonLight client we check if we use HDR or SDR, would be great to use this information without specifying in arguments.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.