|
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.”
|
June 28th, 2007
1 question. could I get something like this for windows?
that woul be cool. you know. watching a video and then watching it in ASCII.
June 28th, 2007
I would just like to add that this was not some thing I created, I used linux, lynx and Mplayer, and the text engine is AA-Lib, all great projects kudos to them.
June 28th, 2007
What a waste of time! He could have just shown the video playing. What numbnuts types in a URL that long? There is such a thing as GPM. Doh!
That is the AAlib library and Mplayer has been linked to it for an age.
http://www.oreilly.com/pub/h/4441
If your mplayer has been linked to aalib properly and aalib is installed just
mplayer -vo aa myspiffyvideoina.formatmplayerlikes
Tada!
I think there is an Mplayer for vindos but do not know if aalib can be compiled for it.
Yes I have played DooM and Quake using that. No it wasn’t very fun but it is fun running AA stuff in text mode.
Most distros have aalib installed, try aafire in a terminal
Now
Get all your dev tools installed and compile this.
It’s much cooler that flash pr0n
http://aa-project.sourceforge.net/bb/
June 28th, 2007
“… has designed a program …”
There is no special program, at least not shown in this video. Just two standard programs and some searching and manual url copying.
To make it practical, you should have some script, plugin or patch for lynx to automate this.
The second part, launching mplayer, might be fairly easy. Lynx already offers an option to view it with the external program less (a text viewer with some fancy options to view (information about) other files too). Adding another external program based on the mimetype of the file shouldn’t be too hard.
The first part, the extracting of the proper url to get the flv file, is probably very difficult to integrate into lynx.
A site like http://videodownloader.net (/get/?url=…) could be used to convert the youtube webpage url to the url of the actual flv file.
If you want ascii video on windows, there is a version of mplayer for windows. You could install that and see if it has ascii output support.
From a console run: mplayer -vo help
Then it should list it’s output drivers, if (among other things) it says:
“aa AAlib” or “caca libcaca”
you can do: mplayer -vo aa [videofile] to get the output seen in this video. Or with -vo caca you can even get colored ascii output, but the colors look very funky.
June 28th, 2007
Well … mplayer also supports graphical mode under console mode, Geexbox [ http://geexbox.org/ ] is a media center using mplayer … without X, very light on resources
June 28th, 2007
Anyone with linux can play a demo based on aalib typing “bb” in the console (you must have the bb package installed). This demo shows you all you can do with aalib.
June 28th, 2007
Henkie in case you miss the first post :
I would just like to add that this was not some thing I created, I used linux, lynx and Mplayer, and the text engine is AA-Lib, all great projects kudos to them.
Mmeval its not p0rn, its a music video, its also a concept http://www.answers.com/concept, so some aspects may not appear to be practical “Doh!”, mice not allowed in the concept
.
June 29th, 2007
[...] se li guarda come sto tipo! [...]
June 29th, 2007
computer plays youtube videos with ascii text
This cool hack takes videos from YouTube, converts each frame to ASCII text, then plays them back in all their alphanumeric glory.
Warren Harding (Linux geek, not the 29th President) put together this application which uses the text-based Lynx web bro…
June 29th, 2007
Regarder une vidéo Youtube en ASCII-art sous Linux
Vous êtes sous Linux en ligne de commande, et vous voulez regarder une vidéo de chez Youtube ?
Pas de problèmes, il existe une astuce qui va permettre de convertir cette vidéo en ASCII-art afin de pouvoir la visualiser…
June 29th, 2007
May I put this in my blog? I’m translating this article to portuguese, coming soon it will be here - http://tradutorium.wordpress.com , with the credits.
June 29th, 2007
The idea and work isn’t something new, I don’t see what’s so “inventive” about this? video to ascii has been around for years. waste of time.
June 29th, 2007
[...] Posted on Junho 29th, 2007. [Título original]: http://hackedgadgets.com/2007/06/28/text-based-youtube-video-player-for-linux/ [...]
June 29th, 2007
This is great and all but was there a reason I waited 4 friggin minutes to watch you type in a long url and download the video? Ever heard of non-linear editing?
June 29th, 2007
This is without a doubt, the lamest thing I’ve ever clicked through on.
I should be shot and forced to watch screens full of dancing hamsters.
June 29th, 2007
[...] read more | digg story 尼古拉 @ 12:58 pm [filed under Digg [...]
June 29th, 2007
Hi Wendell,
Sure you can share this on your blog. Same goes with anything on Hacked Gadgets.
June 29th, 2007
If you used libcaca instead of aalib, you’d even get colors! Just put “-vo caca” in between “mplayer” and the file name.
June 29th, 2007
did you get sound working with that as well?
June 29th, 2007
Completely useless, but that’s why it’s so awesome.
@cantormath
sound is possible, but I think it would take up more resources and it wouldn’t sync up with the video.
June 29th, 2007
Incredibly incredibly bad. If there was a script it wouldn’t be so darn noob as it is but SERIOUSLY .. THIS!? Failure.
June 29th, 2007
aaxine will already do this…
June 29th, 2007
[...] En HackedGadgets encuentro este curioso video de YouTube en el cual un usuario de GNU/Linux, reproduce un video de Youtube desde la consola y sin interfaz gráfica. [...]
June 29th, 2007
VLC Media Player for Windows (personally, I highly recommend it) has ‘color ASCII art’ as a video output module, built-in.
Also, if you’re running Firefox, try “about:kitchensink” (in the address bar).
June 30th, 2007
like a piece of cake!
I thought you implemented the ascii-out-mplayer into lynx, so you have ‘embedded ascii-art-video’ but you only download the video and play it back with mplayer…
Why don’t you use ‘gpm’ for cut’n'pasting the address? Would look muchmore sophisticated:-)
June 30th, 2007
[...] Biliyorsunuz Linux’ta X-server çıkmadan görselleşemiyorduk. Yani ne resim ne de videodan yaralanabiliyorduk. Hatta x-server çıkmadığı zamanlarda da görsellik ihtiyacından dolayı ascii art keşfedilmemiş miydi? Kötü günlerdi, işkenceydi kabul ediyorum, ama hala konsol kullanmakta ısrarcı olan veya tüm işi yazıyla olduğu için konsol kullanan insanlar var. İşte şu blogda da konsol kullananların da eğlenebileceklerini gösteren güzel bir çalışma yapılmış. Çalışmanın temel amacı konsoldan youtube videolarının izlenebileceğini göstermek. Bunun için Fedora Core 6 altında sadece mplayer ve bildiğimiz lynx kullanılmış. Mplayer çok değişik bir medya oynatıcısı. .flv ve bir çok format da dahil olmak üzere çoğu kodeği destekliyor. Üstelik x-server’ı bulamazsa görüntüyü ascii metine çevirip bizlere sunuyor ! Videoda da izleyebileceğiniz gibi kahramanımız Youtube‘da rastgele bir video’yu araştırıyor ve .flv dosyasını bilgisayarına kaydedip mplayerla açıyor. İşte GNU/Linux’da bahsedilen free de bu! Yani özgürlük. Yani her ortamda eğlenebilmeyi ve bir şeyler yapmayı başarabilmek…. [...]
June 30th, 2007
make a version that doesn’t suck ass
June 30th, 2007
Cool, but I don’t see much point in doing this.
July 1st, 2007
[...] YouTube ! ’, -Linux , , -Command Line. ’ -YouTube -ASCII, , FLV , ! -YouTube, ! . ? __________________ Cpu: Intel Core 2 Duo E6300 1.86GHz Board: Intel Desktop Board DG965WH Memory: 4X CORSAIR VALUE 512MB 667MHZ DDRII Video Card: Gigabyte Geforce 7600GS 512MB PASSIVE COOLING Monitor: Samsung SyncMaster 940BW Hard Drives: 2X WD 36GB Raptors, 2X WD 500GB AAKS, 1X WD 250GB, 1X WD 120GB Optical Drives: NEC ND4550A BLACK Keyboard+Mouse: Logitech Cordless Desktop MX 5000 Laser Case: HEC 6C28 Power Supply: HEC 300AR-TF [...]
July 2nd, 2007
Damn! Dont have colors!
lmao
Guy! Nice work, that’s the most weird thing I ever see!
July 2nd, 2007
[...] Hack Gadgets Noticias relacionadasLinux e Mac vão registrar aumento de vírus - 04/2007Vamos contar os pinguins! - 06/2007Dell adere ao Linux - 03/2007OpenOffice.org lança convite à Dell - 03/2007Vírus de Windows no Linux - 04/2007 Posted in Linux | [...]
July 2nd, 2007
How did he view the source of the page to get the YouTube video? I’ve tried this in lynx. I can open a page and get to a video, but I can’t seem to get the link to the video to DL it.
A summary, list of steps or voice over would help. Otherwise, pretty cool.
July 3rd, 2007
You can use the mouse and Cut and Paste in text mode you know…
July 5th, 2007
Text-mode YouTube
You’ll probably never have the desire or need to download and watch a YouTube video on a text-only console, but doesn’t it make you feel better knowing that it can be done? The trick is to use the AAlib…
July 6th, 2007
Quite funny to see someone that use Linux to be a rebelian, and at the same time have a dell monitor. LOLS
July 23rd, 2007
[...] Via | hackedgadgets [...]
July 23rd, 2007
Someone spends too much time in the server room.
August 19th, 2007
[...] Biliyorsunuz Linux’ta X-server çıkmadan görselleşemiyorduk. Yani ne resim ne de videodan yararlanabiliyorduk. Hatta x-server çıkmadığı zamanlarda da görsellik ihtiyacından dolayı ascii art keşfedilmemiş miydi? Kötü günlerdi, işkenceydi kabul ediyorum, ama hala konsol kullanmakta ısrarcı olan veya tüm işi yazıyla olduğu için konsol kullanan insanlar var. İşte şu blogda da konsol kullananların da eğlenebileceklerini gösteren güzel bir çalışma yapılmış. Çalışmanın temel amacı konsoldan youtube videolarının izlenebileceğini göstermek. Bunun için Fedora Core 6 altında sadece mplayer ve bildiğimiz lynx kullanılmış. Mplayer çok değişik bir medya oynatıcısı. .flv ve bir çok format da dahil olmak üzere çoğu kodeği destekliyor. Üstelik x-server’ı bulamazsa görüntüyü ascii metine çevirip bizlere sunuyor ! Videoda da izleyebileceğiniz gibi kahramanımız Youtube‘da rastgele bir video’yu araştırıyor ve .flv dosyasını bilgisayarına kaydedip mplayerla açıyor. İşte GNU/Linux’da bahsedilen free de bu! Yani özgürlük. Yani her ortamda eğlenebilmeyi ve bir şeyler yapmayı başarabilmek…. [...]
September 8th, 2007
YouTube is the future, however I don’t know why you would want to watch this in ascii.
October 30th, 2007
[...] read more | digg story [...]
February 3rd, 2008
[...] | hackedgadgets Posted in Videos, bsd, linux, text console | Leave a [...]
March 24th, 2008
mplayer can play video on text mode console with hight quality of ordinary graphic mode.
This is the cvidix+hardware_vid driver set. White nvidia_vid is said to work in docs, i
have radeon working also:
http://article.gmane.org/gmane.comp.video.mplayer.devel/46228
May 21st, 2008
YouTubeRobot.com today announces YouTube Robot 2.0, a tool that enables you to download video from YouTube.com onto your PC, convert it to various formats to watch it when you are on the road on mobile devices like mobile phone, iPod, iPhone, Pocket PC, PSP, or Zune.
YouTube Robot allows you to search for videos using keywords or browse video by category, author, channel, language, tags, etc. When you find something noteworthy, you can preview the video right in YouTube Robot and then download it onto the hard disk drive. The speed, at which you will be downloading, is very high: up to 5 times faster than other software when you download a single file and up to 4 times faster when you download multiple files at a time.
Manual download is not the only option with YouTube Robot. You may as well schedule the download and conversion tasks to be executed automatically, even when you are not around. Downloading is followed by conversion to the format of your choice and uploading videos to a mobile device (if needed). For example, you can plug in iPod, select the video, go to bed, and when you wake up next morning, your iPod will be ready to play new YouTube videos.
Product page: ww w.youtuberobot.com
Direct download link: ww w.youtuberobot.com/download/utuberobot.exe
Company web-site: w ww.youtuberobot.com
E-mail: support@youtuberobot.com
July 30th, 2008
I am using linux,this tool rocks.