Skip to content

[Camera Support]: Video will not play after switching to history - Nginx shows "invalid number of elements..." #14706

Closed Answered by hawkeye217
pr10dr asked this question in Camera Support
Discussion options

You must be logged in to vote

NGINX has a max limit on the number of segments that can be requested in a single playlist.

The only other time I've seen this is when a camera is sending corrupt data and the PTS / DTS timestamps are incorrect, which results in more segments being than configured (which should be every 10 seconds).

If you look at some of your segment times at the beginning of the hour, it looks like a new segment is being generated every second:

144408  329 -rw-r--r-- 1 nobody nogroup  324221 Oct 31 15:00 00.00.mp4
144514  329 -rw-r--r-- 1 nobody nogroup  326719 Oct 31 15:00 00.01.mp4
144515  329 -rw-r--r-- 1 nobody nogroup  326740 Oct 31 15:00 00.02.mp4
144516  329 -rw-r--r-- 1 nobody nogroup  324544 Oc…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pr10dr
Comment options

@hawkeye217
Comment options

Answer selected by pr10dr
@pr10dr
Comment options

@hawkeye217
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment