Commit Graph

42 Commits

Author SHA1 Message Date
Will W 5051c26d31 Audio support including fixes for dts/pts, split on keyframe and update to mkv extension to prevent ffmpeg problems writing rtsp audio to mp4 containter (header problem) 2014-05-30 02:05:20 +10:00
Chris Wiggins d4654f63ae merge modern into feature-h264-videostorage 2013-10-04 10:52:53 +13:00
Kyle Johnson d1c19036ec Moved writing of configure options from Controller to Model. Fixes #191. 2013-10-02 08:25:48 -04:00
Kyle Johnson e3db6e0edc Moved the zmBandwidth option from a cookie to global Configure:: option
In addition I'm no longer passing this option around, instead calling it
where needed.  This _might_ fix #175 as the variable is being set very early on
in bootstrap.php
2013-10-02 08:09:30 -04:00
Chris Wiggins 76c8190e8b Update web frontend to correctly display video events 2013-09-29 12:23:28 +13:00
Kyle Johnson f385db2d80 Moved the scaling of streams from JS to PHP
The Monitor model is now smart enough to change the stream's scale.
It also has the option of not scaling at all (in the case of the
single monitor view).
2013-09-24 12:54:37 -04:00
Kyle Johnson 2fa0d3a284 Rewrote the way that monitor streams are created.
No longer need LiveStreamHelper, and the logic of which image to
display (live or placeholder) has been moved to the Moniors model.
This way should be much easier to understand and support.  This also
fixes my 'ugly hack' in commit eed6c81287
2013-09-24 08:56:04 -04:00
Kyle Johnson 22f9ba5c38 Write the daemon status to Configure 2013-09-24 08:55:46 -04:00
Kyle Johnson eed6c81287 An ugly hack to make the liveStreams display in both index and view views. 2013-09-23 21:51:02 -04:00
Kyle Johnson 5844a1cc89 Added a function which creates videos from event jpgs 2013-09-19 08:57:54 -04:00
Chris Wiggins 7f1589a74e Search for a different string in zmdc.pl to correctly determine if ZM is running or not 2013-09-16 13:11:01 +12:00
Kyle Johnson 2f99274c0a Initial commit of Version model 2013-09-13 08:44:21 -04:00
Kyle Johnson dbba80fcbf Added a function in AppModel to check the free disk space in the events directory 2013-09-11 09:23:13 -04:00
Kyle Johnson 646b511cd4 Added a function in AppModel to check the System Load 2013-09-11 09:22:53 -04:00
Kyle Johnson 48d162d432 Adding a function to control the daemons (start, stop, etc) 2013-09-06 15:01:05 -04:00
Kyle Johnson ad0aaa6e93 Initial commit of Zone MVC 2013-07-18 08:08:07 -04:00
Kyle Johnson 80ebaad07b Initial commit of the Log model 2013-07-10 10:00:49 -04:00
Kyle Johnson 964e1919bc Initial commit of Filters MVC.
The filters will be split from the events in this interface, where
in the classic interface, they were combined.
2013-06-04 13:23:00 -04:00
Kyle Johnson 26c1110e3f Function to return info necessary to create an HTML img tag for a given event.
This function determines the scaled width and height of the image for the
thumbnail, as well as other information relating to the frame with the
highest score in this event.
2013-05-30 22:31:55 -04:00
Kyle Johnson 1ae5cdd291 Function to return components necessary to build src to an event thumbnail.
A lot of this code was re-worked from the original includes/functions.php
file found in the classic zoneminder skin to work with CakePHP.
Function seems to work, but looks like it could use some serious re-factoring.
2013-05-30 22:22:48 -04:00
Kyle Johnson f4d2df3941 Function to determine the path to an event in the filesystem. 2013-05-30 20:30:09 -04:00
Kyle Johnson c2e2079818 Function to rescale dimenions of events. 2013-05-30 20:25:18 -04:00
Kyle Johnson e107e34164 Associated the Event Model with the Frame Model 2013-05-30 19:47:32 -04:00
Kyle Johnson fb97233869 Initial commit of Frame Model 2013-05-30 19:47:07 -04:00
Kyle Johnson 05c8ddf153 Reworked to allow displaying of monitors from many views with less code.
* Moved getStreamSrc from Monitors Controller to Monitors Model
 * Minor indenting of code
 * Removed some old code
 * Changed how I lookup ZM_MPEG_LIVE_FORMAT from within getStreamSrc
 * Changed Monitors View view to use divs instead of tables
2013-05-24 20:13:14 -04:00
Kyle Johnson 7b98b62c16 Fixed some indenting 2013-05-22 21:19:10 -04:00
Kyle Johnson 195b5deac1 Added a function to check the status of the ZoneMinder daemons 2013-05-17 08:57:24 -04:00
Kyle Johnson 1307ba41c8 Changed the event count lookups to use find() instead of custom functions 2013-05-08 09:37:56 -04:00
Kyle Johnson 74008dcb8b Moved some of the logic for determining video streaming options from the controller to the model 2013-05-07 11:15:06 -04:00
Kyle Johnson 49a01a9c28 Initial commit of Bandwidth Model, View and Controller. 2013-05-06 19:37:22 -04:00
Kyle Johnson 869b84732d Changed the primaryKey to the actual primary key of the Config table 2013-05-06 11:05:33 -04:00
Kyle Johnson 5f7e4a3471 Overriding the primaryKey for the Events and Monitors models 2013-05-06 10:36:47 -04:00
Kyle Johnson 03a9915138 Added the Config model 2013-05-06 08:42:05 -04:00
Kyle Johnson d4b0d05366 Added number of archived events per monitor to Monitors index view 2013-05-04 22:45:59 -04:00
Kyle Johnson 3af0600917 Limited the number of fields returned when searching for associated events and zones 2013-05-04 22:41:27 -04:00
Kyle Johnson d681654e56 Moved events queries from the Monitors controller to the Monitors model 2013-05-04 19:42:37 -04:00
Kyle Johnson b7d993839b Added Zone model, as well as Monitor and Zone model association 2013-05-02 09:01:27 -04:00
Kyle Johnson e782fbe38d Defined associations between the Monitor and Event models 2013-05-02 08:55:59 -04:00
Kyle Johnson 055d8f8d0b Initial commit of MVC for Monitors 2013-05-01 18:41:59 -04:00
Kyle Johnson a5e2f29a4b Specified the specific table name for the Event model 2013-05-01 18:21:46 -04:00
Kyle Johnson 9d5243ccab Initial commit of Event Model, View and Controller with basic support for drilling into an event 2013-05-01 07:02:12 -04:00
Kyle Johnson 8322dc390f Initial commit of CakePHP 2.3.4 2013-05-01 06:58:31 -04:00