Friday, March 3, 2017

How to playback video in ASCII art on Ubuntu


Playback videos on graphical mode is what people always do in their everyday life, however playback videos on command line in ASCII art mode is something most people don't do, in this article i will show you how to playback video on command line and in ASCII art mode.

First of all why you want to do this in first place? the answer is why not, playing movie on command line with ASCII art is something fun to do, it's just for entertainment.

To playback movies on command line we can use mplayer on ubuntu which probably you already have, so no need to install, but if somehow you don't have it, you can install mplayer with this:
sudo apt-get install mplayer
To playback movie in command line, you can run mplayer like this:

playback in black and white:
mplayer -vo aa [the-video-file]
playback in color:
mplayer -vo caca [the-video-file]
Example:
mplayer -vo caca video.mp4
mplayer -vo caca nude.avi


No comments:

Post a Comment