knifa / led-matrix-zmq-server Goto Github PK
View Code? Open in Web Editor NEWA tool for streaming frames to rpi-rgb-led-matrix over ZeroMQ.
License: GNU General Public License v3.0
A tool for streaming frames to rpi-rgb-led-matrix over ZeroMQ.
License: GNU General Public License v3.0
Hi @Knifa
Thank you for your work on this. I'm new to everything here, but I think I am close to understanding zeroMq w/ rpi-rgb-led-matrix.
I'm not sure how the server is sending the frames. Could you please show example of server API and how you send the byte frame from another rpi?
Cheers!
Hello,
I've setup a PI4 along with 2x 128x64 panel. Everything works fine with the included tools, but I can't send images of more than 32767 in size. The server doesn't even react.
Here is an example of a 32767 frame:
pi@raspberrypi:~/led-matrix-zmq-server/bin $ sudo ./led-matrix-zmq-server --led-cols=128 --led-rows=64 --led-chain=2 --led-slowdown-gpio=3
Listening on tcp://*:42024 @ 24BPP
Frame dimensions: 256x64
Expected frame size: 49152 bytes
Frame size mismatch! Expected 49152 but got 32767
And a 32768 frame:
pi@raspberrypi:~/led-matrix-zmq-server/bin $ sudo ./led-matrix-zmq-server --led-cols=128 --led-rows=64 --led-chain=2 --led-slowdown-gpio=3
Listening on tcp://*:42024 @ 24BPP
Frame dimensions: 256x64
Expected frame size: 49152 bytes
As you can see no error message.
I can do some tcpdump/wireshark if needed.
I also tried to change the type to unsigned int here:
unsigned int frame_size = zmq_sock.recv(&frame, expected_frame_size);
But it didn't help.
Any idea?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.