Shortcuts

Interactive examples

Decoding

Image

Decoding a video with VideoDecoder

Decoding a video with VideoDecoder
Image

Decoding audio streams with AudioDecoder

Decoding audio streams with AudioDecoder
Image

Accelerated video decoding on GPUs with CUDA and NVDEC

Accelerated video decoding on GPUs with CUDA and NVDEC
Image

Streaming data through file-like support

Streaming data through file-like support
Image

Exact vs Approximate seek mode: Performance and accuracy comparison

Exact vs Approximate seek mode: Performance and accuracy comparison
Image

How to sample video clips

How to sample video clips
Image

Parallel video decoding: multi-processing and multi-threading

Parallel video decoding: multi-processing and multi-threading
Image

Decoding with custom frame mappings

Decoding with custom frame mappings

Encoding

Image

Encoding audio samples with AudioEncoder

Encoding audio samples with AudioEncoder
Image

Encoding video frames with VideoEncoder

Encoding video frames with VideoEncoder

Gallery generated by Sphinx-Gallery

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources