Live video periodically freezes

Hi eyeryone.

Ask about the video freezes.

It will freeze every second when set as follows.

ex)

size: 1920x1080

bitrate: 4000

framerate: 30

It only happens when using the MIPSDK 2016 R3.

However, the smart client will not freeze.

I saw video information with the following code:

ex)

EnvironmentManager.Instance.EnvironmentOptions[“PlayerDiagnosticLevel”] = “3”;

There was a difference between the SmartClient and the SDK viewer.

The SDK viewer continues to grow with the following numbers

“Render queue overflow count”

“Render queue underflow count”

And the queue size was different.

ex)

- SDK ImageViewerControl

“Render queue avg size: 0.00”

“Render queue max size: 2.00”

“Render queue min size: 0.00”

- SmartClient

“Render queue avg size: 5.00”

“Render queue max size: 9.00”

“Render queue min size: 3.00”

How do I fix this?

How can I increase the queue size?

please answer about my question.

Thank you. Have a nice day.

I presume you are using an imageviewerControl to display the video?

If so check out the below, speifically the smoothBuffersize.

virtual void VideoOS.Platform.Client.ImageViewerControl.SetVideoQuality(int smoothBufferSize,

int CPUsToUtilize

)[inline, virtual]

Configure how decoding and display should work. This call represent the same functionality as the VideoQuality slider setup for a CameraViewItem.

The change will take effect the next time a camera session is established. The smoothBufferSize parameter should have value in the range 1..100, where 1 is the lowest allowable quality and 100 is the highest allowable quality. The value represent how much of the maximum allocated buffer is used.

When the smoothBufferSize is 0 - buffering will be turned off, and values will be the original defaults.

Thanks you. Justin.

But freezing was not fixed.

Are there any other options?

The two experiments, the SDK based ImageViewerControl and the Smart Client that works, is this the same PC?

Do you see the same behavior if you switch to another test PC?

Please make two screen captures (Smart Client / MIP SDK) so that we can see the"other" debug info also (do not use SetVideoQuality, when making this).

Lets hope this info lead us to a clue..

Hi, Bo.

It is the same PC.

I captured it as a video.

Please check this link:

https://youtu.be/isVTNC5vtfM

Thanks you.

I tested it on another PC, but I have problems.

Please check YouTube link.

Looking at the video it seems like you have an extra call to the SetVideoQuality method at the second to last line in the method. Could you please try to comment out that line and see whether it helps?

I’m sorry.

I did not erase the test code.

So I tried again.

I deleted the sample project.

I reinstalled the 2016 R3 SDK and commented out the SetVideoQuality function.

But as in the Youtube, the video froze every second.

Did not you have this problem?

There is no problem when the camera resolution or bit rate is low.

I set it as follows.

Size: 1920x1080

Bitrate: 4000 (CBR)

Framerate: 30

Hi,

When we tried to reproduce we used different camera settings and thus were not able to reproduce, but with the ones you have provided we are now seeing the same behavior. We will look into it, but due to the holidays the response might be delayed.

Hi,

Thank you for your help.

Have a great holiday.

See you later

We believe we have now fixed the issue and it will be released in the next version of the SDK, but in the meantime could you please try out the following hotfix:

http://download.milestonesys.com/MIPSDK/HOTFIX/VideoOS.Platform.SDK.UI_TFS99293_HOTFIX.zip

Thank you very much. Peter.

The file you sent me is working fine.

Have a nice day.

Dears !!!

We have installed XCORP -2017 r3 in our client place and configured Pelco EXP1230 cameras with driver ONVIF conformant.

Most of the cameras are freezing after 5 min for 2 to 5 seconds and automatically restoring immediately, also we have found that the recordings are not available during this freezing issues, though we have configured continuous recording for 24Hrs.

· We have done the followings,

· Device pack installed and tested

· Camera codec changed from MPEG4 to H264

· Resolution has been changed from 1080*980 to 1080*720

· Camera profile has been changed default, high and med from Milestone management client

· Bit rate has been increased and reduced

· Cameras are continuously pinging from Recording and management without any time loss and also working any issues in web browser.

Most of the settings were changed and checked the status but still we are facing the same issues.

There is no lag/delay while viewing from web browser only facing the issues in Smart client and Management client view, videos are stopping in same time in both the places.

We will share the videos if required

can anyone help pls ?