[App] libAmbiLight E/F/H (MST-only)

Here are software that related with Samsung H series TVs.
Please don't create any new topic here unless you have software to post/release.

bobiturboto
SamyGO Project Donor
Posts: 424
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] libAmbiLight E/F/H

Post by bobiturboto » Thu Aug 30, 2018 1:53 pm

Check my post with the node mcu diagram GPIO 0 Gpio 2 are the ports

Sent from my D6503 using Tapatalk


WarLLe
SamyGO Project Donor
Posts: 9
Joined: Sat Oct 31, 2015 2:01 pm

Re: [App] libAmbiLight E/F/H

Post by WarLLe » Thu Aug 30, 2018 3:55 pm

adonis wrote:
Mon Aug 20, 2018 9:48 am
Mubis wrote:
Sat Aug 18, 2018 1:52 pm
The same problem with F7000. TV hangs up after executing libAmbiLihgt.
libscreenshot works fine with samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so ALT
Hmmm... that's unfortunate if it only works with the ALT method correctly.
The ALT method grabs the screen as a compressed JPG. This means that the pixel information isn't directly accessible, instead it needs to be decoded, which isn't that easy.
Got the same problem with crashing my TV. Just only working with ALT method.
Any chance to get this working for ALT method?

EDIT:
Found some example code for jpeg decompression in memory with jpeglib.
Maybe it's possible to implement that jpg decompression with ALT method to get the color information back.

https://gist.github.com/PhirePhly/3080633

Allodo
Posts: 22
Joined: Thu Feb 21, 2013 8:00 pm

Re: [App] libAmbiLight E/F/H

Post by Allodo » Wed Sep 05, 2018 7:04 pm

Still I need Wlan on my ESP8266? And if, why?

Because I have trouble to connect with WinSCP everytime I put in my NodeMCU because it takes the same IP-Address of my TV.
I'm waiting for my WS2801 from Aliexpress because I first wanna try on my small TV in bedroom before I change everything in Livingroom.

Will Ambilight start when I put my TV on or do I have to make anything else?

Thx for your help :)
My TV's: UE50H6470 and UE75H6470

bobiturboto
SamyGO Project Donor
Posts: 424
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] libAmbiLight E/F/H

Post by bobiturboto » Thu Sep 06, 2018 7:02 am

You need network connection because your TV will send requests to node mcu. To avoid ip address conflicts you can set up dhcp static address alias for NodeMcu from your router.
Before buying anything make sure your TV is H series because it seems is the only one which is confirmed to work with this lib.

Sent from my D6503 using Tapatalk


Allodo
Posts: 22
Joined: Thu Feb 21, 2013 8:00 pm

Re: [App] libAmbiLight E/F/H

Post by Allodo » Thu Sep 06, 2018 7:48 am

@bobiturboto
Thx :)

I have two H-Series (UE50H6470 and UE75H6470). I've bought them because of this I only have to make one Channellist and I've needed Scart for Ambilight in Livingroom. And after I've read this thread I bought the WS2801 again :)
You need network connection because your TV will send requests to node mcu.
Normally my TV is connected with Lan and not over WLan because signal in Bedroom is weak. Do I have to use only WLan?
My TV's: UE50H6470 and UE75H6470

bobiturboto
SamyGO Project Donor
Posts: 424
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] libAmbiLight E/F/H

Post by bobiturboto » Thu Sep 06, 2018 9:15 am

For NodeMcu you have no choice because it has only wlan. For the tv it doesn't matter my is connected by LAN too

Sent from my D6503 using Tapatalk


Allodo
Posts: 22
Joined: Thu Feb 21, 2013 8:00 pm

Re: [App] libAmbiLight E/F/H

Post by Allodo » Fri Sep 07, 2018 7:15 am

Yesterday I've tried to make Screenshots as well for testing.

Here are my Results:

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so JPG 
No Picture, TV freezes

Code: Select all

samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so ALT 
Perfect Picture

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so
Picture is upside down
My TV's: UE50H6470 and UE75H6470

bobiturboto
SamyGO Project Donor
Posts: 424
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: RE: Re: [App] libAmbiLight E/F/H

Post by bobiturboto » Fri Sep 07, 2018 7:36 pm

adonis wrote:
Mubis wrote:
Sat Aug 18, 2018 1:52 pm
The same problem with F7000. TV hangs up after executing libAmbiLihgt.
libscreenshot works fine with samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so ALT
Hmmm... that's unfortunate if it only works with the ALT method correctly.
The ALT method grabs the screen as a compressed JPG. This means that the pixel information isn't directly accessible, instead it needs to be decoded, which isn't that easy.
Can we use the same approach like for J series
http://forum.samygo.tv/viewtopic.php?p=105310#p105310

Sent from my D6503 using Tapatalk


adonis
SamyGO Project Donor
Posts: 34
Joined: Tue Dec 19, 2017 8:59 pm

Re: [App] libAmbiLight E/F/H

Post by adonis » Mon Sep 10, 2018 8:53 pm

WarLLe wrote:
Thu Aug 30, 2018 3:55 pm

Got the same problem with crashing my TV. Just only working with ALT method.
Any chance to get this working for ALT method?

EDIT:
Found some example code for jpeg decompression in memory with jpeglib.
Maybe it's possible to implement that jpg decompression with ALT method to get the color information back.

https://gist.github.com/PhirePhly/3080633
Hey... that looks promising... I am going to take a look at it at some point. I hope it works ;-)
Thank you for your research and your hint.

adonis
SamyGO Project Donor
Posts: 34
Joined: Tue Dec 19, 2017 8:59 pm

Re: [App] libAmbiLight E/F/H

Post by adonis » Mon Sep 10, 2018 8:55 pm

Allodo wrote:
Fri Sep 07, 2018 7:15 am
Yesterday I've tried to make Screenshots as well for testing.

Here are my Results:

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so JPG 
No Picture, TV freezes

Code: Select all

samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so ALT 
Perfect Picture

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so
Picture is upside down

Code: Select all

samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so
Since this works, you're good to go. Don't worry about the upside-down picture. The only important thing here, is that we get pixel data. You can ajust the pixel direction in the libAmbilight params.

Post Reply

Return to “[H] Software”