The videoplayer fw on cardputer really fked my head trying to make it work then i found this fw and make this automation. Special thanks to the contributer of PixelFlow @7h30th3r0n3 Turn any MP4 video into a flowing animation on your M5 PixelFlow device — automatically.
This tool:
- Extracts frames from a video at selected fps (10-20 is recommended you can make it higher for shorter videos)
- Resizes them to 240×135 (stretched if needed)
- Uploads them safely to your PixelFlow’s local webserver (
http://192.168.4.1/upload)
- Python 3.8 or newer
- FFmpeg installed (
ffmpeg -versionshould work) - M5 device running the PixelFlow firmware
- Your computer connected to the PixelFlow Wi-Fi access point
Installation one-liner: You can start by downloading the video you want (average 30 seconds is recommended). Then open the PixelFlow firmware on your cardputer and connect to the access point before executing the python file.
$ sudo apt install yt-dlp -y; git clone http://github.com/pappafrank/video-flow.git; cd video-flow; python3 -m venv venv;source venv/bin/activate; pip install -r requirements.txt; python3 video-flow.pyYou can also set the timeout between frames depending on the video you uploaded on PixelFlow's web interface.
This is still really inconvinient for videos longer than 30 seconds so im working on another firmware to either play videos live from a device or use .mjpg etc. if you want to help me building this you can email cetteviee@proton.me