Page 1 of 1

1.31.x event view endless cycle, event save error

Posted: Thu Jul 20, 2017 7:30 pm
by zd59
HI!

Compiled on Slackware64-14.2 from your GIT repository a week ago.
ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.3.0 (GCC)
PATH_FFMPEG=/usr/bin/ffmpeg
FFMPEG_OUTPUT_OPTIONS=-r 10

Click on event number to watch its video, endlessly repeats video (loop). Click on pause detect it (shortly icon change) but do not stop looping.
Can not create video from event (any format):
2017-06-15 13:01:59.292427 web_php 7308 ERR Video Generation Failed /var/www/htdocs/zm/includes/functions.php 2095
All above tested on Virtualbox virtual machine with attached local camera (notebook built-in web camera).
If you need more data of my system or logs, please tell me, and explain how and what to log.

Also have some suggestions:
All modern IP cameras have at least 2 streams. So, to optimize server load, it would be nice, to be possible to:
modect low resolution (PAL, VGA..) on jpeg/h264 stream, as is curently on ZM.
nodect high resolution stream linked to modect, recording in passthrough mode (record original stream from camera, regardless of format - jpeg, h264, h265 etc.)
This way, no video transformation is needed or h264 --> jpeg on high stream, that would significantly reduce system load.

As all computers this days use some kind of GPUs with hardware video acceleration, how to exploit it, as ffmpeg is capable of that?