News:

LATEST RELEASE:  FPP 8.5.1 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/8.5

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16972
Latest: Talor978
New This Month: 10
New This Week: 5
New Today: 0
Stats
Total Posts: 135741
Total Topics: 17045
Most Online Today: 2179
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 67
Total: 67

Load .raw image to frame buffer for overlay image display on fb0 or LED Colors

Started by digilabpg, May 24, 2024, 11:02:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

digilabpg

Thanks to everyone who can help me, I use the FPP 7.5 version but with the FPP 8.0 version it's the same, I've been trying to write an image to HDMI or 'LED Colors' for some time via the fb0 or 'LED Colors' device ', what I wanted to ask is there an API command to save an image from the Frame buffer to a file, I tried it and it works well, the command is this:

arg = {"File": "ImageFilename.png"}
r = requests.put('http://localhost/api/overlays/model/fb0/save';, json = arg)

I wanted to ask you, is there a command to do the opposite, load a RAW image from a frame buffer file? Type load command?
I tried using the fppmm command with this syntax:

fppmm -m fb0 -o on
fppmm -m fb0 -f raw.raw

It always gives me the error 'Bus error' the raw file is the right size, I don't understand where my error is.
Thanks in advance to anyone who can help me

CaptainMurdoch

You should be able to just write to the /dev/shm files as Dan mentioned in the other thread.  https://falconchristmas.com/forum/index.php?topic=16789.msg134583

I just tested this using a simple 'cat' from the command line and it worked fine for my P10 matrix.

You have to enable the overlay model and then anything you write to the FPP-Model-Data-* file for the model should show up on the lights.  You can read the current data by reading the file.  In my quick test, I drew on the matrix model with the MatrixTools plugin, then saved the data off to another file, then cleared the matrix using the MatrixTools plugin and wrote that same data back to the model using the CLI and the P10 panels lit up with my previous drawing.
-
Chris

Support FPP

+- Recent Topics

How to control individual parts of a coro prop by Jack S
Today at 02:37:14 PM

USB audio interface with multi channel outputs by jrob
Today at 09:03:51 AM

Plugin for scoreboard data from node red by Mark_M
Today at 07:51:12 AM

QN8066 FM Transmitter by aaronross
July 18, 2025, 04:27:42 AM

Scoreboard Plugin by sharkboy005
July 16, 2025, 03:05:09 PM

Falcon 16v4 configuring to smart receivers by JonD
July 14, 2025, 05:26:28 AM

E1.31 Bridge Mode - Crash by Poporacer
July 13, 2025, 10:54:02 PM

E fuse api by Jrbrown
July 12, 2025, 08:06:48 PM

FPP VS eero home network Static IP challenges by JonD
July 11, 2025, 06:11:50 PM

Setting up a wired on demand show on Pi/ FPP to push a show to Falcon Controller by lunchour
July 03, 2025, 03:57:56 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod