spdl.io.sample_decode_video¶
- sample_decode_video(packets: VideoPackets, indices: list[int], *, decode_config: DecodeConfig | None = None, filter_desc: str | None = '__PLACEHOLDER__') list[ImagePackets] [source]¶
Synchronous version of
async_sample_decode_video()
.This function performs the same operation as
async_sample_decode_video()
, but the operations are performed sequentially.