Parsing out a video file into the RGB components
Go to file
2023-09-05 08:30:05 -06:00
.gitea/workflows fixed spelling mistake 2023-08-11 23:11:54 -06:00
src Changed to static test image 2023-09-05 08:30:05 -06:00
.gitignore don't push videos 2023-08-11 17:32:40 -06:00
Cargo.lock init 2023-06-29 11:56:43 -06:00
Cargo.toml init 2023-06-29 11:56:43 -06:00
README.md Update README.md 2023-08-12 05:10:31 +00:00
rgb.png choose your screen type 2023-06-29 20:23:35 -06:00

Video Parser

This takes a visual media input (photo / video / etc) and uses ffmpeg to read the rgb values then writes them to stdout as raw data. This can the be piped to /dev/ttyACMx which will display them. To find the arduino you can run:

ls /dev/serial/by-id/ | grep arduino | xargs -I{} readlink /dev/serial/by-id/{}

which will output ../../ttyACMX or simmilar. Then /dev/ttyACMX (for example) is your arduino. From which you can run cargo run > /dev/ttyACMX to pipe the parsed video into it.