Added a few cam's and then tried to download a video clip.
The zip file does not contain the mp4 file. Checked the log file found:
Code: Select all
==> /var/log/zm/web_php.log <==
11/29/23, 4:41:00 PM MST.879482 web_php[1445].ERR [x.x.x.x] [ZoneMinder is not configured properly: php's date.timezone -0700 does not match the system timezone +0000! Please check Options->System->Timezone.] at /usr/share/zoneminder/www/includes/functions.php line 2046
11/29/23, 4:41:02 PM MST.180508 web_php[1445].WAR [x.x.x.x] [Unknown function call Object->GenerateVideo from Array
(
[0] => Array
(
[file] => /usr/share/zoneminder/www/includes/download_functions.php
[line] => 74
[function] => __call
[class] => ZM\ZM_Object
[object] => ZM\Event Object
(
[_last_error:protected] =>
[Tags:protected] =>
[Event_Tags:protected] =>
[defaults:protected] => Array
(
[Id] =>
[Name] =>
[MonitorId] =>
[StorageId] =>
[SecondaryStorageId] =>
[Cause] =>
[StartDateTime] =>
[EndDateTime] =>
[Width] =>
[Height] =>
[Length] =>
[Frames] =>
[AlarmFrames] =>
[DefaultVideo] =>
[SaveJPEGs] => 0
[TotScore] => 0
[AvgScore] => 0
[MaxScore] => 0
[Archived] => 0
[Videoed] => 0
[Uploaded] => 0
[Emailed] => 0
[Messaged] => 0
[Executed] => 0
[Notes] =>
[StateId] => 0
[Orientation] => 0
[DiskSpace] =>
[Scheme] => 0
[Locked] => 0
)
[Id] => 10
[MonitorId] => 3
[StorageId] => 0
[SecondaryStorageId] => 0
[Name] => Event-10
[Cause] => Motion
[StartDateTime] => 2023-11-29 22:03:08
[EndDateTime] => 2023-11-29 22:03:17
[Width] => 1920
[Height] => 1080
[Length] => 9.59
[Frames] => 193
[AlarmFrames] => 96
[DefaultVideo] =>
[SaveJPEGs] => 3
[TotScore] => 1187
[AvgScore] => 12
[MaxScore] => 21
[Archived] => 0
[Videoed] => 0
[Uploaded] => 0
[Emailed] => 0
[Messaged] => 0
[Executed] => 0
[Notes] => Motion: All
[StateId] => 1
[Orientation] => ROTATE_0
[DiskSpace] => 64218908
[Scheme] => Medium
[Locked] => 0
[Latitude] =>
[Longitude] =>
)
[type] => ->
[args] => Array
(
[0] => GenerateVideo
[1] => Array
(
)
)
)
[1] => Array
(
[file] => /usr/share/zoneminder/www/ajax/event.php
[line] => 152
[function] => exportEvents
[args] => Array
(
[0] => Array
(
[0] => 10
[1] => 23
[2] => 24
)
[1] => zmDownload-492449
[2] => zip
[3] =>
)
)
[2] => Array
(
[file] => /usr/share/zoneminder/www/index.php
[line] => 260
[args] => Array
(
[0] => /usr/share/zoneminder/www/ajax/event.php
)
[function] => require_once
)
)] at /usr/share/zoneminder/www/includes/Object.php line 89
11/29/23, 4:41:02 PM MST.192511 web_php[1445].WAR [x.x.x.x] [Unknown function call Object->GenerateVideo from Array
(
[0] => Array
(
[file] => /usr/share/zoneminder/www/includes/download_functions.php
[line] => 74
[function] => __call
[class] => ZM\ZM_Object
[object] => ZM\Event Object
(
[_last_error:protected] =>
[Tags:protected] =>
[Event_Tags:protected] =>
[defaults:protected] => Array
(
[Id] =>
[Name] =>
[MonitorId] =>
[StorageId] =>
[SecondaryStorageId] =>
[Cause] =>
[StartDateTime] =>
[EndDateTime] =>
[Width] =>
[Height] =>
[Length] =>
[Frames] =>
[AlarmFrames] =>
[DefaultVideo] =>
[SaveJPEGs] => 0
[TotScore] => 0
[AvgScore] => 0
[MaxScore] => 0
[Archived] => 0
[Videoed] => 0
[Uploaded] => 0
[Emailed] => 0
[Messaged] => 0
[Executed] => 0
[Notes] =>
[StateId] => 0
[Orientation] => 0
[DiskSpace] =>
[Scheme] => 0
[Locked] => 0
)
[Id] => 23
[MonitorId] => 3
[StorageId] => 0
[SecondaryStorageId] => 0
[Name] => Event-23
[Cause] => Motion
[StartDateTime] => 2023-11-29 22:59:52
[EndDateTime] => 2023-11-29 23:00:01
[Width] => 1920
[Height] => 1080
[Length] => 9.63
[Frames] => 194
[AlarmFrames] => 115
[DefaultVideo] =>
[SaveJPEGs] => 3
[TotScore] => 1338
[AvgScore] => 11
[MaxScore] => 27
[Archived] => 0
[Videoed] => 0
[Uploaded] => 0
[Emailed] => 0
[Messaged] => 0
[Executed] => 0
[Notes] => Motion: All
[StateId] => 1
[Orientation] => ROTATE_0
[DiskSpace] => 68312658
[Scheme] => Medium
[Locked] => 0
[Latitude] =>
[Longitude] =>
)
[type] => ->
[args] => Array
(
[0] => GenerateVideo
[1] => Array
(
)
)
)
[1] => Array
(
[file] => /usr/share/zoneminder/www/ajax/event.php
[line] => 152
[function] => exportEvents
[args] => Array
(
[0] => Array
(
[0] => 10
[1] => 23
[2] => 24
)
[1] => zmDownload-492449
[2] => zip
[3] =>
)
)
[2] => Array
(
[file] => /usr/share/zoneminder/www/index.php
[line] => 260
[args] => Array
(
[0] => /usr/share/zoneminder/www/ajax/event.php
)
[function] => require_once
)
)] at /usr/share/zoneminder/www/includes/Object.php line 89
11/29/23, 4:41:02 PM MST.199685 web_php[1445].WAR [x.x.x.x] [Unknown function call Object->GenerateVideo from Array
(
[0] => Array
(
[file] => /usr/share/zoneminder/www/includes/download_functions.php
[line] => 74
[function] => __call
[class] => ZM\ZM_Object
[object] => ZM\Event Object
(
[_last_error:protected] =>
[Tags:protected] =>
[Event_Tags:protected] =>
[defaults:protected] => Array
(
[Id] =>
[Name] =>
[MonitorId] =>
[StorageId] =>
[SecondaryStorageId] =>
[Cause] =>
[StartDateTime] =>
[EndDateTime] =>
[Width] =>
[Height] =>
[Length] =>
[Frames] =>
[AlarmFrames] =>
[DefaultVideo] =>
[SaveJPEGs] => 0
[TotScore] => 0
[AvgScore] => 0
[MaxScore] => 0
[Archived] => 0
[Videoed] => 0
[Uploaded] => 0
[Emailed] => 0
[Messaged] => 0
[Executed] => 0
[Notes] =>
[StateId] => 0
[Orientation] => 0
[DiskSpace] =>
[Scheme] => 0
[Locked] => 0
)
[Id] => 24
[MonitorId] => 3
[StorageId] => 0
[SecondaryStorageId] => 0
[Name] => Event-24
[Cause] => Motion
[StartDateTime] => 2023-11-29 23:00:06
[EndDateTime] => 2023-11-29 23:00:20
[Width] => 1920
[Height] => 1080
[Length] => 13.85
[Frames] => 278
[AlarmFrames] => 121
[DefaultVideo] =>
[SaveJPEGs] => 3
[TotScore] => 674
[AvgScore] => 5
[MaxScore] => 15
[Archived] => 0
[Videoed] => 0
[Uploaded] => 0
[Emailed] => 0
[Messaged] => 0
[Executed] => 0
[Notes] => Motion: All
[StateId] => 1
[Orientation] => ROTATE_0
[DiskSpace] => 85133927
[Scheme] => Medium
[Locked] => 0
[Latitude] =>
[Longitude] =>
)
[type] => ->
[args] => Array
(
[0] => GenerateVideo
[1] => Array
(
)
)
)
[1] => Array
(
[file] => /usr/share/zoneminder/www/ajax/event.php
[line] => 152
[function] => exportEvents
[args] => Array
(
[0] => Array
(
[0] => 10
[1] => 23
[2] => 24
)
[1] => zmDownload-492449
[2] => zip
[3] =>
)
)
[2] => Array
(
[file] => /usr/share/zoneminder/www/index.php
[line] => 260
[args] => Array
(
[0] => /usr/share/zoneminder/www/ajax/event.php
)
[function] => require_once
)
)] at /usr/share/zoneminder/www/includes/Object.php line 89
root@zoneminder:/usr/share/zoneminder# find . -type f -exec grep -iH 'GenerateVideo()' {} \;
./www/skins/classic/views/js/video.js:function generateVideo() {
./www/includes/download_functions.php: if (!$event->DefaultVideo()) $event->GenerateVideo();
I changed the function name in download_functions.php to generateVideo() - but this did not resolve the issue. I'll fix the timezone issue and see if that helps.
Any other Ideas?