Page 1 of 1
Gapless Event playback fails
Posted: Thu Mar 01, 2018 1:42 pm
by geraldbrandt
Hi,
When I play gapless events, the second (and on) video never plays. The error I get is
"The video could not be loaded, either because the servert or network failed or because the format is not supported"
Going back any playing the failed event works fine. This is consistent across firefox and chrome.
Running latest 1.31.39-201802
Gerald
Re: Gapless Event playback fails
Posted: Thu Mar 01, 2018 8:50 pm
by canbikehere
I see this same message with h264 passthrough, but not with jpeg frames...
Re: Gapless Event playback fails
Posted: Fri Mar 02, 2018 3:58 am
by geraldbrandt
All I do is h264 pass-through. except for one camera where I do h264 encode. The h264 encode has the same issue.
Re: Gapless Event playback fails
Posted: Mon Mar 12, 2018 8:38 pm
by geraldbrandt
Any testing or fixes I can do on my end to help out with this issue? Today, I had to go through 4 pages of captures, one event at a time. It was painful.
Re: Gapless Event playback fails
Posted: Wed Mar 21, 2018 1:54 am
by sonicspeedway
I am having exact same problem, although when the ""The video could not be loaded, either because the server or network failed or because the format is not supported"" message shows, I can just refresh the page and it plays. Also playing back videos in zmninja hasn't worked either since this error has surfaced, it says "Could not retrieve frame details".
Re: Gapless Event playback fails
Posted: Fri Mar 23, 2018 4:03 pm
by geraldbrandt
I'll confirm a page refresh plays the video. This helps!
Re: Gapless Event playback fails
Posted: Thu Apr 05, 2018 7:36 am
by xenoxaos
From what I can see, it's trying to load the video from
https://domain.com/zm/index.php?mode=mp ... UTHKEYHERE
This doesn't work and needs the '&' replaced with '&'. The URL is in the source of the page (before refreshing to get it to play). I changed the Event.php file on my server in the line:
public function getStreamSrc( $args=array(), $querySep='&' ) {
And now it's working. However, I'm not sure yet if this breaks something else. YMMV and I may have really broken something as well, but I'll face that when I find it.
Re: Gapless Event playback fails
Posted: Tue Apr 10, 2018 1:53 am
by xenoxaos
Looks like my pull got merged. The fix should be in the next build ic0n puts out.
https://github.com/connortechnology/ZoneMinder/pull/95