I've was trying to use the ftp feature where a filtered event gets uploaded via FTP.
It sends all the separate jpeg frames, is there a simple command to generate the video file then upload that instead of the jpeg frames ?
When saving a filter, there is an option to check:
Automatically execute command on all matches.
Should I use this to run ffmpeg to generate my files & if so, how do I pass the event number to ffmpeg that I want to generate a video for automatically ?
Filter FTP / video settings
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Filter FTP / video settings
In 1.21.4 no, in 1.22.0 when it comes out yes-ish. There is a simple check box to make a video. The ability to choose what gets sent up will come shortly after I think.electron wrote:I've was trying to use the ftp feature where a filtered event gets uploaded via FTP.
It sends all the separate jpeg frames, is there a simple command to generate the video file then upload that instead of the jpeg frames ?
You can create a simple script to run zmvideo.pl (or ffmpeg directly) and upload the files yourself. The monitor and event ids are passed in a parameter in the form of <monitor-id>/<event-id> so effectively it is the path to the specific event directory from the top level events one.electron wrote:When saving a filter, there is an option to check:
Automatically execute command on all matches.
Should I use this to run ffmpeg to generate my files & if so, how do I pass the event number to ffmpeg that I want to generate a video for automatically ?
Phil