plugin video stream is not available on nx cloud?

Answered

Comments

4 comments

  • Official comment
    Avatar
    Norman - Nx Support

    Hi Akshay,

    The bounding boxes are only applicable for the desktop client and currently aren't displayed in the Nx WebAdmin or the NxCloud viewer. 

    Ps. I moved your topic from the Nx Cloud section to the Developer forum section. 

    Comment actions Permalink
  • Avatar
    akshay thoughtclan

    I have two questions:
    1. will the feature be available on the cloud anytime soon? if yes, is there any approximate timeline for when we can get the stream with bounding boxes on the cloud? 
    2. as of now, is there a way to export the video with bounding boxes?

    0
    Comment actions Permalink
  • Avatar
    Nx Support

    1. This is a good request, but unlikely it will be available this year

    2. No, but bounding boxes are available via API using method /ec2/analyticsLookupObjectTracks

     

    Can you please describe the scenario when you need to export video with bounding boxes.

     

    0
    Comment actions Permalink
  • Avatar
    Sergey Yuldashev

    Hello Akshay,

    Let me add more details to what my colleague expressed last time.

    The response for the method /ec2/analyticsLookupObjectTracks will provide you with an array of JSON objects, each of those stands for the separate track.

    Every such JSON object contains attributes deviceId, firstAppearanceTimeUs and lastAppearanceTimeUs which have values representing the device id and the timestamp in milliseconds UTC of the first and last time the object was noticed at a certain device field of view.

    To export this piece of video Nx API provides you with a following means:

    /hls/{deviceId}.{format}?pos={firstAppearanceTimeUs_value}&duration={duration}&{other_parameters}
    The /hls method allows to download to mkv and ts formats. Transcoding is not applied in this case.

    /media/{deviceId}.{format}?pos={firstAppearanceTimeUs_value}&endPos={lastAppearanceTimeUs_value}&{other_params}
    The above method allows to download video in webm, mp4, mpegts and mpjpeg formats. Most of them require transcoding. It results in the resources usage overhead.

    For more details feel free to check the Nx Media Server API documentation available at any Media Server web-page in "For Developers" section. Search for "Direct download" and "HTTP Streaming".

    0
    Comment actions Permalink

Please sign in to leave a comment.