Convert your Linux box into a surveillance device

This article is on how to convert your Linux box into a surveillance device.

Let us get started with a test record.

The following code is a good example to record video on CentOS 6.10 via command line.  Login to your CentOS 6 server via SSH and run the following command. Type q to quit recording.

ffmpeg -f v4l2 -framerate 25 -video_size 640_480 -i /dev/video0 Videos/ffmpeg_video_2018-10-09_13-15-10.mp4

References

https://trac.ffmpeg.org/wiki/Capture/Webcam

Leave a Reply

Your email address will not be published. Required fields are marked *