further examination shows that the path in /usr/share/zoneminder/www/skins/classic/views/video.php line 69 is for example
events/2/16/03/26/13/33/11 but actually is events/2/16/03/25/10/33/11 causing the error. The video is generated and is here:
/usr/share/zoneminder/www/events/2/16/03/25/10/33/11/Event-3-r1-s1.avi but one recieves a Video generated Success and shows NO video found.
Can this be a time-date issue during the DEEP Storage processes? Or am I way off here.
I upgraded and lost the ability to generate video or export events.
Export ZIP
Re: Export ZIP
notice the date and time difference. The time stamp on the camera stream is correct.
So when I attempt to generate a video or export an event the process fails.
Also the stills view of an event fails.
So when I attempt to generate a video or export an event the process fails.
Also the stills view of an event fails.
Re: Export ZIP
I stopped all the servers checked the php.ini Date section which is OK and restarted all the servers which seems to have fixed the issue.
I can export and create videos again.
I can export and create videos again.
Re: Export ZIP
Nope i'm still at a loss, my time stamps match correctly.
Re: Export ZIP
just wanted to update I still have no solution for this. (i was away for awhile) But still states that video generation succeeded but no download.
Re: Export ZIP
On Puppy Linux I open a terminal or run a script at startup to do the following :
and then the video generation and export function worked flawlessly.
I stumbled across this when configuring ZM for a Hiawatha server.
Code: Select all
#chmod 666 /dev/random
I stumbled across this when configuring ZM for a Hiawatha server.
Re: Export ZIP
This is a fairly old thread but I thought I would point out my workaround since I've had to figure it out again after I patched my installation more than year ago.
One reason you may get empty zmExport.tar files or no zmExport.zip file at all is if you have an empty zmFileList.txt. That in turn can be caused by a bug in the export_functions.php regular expression that matches the video file formats. The default (FFMPEG_FORMATS option) allows you to generate .mov and .swf format files but the video export regex doesn't look for those. The workaround is to change
to
or something that matches your FFMPEG_FORMATS options if you change them.
I've just submitted on issue for a fix on github
One reason you may get empty zmExport.tar files or no zmExport.zip file at all is if you have an empty zmFileList.txt. That in turn can be caused by a bug in the export_functions.php regular expression that matches the video file formats. The default (FFMPEG_FORMATS option) allows you to generate .mov and .swf format files but the video export regex doesn't look for those. The workaround is to change
Code: Select all
if ( preg_match( "/\.(?:mpg|mpeg|avi|asf|3gp)$/", $file ) )
Code: Select all
if ( preg_match( "/\.(?:mpg|mov|swf|mpeg|avi|asf|3gp)$/", $file ) )
I've just submitted on issue for a fix on github
Re: Export ZIP
I have submitted a PR with your proposed fix.