Video Recording - addycakes/Domotics GitHub Wiki

Once the video streams are running, I have a separate raspberry pi 2 running ffmpeg that records the streams. I run this script once an hour using cron for each of the webcams.

ffmpeg -f mjpeg -r 10 -i URL_TO_STREAM -r 10 -s 640x480 -y -t 3600 FILE.avi &

The files get stored on a hard drive and can viewed later on.

The install guide at ffmpeg.org for ubuntu worked perfectly and also provided working alsa input if that is required.

⚠️ **GitHub.com Fallback** ⚠️