Play Command Line Video in Linux…. Its real cool.

August 31, 2010 at 11:46 am (L!NUX, Uncategorized)

If you have been on the Internet for any amount of time, chances are that you have come across ASCII art (drawings made with the ASCII text characters) either in an email signature, a web site, or some other place. Good ASCII art can take time and talent to look just right, but you can skip through that effort with AAlib (http://aa-project.sourceforge.net/aalib), a library devoted to converting any image into an ASCII art equivalent. Since a movie is basically a system of moving images, MPlayer has added support for AAlib as a video output option. This means that each frame in the movie is converted to an ASCII equivalent and displayed on the screen. This hack describes the basic options needed to convert a video into ASCII art.

To MPlayer, AAlib is yet another output format that it can support. Like with other output options, if you have compiled mplayer yourself, you will need to compile in support for AAlib. Many of the MPlayer packages out there already support AAlib, so if you use one of those, you should be fine. To turn on AAlib output, just add -vo aa to your mplayer command:

simply install mplayer by,

Install Mplayer in Ubuntu Edgy eft

You need to add the following lines to /etc/apt/sources.list file

gedit /etc/apt/sources.list

enter these two lines and save your file

deb http://archive.ubuntu.com/ubuntu edgy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy universe multiverse

Now you need to run the following command to update the source list

sudo apt-get update

Install mplayer using the following command

sudo apt-get install mplayer

$ mplayer -vo aa video.avi

For a better aspect output you may try ,
$ mplayer -vo aa -monitorpixelaspect 0.5 video.avi

For a 256 color output try,
$ mplayer -vo caca video.avi
(this is nt so cool as the previous one anyway… 😉

It ates out any video format known to human and spits out real ASCII…. really a verity stuff.
Check it out pals…

Advertisements

Permalink Leave a Comment

A ready to use command line mp3 player for Ubuntu

August 17, 2010 at 11:16 am (L!NUX, Uncategorized) ()

Hi all,
Releasing beta of command line mp3 player for Ubuntu 8.04 +.

-L

1.Just download it.
2. Untar
3. ./install.sh

Link: http://www.easy-share.com/1911905132/atmp3-ubuntu-0.2.11.tar.gz

Enjoy…

Permalink 1 Comment