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
Gapless Event playback fails
-
- Posts: 16
- Joined: Tue Feb 27, 2018 6:09 pm
Re: Gapless Event playback fails
I see this same message with h264 passthrough, but not with jpeg frames...
-
- Posts: 132
- Joined: Tue Dec 09, 2014 10:20 pm
Re: Gapless Event playback fails
All I do is h264 pass-through. except for one camera where I do h264 encode. The h264 encode has the same issue.
-
- Posts: 132
- Joined: Tue Dec 09, 2014 10:20 pm
Re: Gapless Event playback fails
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.
-
- Posts: 12
- Joined: Mon Jan 22, 2018 7:02 pm
Re: Gapless Event playback fails
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".
-
- Posts: 132
- Joined: Tue Dec 09, 2014 10:20 pm
Re: Gapless Event playback fails
I'll confirm a page refresh plays the video. This helps!
Re: Gapless Event playback fails
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.
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
Looks like my pull got merged. The fix should be in the next build ic0n puts out.
https://github.com/connortechnology/ZoneMinder/pull/95
https://github.com/connortechnology/ZoneMinder/pull/95