Re:Show HN: NCurses Terminal Webcam
by pcmonk on Thursday April 24, 2014 @12:37AM
(#7638532)
Sweet, I didn't realize that. Sadly, the result flashes on and off and is essentially unusable for me (either in xterm or a TTY on Slackware64 14.0). I can tell it's working, though.
This also seems to work over ssh, though, which is cool.
Re:Show HN: NCurses Terminal Webcam
by mpyne on Wednesday April 23, 2014 @11:58PM
(#7638428)
I can confirm it works fine at a raw terminal, even on Linux TTY. You might have to unset DISPLAY as recommended in the other comment.
One big tip for that mode of mplayer, use the 'd' key to switch dithering modes. Keep switching until you get to Floyd-Steinberg for the best quality (IMHO).
Re:Show HN: NCurses Terminal Webcam
by b0z0 on Wednesday April 23, 2014 @10:27PM
(#7638191)
Interesting - I just made something exactly like this (screenshot looks exactly the same): https://github.com/billyeh/termchat! I even had to publish a Node package to do it (pixelr).
Except it's got a chat function with other users as well :)
Re:Show HN: NCurses Terminal Webcam
by hardwaresofton on Wednesday April 23, 2014 @08:59PM
(#7637948)
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)
Just in case it wasn't clear - I think this is awesome.
Re:Show HN: NCurses Terminal Webcam
by Crito on Thursday April 24, 2014 @12:07AM
(#7638464)
Hack it up with existing software. Shunt the output across the network with ssh, perhaps into a shared tmux session. That takes care of text chat too. (Of course libcaca kills the tmux session, so you might have to drop the frame-rate or keep the tmux panes small).
If you want to keep it hacky and horrible, have each side also set up pulseaudio and use it's networking capabilities over ssh to make each others computers the sink for your microphones. Or use existing proper VoIP software, if you want to be practical and boring.
Re:Show HN: NCurses Terminal Webcam
by CSDude on Wednesday April 23, 2014 @10:03PM
(#7638124)
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:
https://raw.githubusercontent.com/mustafaakin/terminal-webca...
(It is currently night here mywebcam sucks on night)
Re:Show HN: NCurses Terminal Webcam
by userbinator on Wednesday April 23, 2014 @08:56PM
(#7637939)
YouTube did something like this a few years ago for April Fools. I think on a modern Retina-level display it would look even more impressive due to the higher resolution and smaller character-pixels.
Updated command for clarity (might want to fullscreen your terminal with this):
This also seems to work over ssh, though, which is cool.
One big tip for that mode of mplayer, use the 'd' key to switch dithering modes. Keep switching until you get to Floyd-Steinberg for the best quality (IMHO).
Except it's got a chat function with other users as well :)
Can play any videos or stream the webcam:
Just in case it wasn't clear - I think this is awesome.
If you want to keep it hacky and horrible, have each side also set up pulseaudio and use it's networking capabilities over ssh to make each others computers the sink for your microphones. Or use existing proper VoIP software, if you want to be practical and boring.
Also reminds me of this: http://www.oldskool.org/pc/8088_Corruption
https://github.com/saitoha/PySixel
*Or even xterm compiled with sixels support ;)
I used halftone characters to do "dithering".
Someone forked and updated it to work with iTerm2's 24 bit colour support: https://s3.amazonaws.com/f.cl.ly/items/063S2A0b2b3w3T2Z3J0q/... .. not bad!
EDIT: duh, hangouts has a "share window" feature .. this is awesome!
Everything looks beautiful when rendered in ASCII.
http://experiments.coscolla.net/libcaca/
The author is this guy: https://github.com/kozko2001/libcaca.js
i did one the runs on osx a couple years ago. might be broken now, haven't run it in a while.
https://github.com/helloandre/cam2ascii
http://ingles.homeunix.net/presos/quake/4/ttyscreen.html