3 ms·
Good skills. It has never occurred to me to do that but it is actually quite an obvious thing to do when you "know" that everything is a file. Any idea what t
by gerdesj 5y ago
Good skills.
It has never occurred to me to do that but it is actually quite an obvious thing to do when you "know" that everything is a file.
Any idea what the visual equivalent would be?
- reshie 5y agoffmpeg can point directly to the webcam under /dev/.
- toast0 5y agoIf you've got a framebuffer console, I think you can cat to /dev/fb ... Although pixels are less friendly than audio, it's kind of helpful for identifying patterns if you preprocess so everything is shades of one color, or a byte -> color map anyway.
- anthk 5y agoPlan9's /dev/draw.
- axiolite 5y ago> Any idea what the visual equivalent would be? Perhaps: head -c800 /dev/urandom > /dev/tty Or: mplayer -demuxer rawvideo -rawvideo w=80:h=60 /dev/urandom
- iso1631 5y ago> mplayer -demuxer rawvideo -rawvideo w=80:h=60 /dev/urandom Change that to w=720 h=576 (for pal countries) and you can relive the glory days of analog TV static. Except not - mey memory seems to tell me it's more colourful. I guess it's to do with the limited chroma resolution in pal?
- axiolite 5y agoYou can reduce the saturation as desired (0.6 below): mplayer -vf eq2=1:1:0:0.6 -demuxer rawvideo -rawvideo pal /dev/urandom
- yencabulator 5y agoAs far as I understand/remember it: Analog color television color information is sent "out of band" from the point of view of black-and-white television (as a sideband frequency, with neat analog trickery to cancel out its effect on main signal). Color TV is backwards compatible. It's unlikely that random input happens to look like meaningful properly encoded color information, so television static is largely black and white.