Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Time Differential

Comments

1 comment

  • Ichiro
    • Network Optix team

    Hi there,

    Thanks for raising this! I wanted to share a few context that should help explain the behavior you're seeing.

    Codec / I-frames — Thumbnails can only be generated from full images (I-frames) by default. If the timestamp you request doesn't land exactly on an I-frame, the mediaserver has to find the closest one and return that instead. This is how the compression and codec work, not an issue with the server.

    Recording mode — If you're using motion recording and the requested timestamp falls within a "no motion" period (i.e. nothing was recorded), the server has no frame at that exact moment to give you, so it returns the closest available one from the existing recording.

    On my side, I tested this on 6.1.2 and wasn't able to reproduce the problem (see the GIF (it is on google drive link):

    With always recording, there's always footage for the requested timestamp, and it returns the proper thumbnail.

    With motion recording, when I intentionally request a timestamp with no recording, it returns the closest I-frame — which may be either before or after the requested time.

     

    This behavior hasn't changed since v3.0. A couple of suggestions that might help:

    • You can add roundMethod=precise to keep the timestamp tight. That said, if the requested timestamp has no I-frame or no recording, the server will still need to fall back to the closest I-frame.
    • The most reliable approach is to check the recording first and then request the snapshot with a valid timestamp. You can always confirm whether footage exists via the API: /rest/v4/devices/{id}/footage. (Whether this fits depends on your use case.)

    One last note for next time: To help us understand and troubleshoot issues quickly, it really helps to include things like the server version, reproduction steps, and screen captures. That way others can get up to speed fast and offer solutions too.

    BTW : there wasn't a file attached to your post(?..)

    Hope this helps.

    0

Please sign in to leave a comment.