Server migration complete, Welcome to version 2.1.1



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

+-Site Stats

Total Members: 16477
Latest: jbhubert
New This Month: 9
New This Week: 6
New Today: 2
Total Posts: 132728
Total Topics: 16475
Most Online Today: 121
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 103
Total: 103

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.


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


You should be able to just write to the /dev/shm files as Dan mentioned in the other thread.

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.

Support FPP

+- Recent Topics

Multiple text effects cause re-render by Poporacer
Today at 03:50:24 PM

FPP led Panel Troubleshooting. by Poporacer
Today at 09:29:56 AM

output controller by JonD
Today at 09:29:07 AM

Looking for SRx2 V5... by darylc
July 11, 2024, 05:54:34 PM

FPP 8.0 by colonelcline
July 11, 2024, 04:05:15 PM

SMPTE timecode by k6ccc
July 11, 2024, 10:36:03 AM

Matrix panels go full while on every restart by k6ccc
July 11, 2024, 08:17:58 AM

Cannot change serial settings for Renard by
July 08, 2024, 09:11:47 PM

7.5 wlan ARP issue? by peterjp
July 05, 2024, 11:44:49 PM

FPPv7.5 octoscoller error by dkulp
July 05, 2024, 10:44:41 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod