Extract jpg images from stream based on time or frame number

I looked through the DeepStream plug-in manual but I wasn’t able to find exactly what I was looking for.

I would like to be able to extract a JPG image from a stream every N seconds or every N frames and write it to disk.

Does a plug-in exist that does this or is there a simple method?

Thank you,

Hi,
There are two reference samples of image source. Please check
https://devtalk.nvidia.com/default/topic/1068954/