How to be playback a high FPS video smoothly?

Hi,

I operate 120FPS camera in my project.

In case of using XProtect Smart Client 2014, the video can be playback smoothly.

However, the video is choppy when using sample of VideoViewer. (Using MIP SDK 2014 5.1e)

What should I fix in source to be playback smoothly like a XProtect?

Or, is there any solution?

Thanks in advance.

The VideoViewer sample uses the same ImageViewer control as in the Smart Client, but the Smart Client use a buffer, which you can adjust to fit a certain scenario, e.g. very fast frame rate views.

I suggest you modify the VideoViewer sample to use a frame buffer.

In the CImageViewerInterface Class, check the SHORT CImageViewerInterface.SetBufferingParameters ( BSTR bstrXmlParameters ) to set this.

-further, for the ImageViewerControl, it’s the SetVideoQuality (int smoothBufferSize, int CPUsToUtilize), you want

Hi Michael,

Thanks for your response.

I tried your suggestion, and it shows smoothly in ClientLive.

However, it is still choppy in ClientPlayback.

Do you have any other solutions?

Thanks.

We may have an SDK shortcoming for the ImageViewer playback. I have done some experiments with the VideoViewer sample code, and this appears quite choppy/jittery when playing back high FPS or high resolution footage.

I would like if you could raise an SDK Support issue for this, because we will need a bit more specific information from your scenario. Thank you in advance,

/Michael

Hi Michael,

Thanks for response and I apologize for the late reply.

My pc’s specification is,

Windows 8.1 64bit

Core i5-3330S 2.70GHz

6.00GB RAM

and, I set the camera to H.264,1920 x 1080,120fps.

Both SmartClient and SDK are 64bit ver.

I add this code in VideoViewer/MainForm.cs

_imageViewerControl1.SetVideoQuality(50, 1);

I captured both situation,

https://www.dropbox.com/s/vbc9hfd334qvcsd/videos.zip?dl=0

Thanks.

Could you tell me the version of the ImageViewerDotNet.dll ?

The version of both Smart Client dll and the VideoViewer (MIP SDK) dll for comparison is interesting.

Note that one possible explanation could be the SDK dll being a debug mode dll, if it is, try to switch to the use of release dlls and see if it makes the difference.

I would like to debug deeper, if I can reproduce your observations, could you export the same video in a export in Milestone format and make that available to me too?

Hi Bo,

Thanks for your advice.

I tried to switch to release mode, and I operated without debugging. Then, it works more smoothly.

Incidentally, I use ImageViewerDotNet Ver.4.3.0.0 and here is same video,

https://www.dropbox.com/s/ug7krx6dydra0cm/Export%202015-10-20%2010-15-10.zip?dl=0

Thanks.