Rate this Page
★ ★ ★ ★ ★

Computation times#

05:14.276 total execution time for 12 files from generated_examples/decoding:

Example

Time

Mem (MB)

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

02:20.324

0.0

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

01:25.573

0.0

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

00:31.288

0.0

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

00:24.563

0.0

Decoding with custom frame mappings (custom_frame_mappings.py)

00:23.413

0.0

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

00:05.056

0.0

Decoding a video with VideoDecoder (basic_example.py)

00:02.112

0.0

Decoding audio streams with AudioDecoder (audio_decoding.py)

00:00.967

0.0

Decoding HDR videos (hdr_decoding.py)

00:00.434

0.0

How to sample video clips (sampling.py)

00:00.413

0.0

Decoding images (image_decoding.py)

00:00.132

0.0

TorchCodec Performance Tips and Best Practices (performance_tips.py)

00:00.000

0.0