DecodeVideo
Captures an image from video file with using FFmpeg library.
Syntax
C++
Python
def DecodeVideo( state: FFmpeg_DecoderState, inFile: str, outImage: Image, /, *, inStartFrameId: int | None = None ) -> ( outResult: bool, outFrameId: int )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioState | FFmpeg_DecoderState | ||
![]() |
inFile | str | File path with the appropriate format, e.g., input.avi | |
![]() |
inStartFrameId | int | None | None | ID of the frame to start the acquisition |
![]() |
outImage | Image | Captured frame | |
![]() |
outFrameId | int | ID of the captured frame |



