~/talk

TorchCodec: The Media Decoding Library for PyTorch

Talkat PyTorch Day France 2025 · on Wednesday, 2025-05-07· [webassembly]
links:none on file
slides:none on file

A PyTorch library that decodes video and audio into tensors, available via pip install torchcodec, wraps FFmpeg to provide CPU and CUDA decoding and returns pure uint8 tensors plus metadata (pts, duration). It offers index and time-based APIs, per-frame and batched frame objects, clip samplers, and file-like or URL streaming that downloads only needed chunks. A lightweight scan builds keyframe indexes but can be skipped with an approximate mode for much faster startup; audio decoding is already supported and encoders are planned.

AI-written summary · about

  1. 0:00TorchCodec intro
  2. 1:46Core features and goals
  3. 3:12Metadata handling
  4. 5:59Index and time APIs
  5. 7:23Clip sampling
  6. 8:46Performance tips
  7. 10:12Audio decoding
  8. 10:55Migration from TorchVision
  9. 11:37Roadmap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.