Skip to Content

Terminal Tip: ASCII-ify your Videos

I'm kind of on an ASCII kick this weekend. Having already brought you ASCII banners, I thought I'd follow that up with ASCII video playback. Apple's ASCII Movie Player, which you can download here, allows you to view any QuickTime compatible media from the Terminal. Above, you see last week's episode of Heroes--that's Peter, in case you didn't recognize him from the screen shot.

The ASCII Movie Player disk image contains a compiled Universal Binary application file. This means you don't need any developer tools to compile or run this utility. Drag a copy into your favorite folder (it doesn't have to be /Applications; /usr/local/bin might make more sense), launch Terminal, navigate to the executable and run it from the command line. e.g. % ./ASCIIMoviePlayer /Volumes/Data/Downloads/Heroes/X22-Heroes.m4v

With ASCII Movie Player, you can play any media that works with QuickTime. So if you've got Perian installed, for example, you can ascii-fy your DivX or Xvid videos as well as your MPEG-4s and QuickTime MOVs, and so forth. And, since QuickTime also allows you to open and display still images, you can use ASCIIMoviePlayer to load and display most digital photographs.

As a rule of thumb, display looks best with white-on-black rather than Terminal's default black-on-white. To switch this, select Terminal -> Window Settings, choose Color from the Inspector pop-up and update the Normal Text and Background Color settings.

Update: colorized version can be found here.

Update 2: Both Mplayer and VLC provide ASCII art output using the -libcaca module. (Caca stands for Color AsCii Art.) In VLC, use Settings > Preferences > Video > Output modules > Advanced options > Video output module > Color ASCII art video output (courtesy of JeffreyAtW over at Digg). More details here. In MPlayer, the AAlib supports black and white ASCII conversion and cacalib supports full color ASCII. Details here. mplayer -vo aa videoname or use mplayer -vo caca videoname for color ASCII (but with a performance hit due to the colors).



Categories

Terminal Tips

I'm kind of on an ASCII kick this weekend. Having already brought you ASCII banners, I thought I'd follow that up with ASCII video...
 

Add a Comment

*0 / 3000 Character Maximum

18 Comments

Filter by:
Genival Cangussu

Great blog congratulations!come visit our site and see amazing free on line movies www.zigbr.com

July 08 2007 at 7:30 PM Report abuse rate up rate down Reply
Macskeeball

I just used this to watch the music video for Weird Al's "White & Nerdy." Kind of ironic if you ask me.

May 26 2007 at 2:00 PM Report abuse rate up rate down Reply
Frank Bitterlich

I agree, you can't deny the collness factor. :)

May 22 2007 at 11:12 AM Report abuse rate up rate down Reply
Shenlon

Yeah, there's the whole VLC and MPlayer thing... but seriously. It's a movie from the Terminal. I mean, who ever heard of watching movies at a command prompt? This is way cooler than those other ones.

May 21 2007 at 11:37 PM Report abuse rate up rate down Reply
Frank Bitterlich

Ah, sorry, the link was swallowed. Moving ASCII is avialable here:

http://frankbitterlich.gotdns.com/

May 21 2007 at 2:58 PM Report abuse rate up rate down Reply
Frank Bitterlich

Shamelesss plug - I hope you don't mind :) I have just released version 2 of Moving ASCII, a little application that converts movies and still images to ASCII art (in either image, text, or movie form). Freeware. Available at .

May 21 2007 at 2:38 PM Report abuse rate up rate down Reply
Dan Napolitano

Because when i run it according to what you say, it says "Bus Error"

May 20 2007 at 11:41 PM Report abuse rate up rate down Reply
Dan Napolitano

If someone could make an in depth tutorial for this they would be my friend forever. I havent used command prompts since i was a kid

May 20 2007 at 10:15 PM Report abuse rate up rate down Reply
Brian

I think this (found in one of the documents in the download) will shed a little bit of light onto the origins of the terminal player.

/* Top X Tips for better ASCII QuickTime Movie Viewing
10) Grow your terminal/console to fit the Movie
9) Ask marketing folks if you can incorporate this code into your latest QuickTime product
and see if they think you're serious, then do it behind their back anyway
8) Set your terminal to White on Black for optimal look
7) Download your favorite movie trailer
6) While you're at it, download some Graphics Importer sample code (why not?)
5) Jedi mind trick your manager "...you want to send me to WWDC"
4) Order the pizza.
3) Dim the lights and turn up the audio
2) Turn off terminal transparancy for fastest performance
1a) Usage [smelltheglove:/Volumes/Spock] moof% ASCIIMoviePlayer sillymovie.mov
1b) Usage C: ASCIIMoviePlayer.exe sillymovie.mov

May 20 2007 at 3:55 PM Report abuse rate up rate down Reply
Jitaroo

hmm... is that peter petrelli of heroes i see?

May 20 2007 at 1:30 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.