Is any method to get H264 video frames by MIP SDK? Is any method to decode H264 frame by MIP SDK?

I am sorry for late reply but many developers are out of office due to vacation.

We will get back to you as soon as possible. I am sorry for the inconvenience.

Yes and no. The MIP SDK includes functionality to always get the video in JPEG or Bitmap. You however also have the option to get the video in the raw format as received by the recording server from the camera.

This means that if the camera is configured in XProtect to use H264 you can get H264, you will however have to be able to handle the format that is configured and used. In order to use this, you need to read about the GenericByteData format: https://doc.developer.milestonesys.com/html/index.html?base=mipgenericbytedata/main.html&tree=tree_3.html

So the answer whether you can get H264 frames depends on the camera and camera setup, if the camera is setup to use H264 the answer is yes.

The decoded images you ask for is best achieved by using the functionality to get JPEG or Bitmap that I mentioned.

RawLiveSource give you the raw format in live mode.

RawVideoSource give you the raw format in playback mode.

JpegLiveSource give you the images in Jpeg format in live mode.

JpegVideoSource give you the images in Jpeg format in playback mode.

BitmapLiveSource give you the images in Bitmap format in live mode.

BitmapVideoSource give you the images in Bitmap format in playback mode.

https://developer.milestonesys.com/s/article/exploring-the-MIP-SDK-recommended-top-SDK-samples