terminal video player
this video player is not very fast and requires heavy preprocessing, the frames are taken out of the video with ffmpeg then stored in a cache directory in /tmp/termplay.cache
, next they are grayscaled and resized to the size of the terminal
once all that processing is done the individial pixels are divided by a number to determine an index of possible pixel characters, they are appended to a string that is the size of the terminal and printed
The player is now semi-parallelized via rayon to help speed up the processing a bit
it is recommended you have cargo installed
$ git clone [email protected]:NotCreative21/termplay.git
$ cd termplay
$ ./build.sh
$ termplay video.mp4 15 # 15 signifies fps, default is 10 if no argument is provided