help needed: stream video over WiFI #563
Replies: 8 comments 2 replies
-
From the sounds of it you can successfully stream pixel data, but the question is that you can't get the performance you need? 3-5fps seems about right to me. These LED panels have little resemblance to a LCD panel like in the video you linked, as LED panels need more CPU to update the DMA buffer because they're so "dumb". You could try turning down the library colour depth. Send 16 bit 565 colour instead of 24 bits. Use UDP not TCP. Probably really need to write a scaled back custom library. And, the ESP32 (the original one) is pretty old as well and not as powerful as the S3. Or, use a raspberry pi instead. |
Beta Was this translation helpful? Give feedback.
-
I have been able to stream e131 (sacn) at 60fps on a 64x64 matrix. I don't have the entire code organised but can share a few snippets which can help you. From the 'sending' side, you need a way of sending sacn data (it's similar to artnet). Many softwares can help you do that, and you can write simple softwares yourself if needed as well. Gist to the specific code which gets and displays data. E131 library I am using (modified from original). Finally one thing which took me a long time to realise is that you need a decent router for WiFi streaming. I have a Three 5g router which does a terrible job at this, but a cheap £20 somehow does exactly what I need. Feel free to ask if you are struggling. |
Beta Was this translation helpful? Give feedback.
-
我已经使用此库做成功了一个80*40分辨率的WIFI流传输,并通过SIGNALRGB控制它! |
Beta Was this translation helpful? Give feedback.
-
您愿意分享代码吗? |
Beta Was this translation helpful? Give feedback.
-
我的代码很乱,你愿意看的话。它还集成了MDNS、web服务,wifi配网等,仿WLED协议和SIGNALRGB通讯,但是我不知道怎么上传到这个网站,我也才开始登陆这个网站 |
Beta Was this translation helpful? Give feedback.
-
我已经上传代码到我的库中,你可以随时下载了 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
see https://github.com/Facetti/E1.31-sACN-ESP32-matrix-display |
Beta Was this translation helpful? Give feedback.
-
Overview
Hi, is there a way to stream video over WiFi and display it using this library?
I have a 128x128 (4 64x64 panel) setup. 2 chains 2 panels each.
I can't allocate a 128x128x3 byte array because the ESP32 doesn't have enough memory.
So I have a 64x64x3 byte array that I fill and then use that to read the current frame over the network.
Then I display that image in one of the 4 panels and read the next panel of the current frame.
Frames are drawn using https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA/blob/722358ad2d990d0aa36600da95e4b36b740ff5f7/src/ESP32-VirtualMatrixPanel-I2S-DMA.h#L463
Needless to say the frame rate is bad. Around 3-5 frames per second in the best case.
Help needed
Things I have tried
Things I have not tried
Beta Was this translation helpful? Give feedback.
All reactions