Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ASoTNetworks opened this issue May 21, 2021 · 7 comments

Comments

@ASoTNetworks
Copy link

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

@HaoLVb
Copy link

HaoLVb commented Jul 20, 2021

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

@ASoTNetworks
Copy link
Author

This still happens on the latest version.

@HaoLVb
Copy link

HaoLVb commented Jul 20, 2021

go to Monitor->Storage->Encoder Parameters and add movflags=frag_custom+dash+delay_moov
This worked for me!
#2984

@ASoTNetworks
Copy link
Author

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

@stale
Copy link

stale bot commented Apr 16, 2022

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 stale bot added the stale label Apr 16, 2022
@ronnyadsetts
Copy link

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.

@stale stale bot removed the stale label Sep 23, 2022
@ronnyadsetts
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants