'ffmpeg extract single keyframe to image and get timestamp of keyframe

After searching for frames in a video that match an image, getting the following output

[Parsed_blackframe_1 @ 0x55a8513722c0] frame:884 pblack:99 pts:452608 t:35.360000 type:B last_keyframe:864

How to extract an image of a the last_keyframe in the case above 864?

How to get the timestamp of the last_keyframe in the case above 864?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source