What software can I use to record audio/video off a foscam IP camera?
Both VLC and avconv work splendidly.
Try this:
avconv -i 'http://IP:PORT/videostream.asf?user=x&pwd=x&resolution=32' -t 3600 -c:a libmp3lame out.avi
..to record one hour video. You can use this in a small shell script to rotate hourly video files over time. Under Ubuntu, make sure you install ubuntu-restricted-extras for the proper codecs.
I had good results with Foscams using Zoneminder. FYI, it uses quite a bit of resources.