Video Passthrough sometimes creates very long single frame recordings
Posted: Fri Dec 06, 2024 7:08 pm
Hi - I have been using Zoneminder in JPEG only mode for a long time. I liked that mode but the storage and CPU usage just became untenable. I am now using video passthrough with Zoneminder 1.36.44.
My issue is cameras seem to generate recordings which are small numbers of frames but on playback show a total duration which is very high (over an hour). This is not every recording just some of them. Cameras are all h.264. I have tried to search the forums for this sort of issue... I have tried a few things like the movfaststart flag, different codecs from the cameras etc. This issue is also causing all sorts of problems with montage review and playback. The downloaded video files have the same issue in VLC. Here is an example file:
https://drive.google.com/file/d/1I7xi2- ... sp=sharing
This particular camera is an ffmpeg source, analysis enabled, decoding enabled in record mode.
My max buffer size is 20 frames which happens to be the number of frames these broken videos say they are. I don't see any errors in the log.
I am not sure what to try in terms of FFMPEG flags. Maybe somebody has a suggestion here?
My issue is cameras seem to generate recordings which are small numbers of frames but on playback show a total duration which is very high (over an hour). This is not every recording just some of them. Cameras are all h.264. I have tried to search the forums for this sort of issue... I have tried a few things like the movfaststart flag, different codecs from the cameras etc. This issue is also causing all sorts of problems with montage review and playback. The downloaded video files have the same issue in VLC. Here is an example file:
https://drive.google.com/file/d/1I7xi2- ... sp=sharing
This particular camera is an ffmpeg source, analysis enabled, decoding enabled in record mode.
My max buffer size is 20 frames which happens to be the number of frames these broken videos say they are. I don't see any errors in the log.
I am not sure what to try in terms of FFMPEG flags. Maybe somebody has a suggestion here?