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

Status Page

How can I get recorded movie through API?

Answered

Comments

5 comments

  • Official comment
    Sergey Yuldashev
    • Network Optix team

    Hello @...,

    Please refer to the Nx Server API documentation.

    I would recommend the following section:

    HTTP Streaming
    GET/media/<cameraId>.<format>

    If you use mp4 as a format without setting up the resolution parameter, you will be able to download the original stream.
    If resolution is different from the original, transcoding will be applied which will lead to some extra CPU load on server side and the codec of the result file will be different from the original.

  • Permanently deleted user

    Hi Sergey,

    Thank you very much for prompt reply!

    Now I can get the recorded movie with your recommended API.

    Best Regards,

    Kei

    0
  • Permanently deleted user

    Hello Sergey,

    Continuously let me ask additional question.

    "Direct download" also enables us to download recorded movie to local. May I know what is different btw "Direct download" and "HTTP Streaming"?

    In my understanding, major difference is supported formats (direct download: ts, mkv, HTTP streaming; mp4, etc.). Do you have any other criterial to decide which API should be used?

    Best Regards,

    Kei

     

    0
  • Sergey Yuldashev
    • Network Optix team

    Hello @...,

    Direct Download utilizes hls technology to achieve data export.

    Right now it causes export time to have comparable to the downloaded archive part length. I.e. if you download hour of the archive, the export time will also be close to that value.

    Also this approach will soon be marked as deprecated and will no longer be improved.

    This is why I specifically recommended "HTTP Streaming" option in the previous message.

    0
  • Permanently deleted user

    Hello Sergey,

    Thanks a lot!

    It must be really helpful information for us. I understood the background of your recommendation.

    Best Regards,

    Kei

     

    0

Please sign in to leave a comment.