HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
meta-pytorch
torchcodec
Python2026–2026
meta-pytorch / torchcodec

torchcodec

Media decoding and encoding for PyTorch: videos, images, and audio, on CPU and GPU.

2Distinct people
4Mentions
0Explicit recommenders
1.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Media decoding and encoding for PyTorch: videos, images, and audio, on CPU and GPU.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 6-hour interval4 dated mentions

Observed mentions: 2026-06-10 14:08:36 UTC to 2026-06-17 19:33:29 UTC.

0122026-06-10 12:00:00 UTC to 2026-06-10 18:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJun 10, 12:002026-06-10 18:00:00 UTC to 2026-06-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-11 00:00:00 UTC to 2026-06-11 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-11 06:00:00 UTC to 2026-06-11 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-11 12:00:00 UTC to 2026-06-11 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-11 18:00:00 UTC to 2026-06-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-12 00:00:00 UTC to 2026-06-12 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-12 06:00:00 UTC to 2026-06-12 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-12 12:00:00 UTC to 2026-06-12 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-12 18:00:00 UTC to 2026-06-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-13 00:00:00 UTC to 2026-06-13 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-13 06:00:00 UTC to 2026-06-13 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-13 12:00:00 UTC to 2026-06-13 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-13 18:00:00 UTC to 2026-06-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-14 00:00:00 UTC to 2026-06-14 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJun 14, 00:002026-06-14 06:00:00 UTC to 2026-06-14 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-14 12:00:00 UTC to 2026-06-14 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-14 18:00:00 UTC to 2026-06-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-15 00:00:00 UTC to 2026-06-15 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-15 06:00:00 UTC to 2026-06-15 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-15 12:00:00 UTC to 2026-06-15 18:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-06-15 18:00:00 UTC to 2026-06-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-16 00:00:00 UTC to 2026-06-16 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-16 06:00:00 UTC to 2026-06-16 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-16 12:00:00 UTC to 2026-06-16 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-16 18:00:00 UTC to 2026-06-17 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-17 00:00:00 UTC to 2026-06-17 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-17 06:00:00 UTC to 2026-06-17 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-17 12:00:00 UTC to 2026-06-17 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-17 18:00:00 UTC to 2026-06-18 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 17, 18:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jun 10, 12:002026-06-10 12:00:00 UTC2026-06-10 18:00:00 UTC110
Jun 10, 18:002026-06-10 18:00:00 UTC2026-06-11 00:00:00 UTC000
Jun 11, 00:002026-06-11 00:00:00 UTC2026-06-11 06:00:00 UTC000
Jun 11, 06:002026-06-11 06:00:00 UTC2026-06-11 12:00:00 UTC000
Jun 11, 12:002026-06-11 12:00:00 UTC2026-06-11 18:00:00 UTC000
Jun 11, 18:002026-06-11 18:00:00 UTC2026-06-12 00:00:00 UTC000
Jun 12, 00:002026-06-12 00:00:00 UTC2026-06-12 06:00:00 UTC000
Jun 12, 06:002026-06-12 06:00:00 UTC2026-06-12 12:00:00 UTC000
Jun 12, 12:002026-06-12 12:00:00 UTC2026-06-12 18:00:00 UTC000
Jun 12, 18:002026-06-12 18:00:00 UTC2026-06-13 00:00:00 UTC000
Jun 13, 00:002026-06-13 00:00:00 UTC2026-06-13 06:00:00 UTC000
Jun 13, 06:002026-06-13 06:00:00 UTC2026-06-13 12:00:00 UTC000
Jun 13, 12:002026-06-13 12:00:00 UTC2026-06-13 18:00:00 UTC000
Jun 13, 18:002026-06-13 18:00:00 UTC2026-06-14 00:00:00 UTC000
Jun 14, 00:002026-06-14 00:00:00 UTC2026-06-14 06:00:00 UTC000
Jun 14, 06:002026-06-14 06:00:00 UTC2026-06-14 12:00:00 UTC000
Jun 14, 12:002026-06-14 12:00:00 UTC2026-06-14 18:00:00 UTC000
Jun 14, 18:002026-06-14 18:00:00 UTC2026-06-15 00:00:00 UTC000
Jun 15, 00:002026-06-15 00:00:00 UTC2026-06-15 06:00:00 UTC000
Jun 15, 06:002026-06-15 06:00:00 UTC2026-06-15 12:00:00 UTC000
Jun 15, 12:002026-06-15 12:00:00 UTC2026-06-15 18:00:00 UTC202
Jun 15, 18:002026-06-15 18:00:00 UTC2026-06-16 00:00:00 UTC000
Jun 16, 00:002026-06-16 00:00:00 UTC2026-06-16 06:00:00 UTC000
Jun 16, 06:002026-06-16 06:00:00 UTC2026-06-16 12:00:00 UTC000
Jun 16, 12:002026-06-16 12:00:00 UTC2026-06-16 18:00:00 UTC000
Jun 16, 18:002026-06-16 18:00:00 UTC2026-06-17 00:00:00 UTC000
Jun 17, 00:002026-06-17 00:00:00 UTC2026-06-17 06:00:00 UTC000
Jun 17, 06:002026-06-17 06:00:00 UTC2026-06-17 12:00:00 UTC000
Jun 17, 12:002026-06-17 12:00:00 UTC2026-06-17 18:00:00 UTC000
Jun 17, 18:002026-06-17 18:00:00 UTC2026-06-18 00:00:00 UTC101

What Hacker News says

4 sources
We tend to be conservative with the benchmarks results that we make public, because all benchmarks are wrong and unfair - they depend too much on the machine capabilities, on software versions, and on the actual decoding patterns that are relevant for the user - none of which can be controlled or fairly captured in a benchmark. That being said, we've got some benchmarks here, with a script that users can run on their own: https://github.com/meta-pytorch/torchcodec/pull/1474. Note that TorchCodec relies on FFmpeg libraries, not the FFmpeg binary itself. The new WavDecoder is faster because it bypasses the FFmpeg libraries code, not because it bypasses loading the FFmpeg binary in memory. Regarding static linking: we stick to dynamic linking to honor the L-GPL license of the FFmpeg libraries. TorchCodec is BSD-licensed, and statically linki
Read the rest
ng against the L-GPL FFmpeg libs would not be compliant. Some libraries dynamically link against FFmpeg while still bundling the FFmpeg libraries as .so files in the Python wheel - whether that's still compliant is honestly unclear to me, so we prefer leaving it up for the user to supply their own FFmpeg via pure dynamic linking.
In TorchCodec 0.14: HDR Video Decoding for CPU and CUDA, and Fast Wav Decoder
You can get older version of TorchCodec that work with older version of PyTorch, but it unfortunately will not have the new features (HDR video decoding; fast Wav decoding) in the latest release. See the compatbility matrix: https://github.com/meta-pytorch/torchcodec#compatibility-wit... Up until recently, TorchCodec releases worked with one-and-only-one version of PyTorch. This is because up until recently, PyTorch did not have a stable ABI, and we needed to pin TorchCodec releases to PyTorch releases. But! PyTorch now has an excellent Stable ABI (https://github.com/meta-pytorch/torchcodec#compatibility-wit..., https://www.youtube.com/watch?v=HNdEmnvMvGE&t=1s) and TorchCodec is taking advantage of that since version 0.12.
In TorchCodec 0.14: HDR Video Decoding for CPU and CUDA, and Fast Wav Decoder

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.