Transform images and videos to ascii with a cli tool or rust crate.
https://www.youtube.com/watch?v=-JT_XlLnAas
You will need ffmpeg and linux.
cargo install paxcii
https://crates.io/crates/paxcii
For the cli the help message will tell you all you need.
For the crate there are the docs.
You can also take a look at the cli source code, it's an example on how to use the crate.