Languages

Menu
Sites
Language
Ambilight for Samsung TV (Tizen)
Hey everyone, I wanna develop an app for my Samsung TV OS Tizen, which will be running on the background let call it "Deamon". So Deamon should do a screenshot every 3 milliseconds and send these screenshots to another server. A lifetime of Deamon should begin when TV is turn on and finish when it's turned off. The main idea to create an Ambilight for my Samsung tv but without all converters, HDMI splitters, etc. I just wanna send a screenshot to another server that will read the image and change the color on the strip. Can someone advise me where I can take a look, maybe some SDK feature or API for this? Maybe there is some remote streaming to another server by wireless. Also, this Deamon shouldn't load the Samsung CPU. So if someone knows how can I do it, please help me. I will try to develop it. Thanks!!

Responses

10 Replies
Javier Alfonso Bellota de Frutos

Did you find anything about it? Or if it is possible to achieve it?

James Andrews

There are many apps for Samsung TV OS Tizen. I use my smart TV to watch my favorite shows.  My wife wanted to watch the Kardashians without cable so bought a new Samsung tv for her.  - I'm so happy that after 14 years this reality show will end in 2021.

Mary Solero

To achieve your goal of developing a Deamon app for your Samsung Tizen TV, you will need to use the Tizen SDK. The Tizen SDK provides tools and APIs for developing applications for the Tizen operating system, which is used by Samsung smart TVs.

Here are the steps you can follow to develop your Deamon app:

  1. Download and install the Tizen SDK: You can download the Tizen SDK from the Tizen website (https://developer.tizen.org/development/tizen-studio/download).

  2. Create a new project in Tizen Studio: After installing the Tizen SDK, launch Tizen Studio and create a new project. You can select the "Tizen Web Application" template and choose the Tizen 4.0 platform.

  3. Implement the Deamon logic: In your project, you will need to write code to capture a screenshot of the TV screen every 3 milliseconds and send it to another server. You can use the HTML5 canvas element to capture the screenshot and the WebSockets API to send the data to the server.

  4. Optimize the Deamon for performance: To avoid overloading the TV's CPU, you will need to optimize your code to minimize the CPU and memory usage. You can use the Tizen Studio's profiling and debugging tools to analyze the performance of your app.

  5. Test and debug your Deamon app: Before deploying your Deamon app on your Samsung TV, you can test it on the Tizen emulator or on a physical device. You can use Tizen Studio's debugging tools to identify and fix any bugs or issues.

I hope this information helps you develop your Deamon app for your Samsung Tizen TV. Good luck!

Kath Rose

There are a few different aspects to consider when developing an app like this. Here are a few suggestions to get you started:

  1. Capturing screenshots: To capture screenshots at a high frequency, you may need to use a low-level graphics API such as OpenGL or Vulkan. These APIs allow you to access the raw framebuffer data directly, which can be used to generate screenshots. You'll need to write code to periodically capture the framebuffer data and encode it into an image format such as PNG or JPEG.

  2. Sending screenshots to a server: There are a variety of ways you could send screenshots to a remote server, including HTTP POST requests or WebSocket connections. You'll need to write code to establish and maintain the connection to the server, as well as handle any errors or network issues that may arise.

  3. Minimizing CPU usage: To avoid overburdening the Samsung CPU, you'll need to be careful about how you structure your app. One approach might be to use a separate thread or process for the screenshot capture and sending logic, to ensure that these operations don't block the main thread. You'll also want to minimize the amount of data you're sending over the network, to reduce the amount of processing required on both the TV and the remote server. 

  4. Tizen SDK and API: The Tizen SDK provides tools and APIs for developing apps on the Tizen platform. You may want to start by looking at the Graphics API, which provides access to low-level graphics operations, as well as the Networking API, which provides tools for communicating with remote servers. The Samsung Developers website also provides documentation and tutorials on developing apps for Samsung TV.

  5. Remote streaming: There are a variety of remote streaming technologies available, such as Miracast, DLNA, or Chromecast. However, these technologies are generally designed for streaming video or audio content, rather than screenshots. It's possible that you could use one of these technologies as a basis for your app, but you would likely need to modify them significantly to achieve the desired functionality.

Overall, developing an app like this will likely be a complex undertaking, requiring a deep understanding of both graphics programming and network communication. However, with the right tools and APIs, it should be possible to achieve the functionality you're looking for. Good luck!

Mario Dudley

I appreciate your thorough breakdown of the different aspects involved in developing such an app. It's reassuring to know that there are existing technologies and APIs available to support the project. I'll dive into the Tizen SDK documentation and start experimenting with capturing and sending screenshots. Thanks again for the guidance!

Kath Rose

The app will require low-level graphics programming to capture screenshots, network communication tools to send the screenshots, and careful structuring to minimize CPU usage. The Tizen SDK and Samsung Developers website provide resources for developing the app, and the user may need to modify existing remote streaming technologies to achieve the desired functionality.