-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image effect (GIF support) #3835
Conversation
Now we will really need to start working on SD card support. 😄 |
|
SD support is already implemented and merged as usermod |
Finally had a bit of time to go through the code. Sorry for the delay. There are a few of |
Thanks! |
We have been testing this branch a lot as that is a door for a very simple way to create custom effects even if that is not the intended purpose So that is why we think that gifs could be a way to enhance wled even in ways no one thought of .The size at the moment is a show stopper without at least SD card support being linked to that as we could only load few small gifs in our tests . If @Aircoookie is no longer interested in this ( this is more alarming in a lot of ways which is not related to gifs as your presence is a motivation to a lot of the guys) then we want to try to borrow the logic from the usermod to simplify the gifs loading either from a shared SMB folder on a local PC or a folder on github without the use of any code on a server just to make that more user friendly as much as possible which we are not sure of at this point . ( We work with students on a variety of projects and we are not wled devs and do not wish to do something others may have in mind or planned in a more polished way but we will give it a shot ) . Hope you get the point |
@dosipod I have also been testing this branch quite a lot while developing my small GIF player web interface at https://github.com/Manut38/WLED-GIFPlayer-html I honestly don't see SD Card support as a show stopper for this feature necessarily. Granted, the littleFS and the attached web server of course are not the fastest or most stable things ever, especially when uploading a new image using the /edit endpoint. |
@oOJoshOo |
@dosipod still the same Problem, to exclude faulty flash i tried three diffrent ESP32 Boards from wich are two the same type of Dev Board.
And after i Uploaded one gif with 8kb of Size, and i try to upload another anout the same size i get this log; To see the free Space, i used @Manut38 's Tool, its always 61kb. When i install it on the normal Beta then it (obviuosly) does not work, but it shows me the about 1mb i should have. |
@oOJoshOo Corrupted dir pair is normal after you install for the first time . Just use the bins I linked to here https://github.com/dosipod/WLED/actions/runs/10037498528 ( you can OTA that ) |
The gif tree https://github.com/Aircoookie/WLED/tree/gif still lacks support for 16MB ESP32 Devices "esp32s3dev_16MB_opi". Can it be added easily? |
@oOJoshOo In fact your "filesystem" info looks extremely abnormal. Did you use ESP Home Flasher? This tool is well-known for creating corrupted WLED installations. Your filesystem size is only 61kb, while it should be more than 900. Its a miracle that anything worked at all. |
That was the problem i tried to install it OTA which bugged it out, after flashing it with ESP Home Flasher it worked. |
"corrupted WLED installation" includes "WLED runs after installing, but you will have problems later" Our main documentation say "Please consider using WLED ESP Flasher, or the official web-based installer , or this alternative web installer". |
So you mean the ota had problems, because i installed wled with esp home flasher in the first place? |
Hello, I've been working on the rebase it is available in my fork. |
What is the status of this PR @Aircoookie? What is still outstanding in getting this merged? |
Personally I'd love to see that PR merged :) |
The main issue is increase of code size. Last time I checked it was beyond 10kB which would be problematic if any usermods are included (or when debugging). |
So just needs to be optional via build flags and only included then on the images with larger flash |
It is possible to disable by adding the "-D WLED_DISABLE_GIF" flag but this is not by default and not so obviously documented. |
Image effect (GIF support)
A very versatile advanced effect mode for displaying .gif images (could be extended to other filetypes like .bmp or .fseq in the future) on matrices and 1D strips.
Limitations