Request jpeg image from VST

There is a comment from this thread that says VST has REST API to get a video snippet or JPEG image between two timestamps for a given sensor ID.

I can get an mp4 video snippet with: curl "http://ip_addr:port/api/v1/storage/file/streamId?startTime=2025-10-13T16:22:00+00:00&endTime=2025-10-13T16:22:10+00:00&container=mp4”

Is there a way to request a single frame as a jpeg? I tried setting container=jpg and container=jpeg but received an mpegts video in both cases. Also tried setting startTime and endTime the same but got an InvalidParameterError.

If I need to extract images from short video clips with ffmpeg or gstreamer, that’s fine. Just looking for clarification on whether there is a VST API that already does this before I implement anything.

Please check this API for get picture: Swagger UI

Thank you! I didn’t notice that API.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.