MPlayer can also do this. Something like this should work as an example:<p><pre><code> $ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 15 -vo caca</code></pre>
Interesting - I just made something exactly like this (screenshot looks exactly the same): <a href="https://github.com/billyeh/termchat" rel="nofollow">https://github.com/billyeh/termchat</a>! I even had to publish a Node package to do it (pixelr).<p>Except it's got a chat function with other users as well :)
It's still using the old OpenCV calls, so I did a quick port to OpenCV 2. <a href="https://github.com/techwizrd/terminal-webcam" rel="nofollow">https://github.com/techwizrd/terminal-webcam</a>
Cool. You can do it also with `vlc` and the `-V aa` (ascii) or `-V caca` (colored ascii) video output in the console.<p>Can play any videos or stream the webcam:<p><pre><code> vlc -V aa file.avi
vlc -V aa v4l2:///dev/video0</code></pre>
Please add encryption (on by default), sound, and hook this up to PGP so that it can be skype for hackers (and I don't mean just crackers, I mean in the most general sense)<p>Just in case it wasn't clear - I think this is awesome.
If you want to get full performance, use xterm, gnome-terminal and others are very slow. Colorful one uses only 6^3 colors but it looks nice:
<a href="https://raw.githubusercontent.com/mustafaakin/terminal-webcam/master/colorful.png" rel="nofollow">https://raw.githubusercontent.com/mustafaakin/terminal-webca...</a>
(It is currently night here mywebcam sucks on night)
Neat! I made something similar for OSX:
<a href="https://github.com/dhotson/txtcam" rel="nofollow">https://github.com/dhotson/txtcam</a> / Screencast:
<a href="https://asciinema.org/a/7301" rel="nofollow">https://asciinema.org/a/7301</a><p>I used halftone characters to do "dithering".<p>Someone forked and updated it to work with iTerm2's 24 bit colour support: <a href="https://s3.amazonaws.com/f.cl.ly/items/063S2A0b2b3w3T2Z3J0q/Image%202013.11.25%2022%3A22%3A23.png" rel="nofollow">https://s3.amazonaws.com/f.cl.ly/items/063S2A0b2b3w3T2Z3J0q/...</a> .. not bad!
OK, now how can I make this loopback such that this is what the people I'm talking to on google hangouts sees?<p>EDIT: duh, hangouts has a "share window" feature .. this is awesome!
This isn't mine, but it does a similar sort of thing in browser. It's actually a port of libcaca to JavaScript using emscripten:<p><a href="http://experiments.coscolla.net/libcaca/" rel="nofollow">http://experiments.coscolla.net/libcaca/</a><p>The author is this guy: <a href="https://github.com/kozko2001/libcaca.js" rel="nofollow">https://github.com/kozko2001/libcaca.js</a>
See also hasciicam by Jaromil. <a href="https://github.com/jaromil/HasciiCam" rel="nofollow">https://github.com/jaromil/HasciiCam</a>
great work!<p>i did one the runs on osx a couple years ago. might be broken now, haven't run it in a while.<p><a href="https://github.com/helloandre/cam2ascii" rel="nofollow">https://github.com/helloandre/cam2ascii</a>