Go Back

Terminal-Player (CLI Video Player)

GitHub Page

Video Link

A CLI video playback program in C, uses libavformat to read video data like framerate and duration, and uses ffmpeg to convert video to bmp. Yes, it is inefficient.


Compilation instructions

mkdir build cd build cmake .. // add '-DWSL=1' without quotes if you want to compile for WSL. make


./termplayer videofile.mp4 // plays in monochrome ./termplayer videofile.mp4 ANY_COLOR // plays in monochrome but whites are in specified color ./termplayer videofile.mp4 color // plays in 8 colors.