A CLI application to convert a video or gif into ASCII and play it in a terminal.
As seen in the bottom right, the video will scale to whatever size the terminal is at the time the command is run.
example.mp4
vidToAscii [flags]
Flag | Description | |
---|---|---|
-h | --help | help for vidToAscii |
-i filepath | --input filepath | file path of input video |
-b | --background | use background colors instead of ascii characters. This makes the video look like pixel art |
-s | --save | save the converted data as a txt that can be loaded with --load |
-l | --load | load saved data created by --save. Must use -i to specify filepath of save |
-
Install ffmpeg, ffprobe, and go
-
Download or clone repository
-
Navigate to the vidToAscii folder within the repository
-
Intstall the application. This will create an executable. On Windows it will also add the executable to the PATH variable.
go install
- Run application
vidToAscii -i input.mp4
- List all options
vidToAscii --help