Skip to content

mikolajlubiak/terminal_animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animation showcase

Turn media (video/gif/image) into colored, animated or static, ASCII art

Project development and progress showcase: https://video.infosec.exchange/w/p/vYM6TsSBMGEg1DRHMADXu2

Build

Tested on Linux and Windows, but MacOS, and really any other OS with CMake, FFmpeg, VTK, OpenCV ports and C++20 compatible compiler, should work as well.

  • Linux (and other Unix systems like MacOS):
    • Install CMake, Git, FFmpeg, VTK and OpenCV (different commands based on your distribution)
      • Fedora: sudo dnf install cmake git ffmpeg vtk opencv opencv-devel
      • Arch: sudo pacman -S --needed cmake git ffmpeg vtk opencv
    • git clone https://github.com/mikolajlubiak/terminal_animation
    • cd terminal_animation
    • mkdir build
    • cd build
    • cmake ..
    • cmake --build .
    • ./terminal_animation
  • Windows (WSL):
    • Setup WSL (Windows Subsystem for Linux)
    • Inside your WSL container do the Linux steps
  • Windows (Visual Studio):
  • Windows (Terminal):

Usage

  • In the options window you can set the media's size
  • In the file explorer window you can select the media you want to be turned into ASCII art