My setup:
ubuntu server 12.04 LTS 32-bit
You *must* use Original ffmpeg. The libav ffmpeg that ubuntu supplies if you do apt-get install zoneminder will NOT work. It will appear to work for about 10-30 seconds, but then you'll get garbled data from the cameras into zoneminder. This took me forever to find!
The steps to get it installed:
1. Install the ubuntu-server from a CD. When it's time to pick what features you want, ONLY choose OpenSSH server. Do not install anything else.
2. Once the server is up and you can login, make sure you use the Jon Severinsson PPA to get the Original ffmpeg, before you do anything else. This way when you install zoneminder, it will use this and not attempt to grab the libav version of the packages. If you already installed libav, you will need to uninstall ALL of it in order for this to work. I had a hard time doing this, so I just wiped my server over and re-installed.
Here's what you type to get the Original ffmpeg installed:
Code: Select all
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:jon-severinsson/ffmpeg
sudo apt-get update
sudo apt-get install -V ffmpeg
Code: Select all
sudo apt-get install zoneminder
5. Configure Zoneminder options. On the Images tab, set the following:
Code: Select all
FFMPEG_INPUT_OPTIONS: "-rtsp_flags filter_src -an"
FFMPEG_OUTPUT_OPTIONS:
In the Source Path field, is where you put the URL that ffmpeg uses. Here's what I use:
Code: Select all
rtsp://user:password@camera.mynet/axis-media/media.amp?streamprofile=zmprofile
5. You will likely need to stop and then stop Zoneminder for all of the settings to take, not just "restart".