techniccontroller / wordclock_esp8266

Wordclock 2.0 with ESP8266 and NTP time
https://techniccontroller.com/word-clock-with-wifi-and-neopixel/
MIT License
22 stars 17 forks source link

[feature] Mode: video playback with HTML upload #5

Open techniccontroller opened 2 years ago

techniccontroller commented 2 years ago

possibility to upload video files via web interface and playback it on the clock:

laurensV commented 1 year ago

That would be a great feature to have! Let me know if there is anything I can do to help you with this feature

techniccontroller commented 1 year ago

Hi Laurens,

Nice to hear that. I created already one year back a quick and dirty solution for this feature but had no time or hardware to finalize it. I just created a branch (videoplayback) for this issue and added my code from back then. There are only changes on the webserver needed, the code for ESP8266 are already able to accept commands for showing full images via endpoint /leddirect. I also added one example video to test. It works okay, but is not very reliable. I have the hardware now available again so I try to finish the code in the next weeks.

But if you like you can also work on that and let me know when you have a nice solution.

Here are some references I used for creating the code:

EDIT: To test my code, just change the ip-address in the file videoplayback.html and upload it to the clock, then browse to /videoplayback.html and drag and drop the example video to the shown box. The first frame should be displayed on the clock and when pressing on the play-button the video should play on the clock. After 5 seconds after no new image is sent to the clock the clock will return to normal mode shows the time again.

BR Edgar