Agenda | General | Small Business Server | Old pages | IP Camera | Ubuntu 12.04 | Settings


Create a general folder for the cameras:

    CamerasDir="$HOME/Cameras"
    mkdir -p "$CamerasDir"


Create a sub folder for each camera recording:

    CameraDir="$CamerasDir/Digitus_DN16004"
    mkdir -p "$CameraDir"


Copy motion.conf file in the /etc/motion folder into the general camera folder as administrator :

    SourceFile="/etc/motion/motion.conf"
    ConfFile="$CamerasDir/motion.conf"
    sudo cp "$SourceFile" "$ConfFile"

Copy thread1.conf file in the /etc/motion folder into the general camera folder as Digitus_DN16004.conf as administrator :

    SourceFile="/etc/motion/thread1.conf"
    CamConfFile="$GenDir/Digitus_DN16004.conf"
    sudo cp "$SourceFile" "$CamConfFile"


Take ownership of the copied motion.conf file and then open :

    sudo chown $USER:$USER "$ConfFile"
    gedit "$ConfFile"

Define the common settings for all the cameras.
At the end of the file, specify the location of files in which the specific settings of cameras take place.


Take ownership of the copied Digitus_DN16004.conf file and then open:

    sudo chown $USER:$USER "$CamConfFile"
    gedit "$CamConfFile"

1. Video sizes which the camera support.
2. Video stream link which the camera supports. You can visit below page for different cameras.
3. User name and password of the camera.
4. Frame numbers just before and after motion detected and waiting time between two records.
5. Record format.
6. Record folder.
7. Turning off picture records.