Hi,
FYI:
just installed 1.34.3 for Centos8
Followed the readme and all seemed to work fine but:
When I tried to "download video" from "Events" it prepared the ZIP and downloaded the file,
the file seemed to be "empty", 1kb of download.
it created a zmExport_XXXXX.zip with named folder inside and a zmFileList.txt:
/var/lib/zoneminder/temp/zmExport_41059/zmFileList.txt
it also includes a numebered folder which was empty.
after reading the web instructions I found out that ffmpeg is recommended and should be enabled
I checked the "Options" and "Images"->OPT_FFMPEG and PATH_FFMPEG which both were correct set
I checked that I had the ffmpeg installed and it was.
Unchecking the OPT_FFMPEG box, saving and rechecking and saving seems to have fixed the issue but only for new events.
old events still dont work
I've tried to delete the contents of the "zoneminder/temp" folder with no luck
the "temp"-folder contains no videoes/images for the "empty" files downloaded:
bolds are the empty and correct files created:
/var/lib/zoneminder/temp/
total 19232
drwx------. 7 apache apache 229 Mar 5 17:49 .
drwxr-xr-x. 6 apache apache 56 Mar 5 10:53 ..
drwx------ 3 apache apache 38 Mar 5 17:46 zmExport_224307
-rw-r--r-- 1 apache apache 592 Mar 5 17:46 zmExport_224307.zip
drwx------ 3 apache apache 129 Mar 5 17:40 zmExport_315064
-rw-r--r-- 1 apache apache 18999601 Mar 5 17:40 zmExport_315064.zip
drwx------ 3 apache apache 38 Mar 5 17:49 zmExport_581104
drwx------ 3 apache apache 38 Mar 5 17:39 zmExport_582857
-rw-r--r-- 1 apache apache 682346 Mar 5 17:39 zmExport_582857.zip
drwx------ 3 apache apache 38 Mar 5 17:39 zmExport_695280
-rw-r--r-- 1 apache apache 592 Mar 5 17:39 zmExport_695280.zip
tried different internet browsers
"export" does work for both old and new events
PS: "download video" as "tar" results in "Export Failed" message
The system:
latest minimal installation of Centos8.1 as of per 2020-03-05 (+1 CET)
"download video" and "export"
"download video" and "export"
- Attachments
-
- zmExport_224307.zip
- (592 Bytes) Downloaded 386 times
Re: "download video" and "export"
I'm watching this with interest. I am a newbie and have installed 1.34.5, I can export video to TAR, but not ZIO. My ZIP export also come up empty
Ian
Ian
Re: "download video" and "export"
Try to disable and enable the ffmpeg settings as mentioned in the post
Unchecking the OPT_FFMPEG box, saving and rechecking and saving seems to have fixed the issue but only for new events.
Re: "download video" and "export"
Yes I ahve tried that.Unchecking the OPT_FFMPEG box, saving and rechecking and saving seems to have fixed the issue but only for new events.
Re: "download video" and "export"
ffmpeg is not involved in export.
Export just copies(hard links if possible) the event data to a tmp dir structure and zips or tars it up with a few html pages for viewing.
So if your zip or tar has empty directories then there must have been a failure copying the event files.
There will be logs. LOOK at them, and post them here.
I tested, and this works fine for me on ubuntu, so it is going to take some investigation.
Export just copies(hard links if possible) the event data to a tmp dir structure and zips or tars it up with a few html pages for viewing.
So if your zip or tar has empty directories then there must have been a failure copying the event files.
There will be logs. LOOK at them, and post them here.
I tested, and this works fine for me on ubuntu, so it is going to take some investigation.
Re: "download video" and "export"
Thank you, I have just tried a few times again. This time TAR is not working either.
The errors in my log are:
The errors in my log are:
Code: Select all
Date/Time
Component Server PID Level Message File Line
2020-03-07 19:32:16 web_js 779 ERR Uncaught TypeError: Cannot read property 'getImageData' of undefined zm/cache/skins_classic_views_js_montagereview-classic-1582749735.js 334
2020-03-07 19:30:04 web_js 1067 ERR Uncaught RangeError: Maximum call stack size exceeded zm/tools/mootools/mootools-core.js 1
2020-03-07 19:27:20 web_js 775 ERR Uncaught RangeError: Maximum call stack size exceeded zm/tools/mootools/mootools-core.js 1
2020-03-07 19:27:17 web_js 1067 ERR Uncaught RangeError: Maximum call stack size exceeded zm/tools/mootools/mootools-core.js 1
2020-03-07 19:27:12 web_js 779 ERR Uncaught RangeError: Maximum call stack size exceeded zm/tools/mootools/mootools-core.js 1
2020-03-07 19:27:05 web_js 779 ERR Uncaught TypeError: Cannot read property 'getImageData' of undefined zm/cache/skins_classic_views_js_montagereview-classic-1582749735.js 334
Re: "download video" and "export"
something isn't right here, that for sure.iconnor wrote: ↑Sat Mar 07, 2020 1:31 pm ffmpeg is not involved in export.
Export just copies(hard links if possible) the event data to a tmp dir structure and zips or tars it up with a few html pages for viewing.
So if your zip or tar has empty directories then there must have been a failure copying the event files.
There will be logs. LOOK at them, and post them here.
I tested, and this works fine for me on ubuntu, so it is going to take some investigation.
I upgraded to 1.34.5 yesterday, upgraded the database and all looked fine.
I'm testing for now but somehow "old/deleted" storage/monitor events just appear in the log:
I only have monitor ids 4 and 8 available but zoneminder logs about monitor 6, yesterday, it complained about a storage id which I had deleted.
Code: Select all
2020-03-08 20:56:06 zmdc 11114 ERR 'zmcontrol.pl --id 6' exited abnormally, exit status 255 zmdc.pl
2020-03-08 20:56:06 zmcontrol_6 16288 FAT Unable to load control data for monitor 6 zmcontrol.pl
2020-03-08 20:53:25 zmdc 11114 ERR 'zmcontrol.pl --id 6' exited abnormally, exit status 255 zmdc.pl
2020-03-08 20:53:25 zmcontrol_6 15906 FAT Unable to load control data for monitor 6 zmcontrol.pl
2020-03-08 20:52:05 zmdc 11114 ERR 'zmcontrol.pl --id 6' exited abnormally, exit status 255 zmdc.pl
2020-03-08 20:52:05 zmcontrol_6 15716 FAT Unable to load control data for monitor 6 zmcontrol.pl
2020-03-08 20:51:25 zmdc 11114 ERR 'zmcontrol.pl --id 6' exited abnormally, exit status 255 zmdc.pl
2020-03-08 20:51:25 zmcontrol_6 15616 FAT Unable to load control data for monitor 6 zmcontrol.pl
2020-03-08 20:51:04 zmdc 11114 ERR 'zmcontrol.pl --id 6' exited abnormally, exit status 255 zmdc.pl
2020-03-08 20:51:04 zmcontrol_6 15566 FAT Unable to load control data for monitor 6 zmcontrol.pl
2020-03-08 20:50:54 zmdc 11114 ERR 'zmcontrol.pl --id 6' exited abnormally, exit status 255 zmdc.pl
2020-03-08 20:50:54 zmcontrol_6 15542 FAT Unable to load control data for monitor 6 zmcontrol.pl
2020-03-08 20:50:49 zmdc 11114 ERR 'zmcontrol.pl --id 6' exited abnormally, exit status 255 zmdc.pl
2020-03-08 20:50:49 zmcontrol_6 15528 FAT Unable to load control data for monitor 6 zmcontrol.pl
2020-03-08 20:47:41 zms_e76 15062 ERR Unable to send raw frame 157: Broken pipe zm_eventstream.cpp 791
2020-03-08 20:47:33 zms_e76 15057 ERR Unable to send raw frame 7: Broken pipe zm_eventstream.cpp 791
2020-03-08 20:47:30 zms_e76 15050 ERR Unable to send raw frame 1: Broken pipe zm_eventstream.cpp 791
2020-03-08 20:39:49 zma_m4 13886 ERR No diff between time_diff = 0.000000 (0:1583696389.868393 - 0:1583696389.868393), ibc: 20 zm_monitor.cpp 908
2020-03-08 20:39:49 zmwatch 11174 ERR Last analyse time for 4 Front-Driveway was zero. zmwatch.pl
2020-03-08 20:39:44 zmc_m4 13883 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1085
2020-03-08 20:39:44 zmc_m4 13883 ERR Unable to read header zm_remote_camera_http.cpp
both work fine but none of these want to work with "download video", either tar or zip, export does export but omits the video in the exported zip file.
it plays fine from events but does not download correct..
I've searched the logs but cannot find any clues, no errors about exporting at all:
Code: Select all
/var/log/zoneminder/zmc_m7.log:11:03/08/20 20:28:09.017324 zmc_m7[11828].ERR-zm_remote_camera_http.cpp/226 [Select error: Interrupted system call]
/var/log/zoneminder/zmc_m7.log:12:03/08/20 20:28:09.018091 zmc_m7[11828].ERR-zm_remote_camera_http.cpp/946 [Unable to read subheader]
/var/log/zoneminder/zmc_m7.log:13:03/08/20 20:28:09.018700 zmc_m7[11828].ERR-zm_remote_camera_http.cpp/1085 [Unable to get response, disconnecting]
/var/log/zoneminder/zmc_m7.log:18:03/08/20 20:28:23.629782 zmc_m7[11975].ERR-zm_remote_camera_http.cpp/226 [Select error: Interrupted system call]
/var/log/zoneminder/zmc_m7.log:19:03/08/20 20:28:23.630967 zmc_m7[11975].ERR-zm_remote_camera_http.cpp/946 [Unable to read subheader]
/var/log/zoneminder/zmc_m7.log:20:03/08/20 20:28:23.631771 zmc_m7[11975].ERR-zm_remote_camera_http.cpp/1085 [Unable to get response, disconnecting]
/var/log/zoneminder/zmc_m8.log:11:03/08/20 20:30:12.130808 zmc_m8[12251].ERR-zm_remote_camera_http.cpp/226 [Select error: Interrupted system call]
/var/log/zoneminder/zmc_m8.log:12:03/08/20 20:30:12.131713 zmc_m8[12251].ERR-zm_remote_camera_http.cpp/946 [Unable to read subheader]
/var/log/zoneminder/zmc_m8.log:13:03/08/20 20:30:12.132452 zmc_m8[12251].ERR-zm_remote_camera_http.cpp/1085 [Unable to get response, disconnecting]
/var/log/zoneminder/zma_m8.log:2:03/08/20 20:30:18.255092 zma_m8[12381].ERR-zm_monitor.cpp/574 [Got empty memory map file size 0, is the zmc process for this monitor running?]
/var/log/zoneminder/zms_e74.log:1:03/08/20 20:35:35.151787 zms_e74[13242].ERR-zm_eventstream.cpp/791 [Unable to send raw frame 8: Broken pipe]
/var/log/zoneminder/zms_e74.log:2:03/08/20 20:36:01.212295 zms_e74[13310].ERR-zm_eventstream.cpp/791 [Unable to send raw frame 1: Broken pipe]
/var/log/zoneminder/zms_e76.log:1:03/08/20 20:47:30.858508 zms_e76[15050].ERR-zm_eventstream.cpp/791 [Unable to send raw frame 1: Broken pipe]
/var/log/zoneminder/zms_e76.log:2:03/08/20 20:47:33.786010 zms_e76[15057].ERR-zm_eventstream.cpp/791 [Unable to send raw frame 7: Broken pipe]
/var/log/zoneminder/zms_e76.log:3:03/08/20 20:47:41.302128 zms_e76[15062].ERR-zm_eventstream.cpp/791 [Unable to send raw frame 157: Broken pipe]
Code: Select all
/var/log/zoneminder/zmc_m4.log:1474:03/08/20 20:20:47.445413 zmc_m4[11142].WAR-zm_remote_camera_http.cpp/1081 [Unable to capture image, retrying]
/var/log/zoneminder/zmc_m4.log:1572:03/08/20 20:39:39.833239 zmc_m4[13883].WAR-zm_remote_camera_http.cpp/1081 [Unable to capture image, retrying]
And guys, thanks for the wonderfull work you're doing!
Adding recent .FAT logs. Again, I do not have monitor with id 6:
Code: Select all
/var/log/zoneminder/zmcontrol_6.log:25:03/08/2020 20:50:49.382876 zmcontrol_6[15528].FAT [main:108] [Unable to load control data for monitor 6]
/var/log/zoneminder/zmcontrol_6.log:26:03/08/2020 20:50:54.580440 zmcontrol_6[15542].FAT [main:108] [Unable to load control data for monitor 6]
/var/log/zoneminder/zmcontrol_6.log:27:03/08/2020 20:51:04.809261 zmcontrol_6[15566].FAT [main:108] [Unable to load control data for monitor 6]
/var/log/zoneminder/zmcontrol_6.log:28:03/08/2020 20:51:25.036589 zmcontrol_6[15616].FAT [main:108] [Unable to load control data for monitor 6]
/var/log/zoneminder/zmcontrol_6.log:29:03/08/2020 20:52:05.297872 zmcontrol_6[15716].FAT [main:108] [Unable to load control data for monitor 6]
/var/log/zoneminder/zmcontrol_6.log:30:03/08/2020 20:53:25.613249 zmcontrol_6[15906].FAT [main:108] [Unable to load control data for monitor 6]
/var/log/zoneminder/zmcontrol_6.log:31:03/08/2020 20:56:06.023323 zmcontrol_6[16288].FAT [main:108] [Unable to load control data for monitor 6]
/var/log/zoneminder/zmcontrol_6.log:32:03/08/2020 21:01:26.900594 zmcontrol_6[17121].FAT [main:108] [Unable to load control data for monitor 6]
/var/log/zoneminder/zmcontrol_6.log:33:03/08/2020 21:11:27.056254 zmcontrol_6[18581].FAT [main:108] [Unable to load control data for monitor 6]
/var/log/zoneminder/zmcontrol_6.log:34:03/08/2020 21:21:28.171976 zmcontrol_6[20055].FAT [main:108] [Unable to load control data for monitor 6]
/var/log/zoneminder/zmcontrol_6.log:35:03/08/2020 21:31:28.233269 zmcontrol_6[21523].FAT [main:108] [Unable to load control data for monitor 6]
-
- Posts: 1
- Joined: Thu Sep 14, 2023 9:07 pm
Re: "download video" and "export"
Export works fine for me, problem I am having is with the html viewer, the iframe height is not set correctly. I have to manually change "height: 100%;" to "height: 850px;" on the TD's style, usually 130px more than the video height (720) and add "height: 100%;" to the iframe's style.
For now, I have been adding on the <script> section:
$(document).ready(function() { $('#myframe').parent().css("height", "850px"); $('#myframe').css("height", "100%"); } );
And playback is awful slow, I need to scroll through manually to see it. Still haven't played around with the speed yet...
Is this being looked at?
Thanks!
For now, I have been adding on the <script> section:
$(document).ready(function() { $('#myframe').parent().css("height", "850px"); $('#myframe').css("height", "100%"); } );
And playback is awful slow, I need to scroll through manually to see it. Still haven't played around with the speed yet...
Is this being looked at?
Thanks!
Re: "download video" and "export"
No it isn't.
We look forward to your pr.
We look forward to your pr.