Hacked Gadgets Forum

June 28, 2007

Text-Based YouTube Video Player for Linux

at 2:37 pm. Filed under Complex Hacks, Computer Hacks, What Were They Thinking


Working on a command line Linux system and want to watch a YouTube video? Until now you were out of luck. Warren Harding has designed a program that reads in a YouTube video and plays it using ASCII text!

“This is a concept video depicting how users can surf and even watch videos from youtube with out the use of a Graphical User Interface.
The operating System is linux fedora 6, I used the lynx text based browser to search for a video on youtube, then I dug through the source found the keys required to build a request to download the desired video. Once downloaded I invoked the shell from lynx to launch mplayer to play the downloaded video. Mplayer is a really handy media player utility, if it doesn’t see X it uses a text engine to render the video, it has support for every codec you could think of including flv.”