High quality video security with Ubuntu desktop 10.10, Zoneminder 1.24.x and webcam.

Discussion in 'HOWTO-Related Questions' started by letsharehowto, Nov 24, 2010.

  1. letsharehowto

    letsharehowto New Member

    Today I will tell you how to build video security system with Ubuntu desktop 10.10, Zoneminder 1.24.x, webcam, high quality video output.

    My box:
    -Laptop Dell Latitude 131L
    -Memory: 512MB
    -Webcam: http://www.logitech.com/en-us/435/269?WT.z_sp=Image

    We have 3 step:

    -Install Ubuntu desktop 10.10.
    -Install Zoneminder.
    -Config Zoneminder.

    1/-Install Ubuntu desktop:

    Set up new box Ubuntu desktop 10.10: http://www.howtoforge.com/the-perfect-desktop-ubuntu-10.10-maverick-meerkat
    Finish install, reboot box.

    Click Applications -> Accessories -> Terminal. Enable root account:

    Code:
    sudo passwd root
    Logon with root and latter do everything with root too:

    Code:
    su
    Update box:

    Code:
    apt-get update && apt-get upgrade -y
    Reboot box:

    Code:
    reboot
    2/-Install zoneminder:

    Open Terminal, logon with root:

    Code:
    su
    Make Pada scrip:

    Code:
    nano pada.sh
    Cut and paste this quote into file then save and exit:

    Make pada.sh can execute:

    Code:
    chmod 744 pada.sh
    Install Zoneminder:

    Code:
    ./pada.sh
    ( http://picasaweb.google.com/letsharehowto/InstallZoneminder# )

    Add www-data user:

    Code:
    adduser www-data video
    Plug in webcam into box then reboot box:

    Code:
    reboot
    Open terminal. Make sure webcam works:

    Code:
    ls /dev/video*
    If it works, the quote like this:

    4/-Config Zoneminder:

    Open Mozzilla web browser. At address type:

    If Zoneminder works, the picture like this. (Make sure in the first line, at middle line like this: "ZoneMinder Console - Running - v1.24.2").

    ( http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542750885065119250 )

    Click Options.

    Then click Paths tab.

    Check USE_DEEP_STORAGE like this. Click Save button. You will see popup windows, don't worry, click OK button.

    ( http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542750928329398930 )

    Then click Images tab. Default JPEG_FILE_QUALITY is 70 , change to 100.

    Delete everything at FFMPEG_OUTPUT_OPTIONS and replace with:

    Delete everything at FFMPEG_FORMATS and replace with:

    When you done, click Save button. Then click Cancel.

    ( http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542750918405360930 )

    Restart Zoneminder: click Running -> choose Restart -> click Apply.

    ( http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542760395076405586 )

    If you don't want Zonemonder fill up your hardrive you have to config Fillter. Follow my picture. Look mouse point, number and check:

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542750949802852738

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542750958268048658

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542750972129210642

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542750988533725458

    Add new monitor: click Add New Monitor button then follow these pictures, when finish click save button.

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542751003879517010

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542751015986206882

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542751030284279026

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542751036850803074

    Download "HQ" movies: follow these pictures - look at mouse point.

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542986829313433090

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542986842357947010

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542986853025263010

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542986861396817938

    http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542986870392879858

    You can download mysqltuner.pl from http://blog.mysqltuner.com/download to make mysql work smooth.

    Thanks:

    http://www.zoneminder.com
    http://www.ubuntu.com
    Chris "Pada" Kistner
    http://blog.mysqltuner.com
    http://www.howtoforge.com

    Note:

    - This is not a toy. You have to know what are you doing.
     

    Attached Files:

  2. my6x9s

    my6x9s New Member

    Cut and paste this quote into file then save and exit:

    ok having a lil difficulty on the save and exit part of this step what am i missing ??? i am a windoz XP user converting slowly to ubuntu so noob is a understatement. but im am here to learn thank you
     
  3. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  4. djohns

    djohns New Member

    Dell Studio 1550 Laptop

    I really want to get this working. I have a dell studio 1550 laptop with a built in webcam and when I finish the above the source /dev/video0 (0) is red and I can't probe camera. I'm guessing the config file needs adjusting to make this work since this is not a usb camera. However when I use code "ls /dev/video*" to see if webcam is working I get the correct output, /dev/video0
     
  5. letsharehowto

    letsharehowto New Member

    If your webcam works with another software, you go to step third.
    If none, follow this:

    Step one:

    - You have to read this: https://help.ubuntu.com/community/Webcam

    Step two:

    - If your webcam be supported by Ubuntu, you install cheese:

    Code:
    sudo apt-get install cheese
    Then test your webcam with cheese. If it works go to step third.

    Step third:

    - You change Capture Method, Device Format, Capture Palete and choose the best one for your webcam.

    ( http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542751030284279026 )

    If it works, /dev/video0 is green.

    Note:

    - Make sure Zoneminder is Running. ( http://picasaweb.google.com/letsharehowto/ConfigZoneminderUbuntuDesktop1010#5542750885065119250 )
    - Added www-data user.
    - /dev/video0 it mean /dev/video number zero not letter o.
    Good luck.
     
  6. grndamgt4

    grndamgt4 New Member

    hello, this is a pretty awesome install script. If it is not a sticky in the zoneminder wiki already, it should be.

    thanks.
     
  7. u4david

    u4david New Member

    Zoneminder Ispconfig3

    Could anyone help me to install Zone minder on Ispconfig3 Server/system.
    (Ubuntu 10.04 LTS)

    I would like to make sure zone minder install and configuration wont affect system wide settings and affect Ispconfig3 system in negative way.

    Also the web root and database should use parameters that are set up through Ispconfig3.

    All mainly for stability and security of already complex system.

    In the and i will like to post the images from usb web cam connected to this system on another website also configured on this system.

    Probably straight forward for someone with deeper knowledge of permissions and relations in this subject.

    Thank you.
     
  8. vinayakbhat82

    vinayakbhat82 New Member

    Need help to access Zoneminder camera

    Hi,

    I plan to view the streaming of my laptop webcam on my Android Device. I used Zoneminder to setup my laptop webcam as a Zoneminder Monitor and was able to view it well. I use an app on my Android device that needs a hostname/ip address of camera and port number. I'm unable to get the hostname info from zoneminder. Can I get any help on this?
     

Share This Page