Video2ASCII icon indicating copy to clipboard operation
Video2ASCII copied to clipboard

The program to play videos in Windows CMD using characters as pixels

Русская версия

Video2ASCII

License: MIT GitHub release (latest by date) GitHub Repo stars

Video2ASCII allows you to play video in Windows CMD

Examples

https://user-images.githubusercontent.com/40305144/142914078-6e5fd419-4e05-4779-8bc0-9c8110fc5c90.mp4

https://user-images.githubusercontent.com/40305144/142915540-402ae262-9c98-4408-ab40-65cbdecb9fcd.mp4

Requirements

Installation

Download Video2ASCII with ffmpeg and OpenCV

Or install them manually

  • 1.ffmpeg

    • Download latest build ffmpeg
    • Unpack to C:\
    • Add C:\ffmpeg\bin to PATH
  • 2.OpenCV

    • Download and install OpenCV version 4.5.4
    • Run in cmd
setx -m OPENCV_DIR C:\opencv\build\x64\vc15
  • 3

    • Download compiled code
    OR
    • Download the source code
git clone https://github.com/vadimkacool/Video2ASCII

Usage

Video2ASCII.exe PathToFile Width Height
  • PathToFile - path to file in "". Don't use \, replace it with / or \\
  • Width - The width of the command line in characters.
  • Height - The height of the command line in characters.

To keep the proportions, when choosing Width and Height, take into account the size of the font sign in cmd in pixels.

You can view and change it in:

  • right-click on the top panel cmd
    • Properties
      • Font