Shortcuts

Computation times

07:48.420 total execution time for 12 files from all galleries:

Example

Time

Mem (MB)

Decoder Transforms: Applying transforms during decoding (../../examples/decoding/transforms.py)

03:19.378

0.0

Parallel video decoding: multi-processing and multi-threading (../../examples/decoding/parallel_decoding.py)

02:00.069

0.0

Encoding video frames with VideoEncoder (../../examples/encoding/video_encoding.py)

00:37.858

0.0

Streaming data through file-like support (../../examples/decoding/file_like.py)

00:34.521

0.0

Exact vs Approximate seek mode: Performance and accuracy comparison (../../examples/decoding/approximate_mode.py)

00:33.715

0.0

Decoding with custom frame mappings (../../examples/decoding/custom_frame_mappings.py)

00:31.473

0.0

Accelerated video decoding on GPUs with CUDA and NVDEC (../../examples/decoding/basic_cuda_example.py)

00:06.357

0.0

Decoding a video with VideoDecoder (../../examples/decoding/basic_example.py)

00:02.713

0.0

Decoding audio streams with AudioDecoder (../../examples/decoding/audio_decoding.py)

00:01.738

0.0

How to sample video clips (../../examples/decoding/sampling.py)

00:00.556

0.0

Encoding audio samples with AudioEncoder (../../examples/encoding/audio_encoding.py)

00:00.044

0.0

TorchCodec Performance Tips and Best Practices (../../examples/decoding/performance_tips.py)

00:00.000

0.0

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