zoneminder icon indicating copy to clipboard operation
zoneminder copied to clipboard

Loading of playback events slow on Chromium and incorrect length on Firefox

Open ASoTNetworks opened this issue 3 years ago • 7 comments

Describe Your Environment

  • Version of ZoneMinder: v1.36.1
  • How you installed: Deb package via do_debian_package.sh
  • Full name and version of OS: Debian Buster
  • Browser name and version (if this is an issue with the web interface): Firefox 88.0.1 and Chromium 90.0.4430.212

Describe the bug On Firefox the playback of the video loads fast over WAN but the timestamp of the length of the video is wrong until you watch the whole video

On Chromium the video takes very long to load over a WAN connection but once loaded the video length is correct without playing the whole video first.

To Reproduce Steps to reproduce the behavior:

  1. Open a event to playback
  2. You will see the issue described above.

Expected behavior Video should load fast and show the right length when viewing events.

Debug Logs none

ASoTNetworks avatar May 21 '21 19:05 ASoTNetworks

I also have the same problem.Did you fix it yet?

haolvb avatar Jul 20 '21 01:07 haolvb

This still happens on the latest version.

ASoTNetworks avatar Jul 20 '21 04:07 ASoTNetworks

go to Monitor->Storage->Encoder Parameters and add movflags=frag_custom+dash+delay_moov This worked for me! https://github.com/ZoneMinder/zoneminder/issues/2984

haolvb avatar Jul 20 '21 16:07 haolvb

Thanks, I had to use movflags=faststart to have it work like it did before.

ASoTNetworks avatar Jul 22 '21 02:07 ASoTNetworks

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 07:04 stale[bot]

This is still an issue on 1.36.24 (Debian Bullseye backports). It makes playback and especially scanning alerts pretty painful. Will try the workarounds mentioned above.

ronnyadsetts avatar Sep 23 '22 21:09 ronnyadsetts

I can confirm that adding movflags=faststart to the encoder parameters made playback usable once more. This has been bugging me since I re-installed our camera system as it always worked with the older version of Zoneminder I was running with our previous cameras. Glad I finally found the time and energy to dig in and track down the problem.

ronnyadsetts avatar Sep 23 '22 21:09 ronnyadsetts