spdl.io.VideoDecoder¶
- class VideoDecoder[source]¶
Decode stream of video packets. See
Decoderfor the detail.Methods
- decode(packets: VideoPackets) VideoFrames | None[source]¶
Decode the given packets
- flush() VideoFrames | None[source]¶
Flush the internally buffered frames. Use only at the end of stream