Get Timestamp of frame from playback time range without getting frame

How can i get timestamp/metadata of all the frames from playback selected range? Currently i am creating BitmapVideoSource

if (_bitmapVideoSource.GetNext() is BitmapData bitmapData)

{

        DateTime FrameTime = bitmapData.DateTime;

}

getting all the frame in the selected range and storing down their timestamps, but it is slowing down the application.

Unfortunately, there is currently no way of getting timestamps of the metadata for a time range.

Okay, So is there any other way to retrieve images faster? currently

BitmapVideoSource _bitmapVideoSource = new BitmapVideoSource(SelectedCameraItem)

   {

     Width = 1,

     Height = 1

   };

and retrieving images, but it still taking 20 seconds for 1 mint video with 25fps.

No, if you want every frame there is nothing faster than using next.

If you do not need every frame maybe recording sequences can work for you: https://developer.milestonesys.com/s/article/sequences-retrieval-with-the-MIP-SDK