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

Status Page

Live view rubberbanding / stutter with Hikvision 4K camera — Nx Witness

Answered

Comments

5 comments

  • Norman
    • Network Optix team

    Hi JV,

    Hi,

    Thank you for the detailed report and the testing you’ve already done. Here are a few things that will help narrow this down.

    Test the stream from the Media Server

    Your ffplay tests so far pulled the stream directly from the camera, which bypasses Nx entirely. Please repeat the test using the RTSP stream from the Media Server instead. This shows whether the stutter comes from the Server or from the Desktop Client.

    Supported platforms

    Please note that the NanoPi R5C and Ubuntu 26.04 are not supported platforms, and virtual machines have limited support. For us to investigate this as a potential product issue, it needs to be reproducible on supported, recommended hardware and operating systems.

    Increase the client’s live buffer

    You can try increasing the client’s live buffer in the Desktop Client: go to Local Settings > Advanced > Maximum Live Buffer Length.

    The live buffer is a small amount of video the client holds before displaying it. In live view, the client keeps this buffer as short as possible to keep latency low. When frames arrive unevenly, which is more likely with high-bitrate 4K streams, a short buffer can run empty. The video then freezes and jumps forward to catch up with live. A larger buffer absorbs these variations and gives smoother playback, at the cost of slightly more delay in live view.

    Work with your reseller

    Your reseller is best equipped to investigate the root cause of this specific issue and to resolve it or escalate it to us. Please set both the Media Server and the Desktop Client to the DEBUG log level, reproduce the issue, and share both sets of logs with your reseller. Include the date, time, and time zone of the reproduction. Obviously, as mentioned, the reproduction has to be done of support hardware and OS. 

    Best regards.

    0
  • JV

    Hi Norman,

    Thank you for your reply!

    I increased the buffer to 1000ms and that is also the maximum allowed as far as i could tell. But it didn't have the desired effect. Its still rubber-banding.

    I wanted to try the stream directly from the server but it doesn't work. it seems the credentials are not accepted, either from the server or the camera. Could you share with me the format for the rtsp stream coming directly from the server?

    kind regards 

    0
  • Norman
    • Network Optix team

    Hi JV,

    See THIS part of the API for formatting RTSP streams, directly from the Media Server. 

    Please note that you need to create a Digest User first in order to authenticate an RTSP stream. 

    Best regards.
     

    0
  • JV

    Hey Norman,

    I got the stream working in ffplay and vlc, the same rubber-banding persists. But if i use the flag ‘-rtsp_transport tcp’ in ffplay the stream is perfect. and if i check the box ‘RTP over RTSP (TCP)’ in vlc then the stream is also good.

    Is there a way to also do this in Nx witness client? I all ready tried changing the Camera Settings → Expert → Media Streaming → RTP Transport from Auto to TCP but that didn't do much as far as i could tell.

    kind regards.

     

    0
  • Norman
    • Network Optix team

    Hi JV,

    By default, Nx uses RTP over RTSP via TCP, meaning there are no additional settings you need to configure within Nx for this to work.

    To help us investigate this issue more deeply, please reach out to your Authorized Nx Reseller. They can perform an initial review and, escalate the case directly to our Support Team.

    Before contacting your reseller, it would be very helpful to gather some diagnostic information. Please follow these steps:

    1. Enable VERBOSE logging for both the Desktop Client and the Media Server.
    2. Reproduce the issue you are experiencing.
    3. Download the generated logs.
    4. Set the log level back to INFO.

    Once you have the logs, please share them with your reseller so they can begin their initial investigation.

    Please also note that as the investigation progresses, we may request remote access to the device (via port forwarding) so we can connect it securely to our test environment for deeper analysis.

    Best regards.

    0

Please sign in to leave a comment.