spdl.io.VideoDecoder¶
- class VideoDecoder¶
Decode stream of video packets. See
Decoderfor the detail.Attributes
Flush the decoder and yield remaining frames
Set the buffer size for streaming decoding.
Streaming decode packets and yield frames
- flush¶
Flush the decoder and yield remaining frames
- set_buffer_size¶
Set the buffer size for streaming decoding. Providing 0 will disable the fixed-frame streaming, and the number of frames yielded can vary.
- streaming_decode_packets¶
Streaming decode packets and yield frames