Use command: CaptureGetFrame
For example:
stc::perform CaptureGetFrame -CaptureProxyId capture2 -FrameIndex 0
Return value:
The index is from 0.