| command line switch | function |
| -a string | camera URL IP address in decimal with points, or as a URL |
| -b | force black and white to YUV out (color off) |
| -c | activate change detection (motion detection), default off |
| -d string | directory name where single frames are stored, default ~/frames |
| -e int | motion detection threshold, more is less sensitive |
| -f float | frames_per_second playback speed, set camera to auto in video setup, mcamip will display the real fps and warn you if the system cannot keep up with what you specified. |
| -g | display in UTC time |
| -h | help (this help) |
| -i string | filename of semaphore file created when motion detected, default none, use with -j or -y, and -c and -e, the program using the semaphore file should erase it. |
| -j | output jpeg single pictures with incrementing numbers in framedir |
| -o | read and display on screen text in mcamip format from ~/mcamip_os.txt every second | |
| -m int | camera to connect to: 0 = D-Link DCS-900, 1 = EASYN Chinese IP cam, default D-Link DCS900 |
| -n | show frame number since start |
| -p int | camera IP port in decimal |
| -s int | clock position, 0=top_left, 1=top_middle, 2=top_right, 3=bottom_left, 4=bottom_middle, 5=bottom_right, default bottom_middle |
| -t | show time in yuv output |
| -u string | username for access control |
| -v | debug, prints functions and arguments |
| -w string | password for access control |
| -x | show X windows display |
| -y | send mjpeg tools yuv format to stdout |
| -z | send full camera stream to stdout |