Testing on Milestone Xprotect 2022 R3
I am try to get bitmap images at the recorded frame rate using BitmapVideoSource. As there is no parameter to change the fps so it should give the frames at the recorded frame rate. I am recording at 25fps and when i am exporting the video from Playback as MKV, it was exported as 25 fps but when i am get the frame using BitmapVideoSource or JpegVideoSource it is only giving me 5fps.
using the following code
https://github.com/milestonesys/mipsdk-samples-plugin/blob/main/RGBVideoEnhancement/Client/RGBVideoEnhancementViewItemWpfUserControl.cs
I believe the sample is designed that if the frames doesn’t get decoded fast enough it will skip frames.
If you do a simpler implementation and simply uses the VideoOS.Platform.Data.BitmapVideoSource.GetNext() method you should get them all.
ref. https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_data_1_1_bitmap_video_source.html&tree=tree_search.html?search=getnext