Noise appears at beginning when reading images by MultiMedia Toolkit when setting "motiononly" to "yes".

There’s a noise in the images reading by MediaSDK when setting “motiononly” to “yes”.

Noise appears only in few frames at the beginning.

Attached images are captured by using MediaLiveServiceJPEG samples in MIP SDK.

Only following parameters are modified.

<video_stream_attributes>
  <motiononly update_key='update_motiononly'>yes</motiononly>
</video_stream_attributes>

There’s no noise in the images exported from SmartClient.

It seems Media SDK provide wrong timestamp images, see the right top imposed time information.

[Image from Media SDK]

GIF

[Exported image from Smart Client]

GIF

when you start the stream, you should check the frame type and throw away the leading P-Frames.

After receiving the first I-frame - everything should be OK.

Notice that it is possible to adjust I-frame interval for many camera streams, default is 1 second, but could be several seconds to get first I-frame.

Also notice that depending on XML definition, you can retrieve the GOP in progress from the Image Server - and you will need to split it up by looking at the GenericByteData headers.

I understand that ​MultiMedia Toolkit might not return I-frame at first in all cases.

It seems I could check frame type (I or P/B) by checking SYNC bit in Flags when I setup toolkit to receive data as GenericByteData format. But how about another case, e.g. JPEG or decoded images.

Can we refer similar information ?

Dear Anders,

I’m afrand your suggestion does not solve my problems

Attached image descrives what I observed.

I guess Multimedia Toolkit return I frame at first by selecting previous sequence.

Otherwise I cannot see image with timestamp “12:31:05”.

Milestone Development have developed a fix. The fix is part of the 2018R2 with expected release in June or July.

Thank you for reporting this issue.