I've just upgraded my Ubuntu 14.04 from Zoneminder 1.26.5 to 1.29 using the following guide:
https://wiki.zoneminder.com/Common_Issu ... PA_version
I followed all the steps and it worked well, thanks!
The only issue I had was adding the ppa:iconner/zoneminder to my system which is just an Ubuntu issue.
For some reason the add-apt-repository step didn't recognize the ppa url format, so I had to add the ppa directly into my /etc/apt/sources.list and then import the signing key as well.
It took quite a while to upgrade the database, but I just left it chugging away and it eventually finished after a few minutes.
After getting everything up and running again, I ran into smearing issues on the new IP Camera which were also present on the 1.26.5.
The IP Camera is a:
Grandstream GXV3672HD v1.0c
(part # 9670004210C)
Note: the firmware on this v1.0 card is now unsupported, but the last version was released at the end of 2015.
v2 are still supported for new camera firmware.
I cranked all the bitrate settings to the max to get good image quality, but using Ffmpeg every few frames the lower half of the image would smear down.
The same stream using VLC from windows looked fine, so I tried the libvlc source to see if it was better.
libvlc didn't seem to run correctly so I had to install it in Ubuntu:
# apt-get install libvlc-dev libvlccore-dev vlc
Note: I'm not sure if the above is the correct (most minimal way) to install vlc support, but it works so I'm happy.
After changing a few settings in the Monitor it worked, no more smearing!
I changed (for the low res 640x480 stream):
MyCam-Low
General -> Source Type to "Libvlc"
Source -> Source Path to "rtsp://192.168.xx.yyy:554/4"
MyCam
(for the hi-res 1280x960 stream):
General -> Source Type to "Libvlc"
Source -> Source Path to "rtsp://192.168.xx.yyy:554/0"
Linking Low-Res motion detection to also record the Hi-res stream:
Then changed the MyCam Hi-res monitor to "Function: Nodect" and set the "Linked Monitors" to "MyCam-Low".
The MyCam-Low is set to "Modect" with zones setup for motion and when alarmed, it sets the hi-res stream to record.
Cheers!
Upgrade from 1.26.5 to 1.29.0 - using vlc + linked hi-res low-res IP cam
Re: Upgrade from 1.26.5 to 1.29.0 - using vlc + linked hi-res low-res IP cam
Thanks for the write up! Good to know the upgrade procedure works for others... I revisited some of my older install procedures and discovered that I had recommended that libvlc-dev libvlccore-dev as well as vlc be installed with Zoneminder. Will have to see if others come up with the same results.
As for the database upgrade, I did a MySQL 5.6 ZM database with 72K records in a very short time on a quad core Dell.
bb
As for the database upgrade, I did a MySQL 5.6 ZM database with 72K records in a very short time on a quad core Dell.
bb
Re: Upgrade from 1.26.5 to 1.29.0 - using vlc + linked hi-res low-res IP cam
No problem!
This is just an old Athlon 64 X2 4400+ dual core processor machine /w 2GB ram, so it chugs through things a little bit slower
Right now in the MySQL 5.5.47 ZM database (innodb format tables) I've got the following:
Events: 20974 rows (4MB)
Frames: 3673706 rows (175MB)
Stats: 1070406 (83.1MB)
Cheers.
This is just an old Athlon 64 X2 4400+ dual core processor machine /w 2GB ram, so it chugs through things a little bit slower
Right now in the MySQL 5.5.47 ZM database (innodb format tables) I've got the following:
Events: 20974 rows (4MB)
Frames: 3673706 rows (175MB)
Stats: 1070406 (83.1MB)
Cheers.