raspberrypi/acatcher
2015-02-21 12:59:44 -08:00
..
.gitignore Add audio to gitignore 2015-02-21 12:59:44 -08:00
acatcher.cxx.template Fix negative pointer bug (hopefully) 2015-02-20 10:28:44 -08:00
check_roomfile.sh Got rid of some extraneous crap 2015-02-19 19:10:03 -08:00
convert_audio.sh convert_audio now does all the audio conversions 2015-02-21 12:59:17 -08:00
fix_windows.sh Misc script fixes 2015-02-20 23:19:24 -08:00
INSTRUCTIONS Add some instructions 2015-02-19 18:49:54 -08:00
make_flac.sh Add script to make flacs 2015-02-21 12:26:41 -08:00
make_mp3.sh Misc script fixes 2015-02-20 23:19:24 -08:00
MASTER_LIST Fixed up crap 2015-02-19 02:09:17 -08:00
mkacatcher_cpp.sh Fix room order/labels 2015-02-20 12:21:08 -08:00
mkhosts.sh fix up crap 2015-02-19 09:24:59 -08:00
patch.dburr_stuff Add my patches to acatcher 2015-02-18 01:28:09 -08:00
ping_rooms.sh Got rid of some extraneous crap 2015-02-19 19:10:03 -08:00
provision_streamers.sh don't recompile v4lcap if unnecessary (ie unchanged) 2015-02-21 09:37:32 -08:00
README misc fixes 2015-02-19 00:02:50 -08:00
reboot_streamers.sh Add reboot script 2015-02-19 17:38:56 -08:00
ROOMS.ALL Add more rooms files 2015-02-19 17:39:08 -08:00
ROOMS.fri upate room list 2015-02-20 10:01:48 -08:00
ROOMS.sat Misc crap 2015-02-21 09:32:00 -08:00
ROOMS.sun fill out each day's rooms 2015-02-19 02:36:43 -08:00
ROOMS.thu Add plaza bc to thu rooms 2015-02-19 10:20:24 -08:00
ROOMS.thu_test Add teting room files 2015-02-19 18:25:52 -08:00
ROOMS.TO_TEST Add teting room files 2015-02-19 18:25:52 -08:00
set_hostname.sh do not reobot machines 2015-02-21 09:33:38 -08:00
start_streamers.sh add startup only subset of hosts 2015-02-19 10:59:33 -08:00
start_watcher.sh Misc crap 2015-02-21 09:32:00 -08:00
stop_streamers.sh No longer reboot when stopping 2015-02-19 17:38:49 -08:00
stream.sh drop screen size to 320x240, otheriwse they won't all fit 2015-02-19 10:20:42 -08:00
upstream add convenint symlink to upstream 2015-02-19 02:11:55 -08:00
v4lcap.c Add my own fork of acatcher 2015-02-17 20:50:46 -08:00

host side:

apt-get install libopencv-dev
clang++ -O2 -lopencv_core -lopencv_highgui -lopencv_imgproc -o acatcher acatcher.cxx

to actually run it:
./acatcher | (aplay -t raw -c 1 -f S16_LE -r 22050 > /dev/null 2> /dev/null)
---

webcam side:

copy v4lcap.c and build it on the rpi

xx = session #

make the following into a script
---

# different res is ok, MUST be mjpg
v4l2-ctl --set-fmt-video=width=640,height=480,pixelformat=MJPG

(while true; do arecord -t raw -c 1 -f S16_LE -r 22050 -D hw:1 | nc 192.168.1.122 40xx; sleep 1; done) &
while true; do v4lcap -o | nc 192.168.1.122 41xx; sleep 1; done