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

Status Page

Compressed frames don't work on testcameras

Answered

Comments

9 comments

  • Andrey Terentyev
    • Network Optix team

    Hello Hendrick,

    However, if I create the file in the same way but with a testcamera (not a regular camera), I can't play it, none of the players are capable of opening it.

    What is the purpose of this activity?
    Could you please tell more about your final objective? What is the solution are developing, which needs frames to be saved to a file from a camera, and from the testcamera in particular?

    JIRA-VMS-22991

    0
  • Hendrik Baekeland

    Hello Andrey,
    I'm trying to test the plugin I'm developing. I want to see how many cameras I can handle and I simply can't connect 50-60 real cameras to my server as I don't have them, that's why I want to use testcameras for load testing.

    I've created a file only for demonstrational purposes, so it would be easier to verify that a stream is corrupted. To check that, you just need to create a file and you will see that it's corrupted. In other case there must be some process which receives chunks of the stream from Nx via some protocol  and then paseses it to some processing pipeline. Instead, you can simply write the stream to a file and check it with vlc or mpv. Of course I'm processing the stream differently in the real system but it doesn't change the fact that streams from testcameras are corrupted.

    I'm sending compressed frames from my plugin for further processing and I'm able to process compressed frames only on usual cameras because I'm receiving garbage from testcameras. All examples of data are attached.

    0
  • Andrey Terentyev
    • Network Optix team

    Hendrick,

    Could please share your code and once again videofiles you are using for testcamera?

    0
  • Hendrik Baekeland

    Andrey,
    Ok, I will do it on Monday or Tuesday.
    I also can provide you with individual chunks of compressed frames and their concatenation for both real camera and testcamera.

    0
  • Hendrik Baekeland

    Andrey,  https://filebin.net/ieevpde121zl9rdm

    There is a patch file. You can go to a directory which contains 'metadata_sdk' folder (from nxwitness-metadata_sdk-4.1.0.31398-universal.zip ) and apply it via
    patch -p0 < patch.txt

    'FHD_testcamera' and 'FHD_real' contains individual chunks of compressed frames and a concatenated stream file.

    ' sample_1080p_h264.mp4' is a file that I'm using for testcamera.


    0
  • Andrey Terentyev
    • Network Optix team

    Thank you, Hendrick.

    I've got your materials.

    0
  • Andrey Terentyev
    • Network Optix team

    Hendrick,

    I have reproduced the issue and got confirmation that testcamera passes frames to the Server in a specific way.
    We are going to fix it.
    Will update here later on.

    0
  • Permanently deleted user

    Hi everyone!

    I have the similar problem and want to know how is going on?

    0
  • Andrey Terentyev
    • Network Optix team

    Hello,

    The issue has been fixed.

    MetaVMS 5.0.0.33871 R4 already includes the fix.

    0

Please sign in to leave a comment.