home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Hardware
Ambient Lighting System
[SOFT?] AmbiBox automatic profile switching
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="kenwonders" data-source="post: 1187243" data-attributes="member: 29743"><p><strong>Problem:</strong></p><p>Software for ambient light systems do not synchronise well with TV picture at all refresh rates. A delay set for 50hz video will be too early for 24hz. Not sure why but never mind <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p><strong>Solutions:</strong></p><p>AtmoLight understands this and calculates a different delay per refresh rate. This mostly works but can be affected by TV settings (namely smooth motion and other TV processing)</p><p>AmbiBox does not have any consideration of this, but can use profiles, allowing it to be manually set to a profile with the correct delay.</p><p></p><p>So, I have written a small piece of software for myself that:</p><p></p><p><em>- Runs at startup as a hidden process (only in task manager)</em></p><p><em>- Checks current display refresh rate every 1 second</em></p><p><em>- If rate changes, load a different profile in AmbiBox</em></p><p></p><p>I have a different 'profile' in Ambibox for each refresh rate so that the delay can be configured specifically for that refresh. This means you can get really accurate ambibox delay timings <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Currently, it's all hard coded as I wrote it for me, but if others are interested I could make it a configurable tool. In the longer term. TBH I'd like to add this stuff into AtmoLight instead so that we could have granular access there, so sorry to AtmoLight devs for doing this development here for now <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite19" alt=":notworthy:" title="Not Worthy :notworthy:" loading="lazy" data-shortname=":notworthy:" /></p><p></p><p><strong>So, does anyone want it?</strong> I won't be offended if not <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p></p><p></p><p><strong>Boring technical info:</strong></p><p>I started trying to do this with a batch file, using the dynamic refresh rate hooks in MP, but although it worked I didn't like the visible popup. Instead I created a windows app without any visible artefacts. It creates a timer that runs a small function to grab the windows refresh rate from WMI. If that rate is different, then a telnet session is created that updates Ambibox to a profile (currently hardcoded) linked to the refresh rate. I cheekily used Application.Run to keep the application idle but still running. It uses about 9mb of ram and little CPU. If I get rid of the hardcoding, this should be what you'd need to get it working:</p><p>- servername</p><p>- server port (usually 3636)</p><p>- delay between checks in seconds</p><p>- 23fps video AmbiBox profile name</p><p>- 24fps video profile name etc</p></blockquote><p></p>
[QUOTE="kenwonders, post: 1187243, member: 29743"] [B]Problem:[/B] Software for ambient light systems do not synchronise well with TV picture at all refresh rates. A delay set for 50hz video will be too early for 24hz. Not sure why but never mind :) [B]Solutions:[/B] AtmoLight understands this and calculates a different delay per refresh rate. This mostly works but can be affected by TV settings (namely smooth motion and other TV processing) AmbiBox does not have any consideration of this, but can use profiles, allowing it to be manually set to a profile with the correct delay. So, I have written a small piece of software for myself that: [I]- Runs at startup as a hidden process (only in task manager) - Checks current display refresh rate every 1 second - If rate changes, load a different profile in AmbiBox[/I] I have a different 'profile' in Ambibox for each refresh rate so that the delay can be configured specifically for that refresh. This means you can get really accurate ambibox delay timings :) Currently, it's all hard coded as I wrote it for me, but if others are interested I could make it a configurable tool. In the longer term. TBH I'd like to add this stuff into AtmoLight instead so that we could have granular access there, so sorry to AtmoLight devs for doing this development here for now :notworthy: [B]So, does anyone want it?[/B] I won't be offended if not :) [B]Boring technical info:[/B] I started trying to do this with a batch file, using the dynamic refresh rate hooks in MP, but although it worked I didn't like the visible popup. Instead I created a windows app without any visible artefacts. It creates a timer that runs a small function to grab the windows refresh rate from WMI. If that rate is different, then a telnet session is created that updates Ambibox to a profile (currently hardcoded) linked to the refresh rate. I cheekily used Application.Run to keep the application idle but still running. It uses about 9mb of ram and little CPU. If I get rid of the hardcoding, this should be what you'd need to get it working: - servername - server port (usually 3636) - delay between checks in seconds - 23fps video AmbiBox profile name - 24fps video profile name etc [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Ambient Lighting System
[SOFT?] AmbiBox automatic profile switching
Contact us
RSS
Top
Bottom