The Zoneminder 1.26.5 software has been designed to use ffmpeg for video generation purpose.But latest Ubuntu 14.04 and Mint use avconv instead of ffmpeg. Since the Zoneminder software is not so user friendly ,I had to find a correct way of using avconv by trail and error method.
Let us examine how to fill the data in Zoneminder Console /Options/Images
In the previous versions of Zoneminder /Ubuntu combination , for the “Path to (optional) ffmpeg mpeg encoder (?)” we had to give the full path /usr/bin/ffmpeg.
But for the Zoneminder 1.26.5 the full path is not required .
We can see avconv is available in /usr/bin/
Therefore in the Value cage enter avconv
Now we will have to find whether the method adopted is facilitating to make videos out of the images . This can be tested by uploading the results to a ftp server.
Here I have selected free account of filegenie file server
Now go to Zoneminder Console /Options/Upload
Fill the value cages as follows
Should ZoneMinder support uploading events from filters (?) -tick the value box
What protocol to use to upload events (?) -ftp
The remote server to upload events to (?)- ftp.filegenie.com
Remote server username (?) your user name in filegenie
Remote server password (?) your password in filegenie
The remote directory to upload to (?) zm
(Note :- In filegenie I have initially creared a folder zm)
Making a filter to activate conditions for making videos and uploading .
Using the filter button zoneminder console make a filter with following conditions
max Score > or = 20 (you will have to chose the value according to the value you used in the monitor)
Then tick the boxes in Create video for all matches and Upload the matches
Then save the filter and execute.
Now if you press the log button in the zoneminder console ,you can see uploading video files to the file server.
Genius! It worked first time (Ubuntu 14.04 ZM 1.31.1). Thank you. That has saved me loads of time installing and maintaining ffmpeg from a non-standard repository.
Hi Andy B
Thank you for the comment.