I'm running a Centos 7 server with zoneminder 1.29.0 from zmrepo repository.
depending on the settings in FFMPEG_OUTPUT_OPTIONS I can generate a small file size video with low unusable quality. or a large file size of sufficient quality. small file sizes I've tested range around 15MB the large file sizes range around 230MB. On both of these file sizes clicking view for the file in the video window works. When clicking download in the video window the small size downloads the large size file returns "file not found" under firefox and "this site can't be reached" under Chromium. The large file is there as I can scp it off the server from the event directory and view it just fine. I've looked at the link locations for both small and large file and they are the same 'https://lamp/zm/4/16/04/24/19/40/00/Eve ... -r1-s1.ogg'. The actual directory the event is stored under is '/var/lib/zoneminder/events/4/16/04/24/19/40/00/'
Currently in testing under FFMPEG_OUTPUT_OPTIONS for the small file size I'm using '-c:v libtheora' and for large file size I'm using '-c:v libtheora -qscale:v 7' I have added 'ogg' to FFMPEG_FORMATS and that's the file type I'm generating for a 10 minute event (as my camera in question is set to record, which records in 10 minute chunks at 15 fps).
Any help would be greatly appreciated.
downloading generated video from event returns file not found on large files
Re: downloading generated video from event returns file not found on large files
So I've found the issue is in the php.ini file 'memory_limit = 128M' is the default. if I up this to 400M the problem goes away. Is this a sane way of handling this problem?
Re: downloading generated video from event returns file not found on large files
Yes and likely the only way.
bb
bb