Rate this Page
★ ★ ★ ★ ★

Computation times#

06:15.600 total execution time for 21 files from all galleries:

Example

Time

Mem (MB)

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

02:20.324

0.0

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

01:25.573

0.0

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

00:31.288

0.0

Multi-threaded decoding pipelines (../../examples/low_level/pipelines.py)

00:26.509

0.0

Encoding video with the Encoder (../../examples/encoding/video_encoding.py)

00:25.596

0.0

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

00:24.563

0.0

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

00:23.413

0.0

Encoding audio and video streams with the Encoder (../../examples/encoding/multi_stream_encoding.py)

00:05.761

0.0

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

00:05.056

0.0

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

00:02.112

0.0

Build your own decoding pipeline (../../examples/low_level/basics.py)

00:01.544

0.0

Raw frames and raw audio samples (../../examples/low_level/raw_data.py)

00:01.240

0.0

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

00:00.967

0.0

Low-level APIs and CUDA streams synchronization (../../examples/low_level/cuda_streams.py)

00:00.450

0.0

Decoding HDR videos (../../examples/decoding/hdr_decoding.py)

00:00.434

0.0

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

00:00.413

0.0

Encoding images (../../examples/encoding/image_encoding.py)

00:00.181

0.0

Decoding images (../../examples/decoding/image_decoding.py)

00:00.132

0.0

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

00:00.029

0.0

Migrating from TorchVision to TorchCodec (../../examples/migration/torchvision_migration.py)

00:00.014

0.0

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

00:00.000

0.0