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
AtmoLight - Plugin Improvement discussion
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="Lightning303" data-source="post: 1084990" data-attributes="member: 97876"><p>Ok,</p><p>lets continue the discussion about custom effect here <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>Initial post: <a href="https://forum.team-mediaportal.com/threads/atmolight-1-12-0-0-2014-06-01.125633/page-3#post-1084949" target="_blank">https://forum.team-mediaportal.com/threads/atmolight-1-12-0-0-2014-06-01.125633/page-3#post-1084949</a></p><p></p><p>[USER=115719]@legnod[/USER], [USER=68365]@HomeY[/USER], [USER=133438]@Baserunner[/USER]</p><p>pinging you, to make sure that the people who seemed interessted know where i will continue to post <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />.</p><p></p><p>So i did some reading and coding. After my first approche did not work out because of timing issues, i think i now got it.</p><p>Im able to load a gif and send it to AtmoWin. I used <a href="http://fc08.deviantart.net/fs12/f/2006/302/2/2/PlasmaStorm3.gif" target="_blank">http://fc08.deviantart.net/fs12/f/2006/302/2/2/PlasmaStorm3.gif</a> to do my tests.</p><p>With the original image (600x300) the whole process takes ~20ms per frame on my old and slow laptop. When i resize it manually before hand to 64x48 it only takes up to 5ms, which seems ok.</p><p>At the moment i dont seem to be able to read the framerate from the gif, so i hardcoded it to 25. No testversion yet, as stuff is hardcoded, but if somebody wants to test it by compiling the code himself, go ahead.</p><p></p><p>And a little video <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p>[MEDIA=youtube]U_IkL1Lxix0[/MEDIA]</p><p></p><p></p><p>Branch: <a href="https://github.com/ambilight-4-mediaportal/AtmoLight/tree/MP1_FEATURE_Gif_Reader" target="_blank">https://github.com/ambilight-4-mediaportal/AtmoLight/tree/MP1_FEATURE_Gif_Reader</a></p></blockquote><p></p>
[QUOTE="Lightning303, post: 1084990, member: 97876"] Ok, lets continue the discussion about custom effect here :) Initial post: [url]https://forum.team-mediaportal.com/threads/atmolight-1-12-0-0-2014-06-01.125633/page-3#post-1084949[/url] [USER=115719]@legnod[/USER], [USER=68365]@HomeY[/USER], [USER=133438]@Baserunner[/USER] pinging you, to make sure that the people who seemed interessted know where i will continue to post ;). So i did some reading and coding. After my first approche did not work out because of timing issues, i think i now got it. Im able to load a gif and send it to AtmoWin. I used [url]http://fc08.deviantart.net/fs12/f/2006/302/2/2/PlasmaStorm3.gif[/url] to do my tests. With the original image (600x300) the whole process takes ~20ms per frame on my old and slow laptop. When i resize it manually before hand to 64x48 it only takes up to 5ms, which seems ok. At the moment i dont seem to be able to read the framerate from the gif, so i hardcoded it to 25. No testversion yet, as stuff is hardcoded, but if somebody wants to test it by compiling the code himself, go ahead. And a little video ;) [MEDIA=youtube]U_IkL1Lxix0[/MEDIA] Branch: [url]https://github.com/ambilight-4-mediaportal/AtmoLight/tree/MP1_FEATURE_Gif_Reader[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Ambient Lighting System
AtmoLight - Plugin Improvement discussion
Contact us
RSS
Top
Bottom