Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-torchcodec PyTorch media decoding and encoding
0.17.0 multimedia Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.16.0Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-01-25 04:15:26
Last Update: 2026-10-11 05:03:38
Commit Hash: 9085186
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://github.com/pytorch/torchcodec
Description: #
Hardware-accelerated video and audio decoding for PyTorch. TorchCodec is a library that provides fast and easy-to-use tools for decoding video and audio directly into PyTorch tensors. It uses FFmpeg as a backend and is optimized for performance, with support for hardware acceleration. This makes it ideal for machine learning pipelines that process large amounts of video and audio data.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}torchcodec>0:multimedia/py-torchcodec@${PY_FLAVOR}
To install the port: #
cd /usr/ports/multimedia/py-torchcodec/ && make install clean
To add the package, run one of these commands:
  • pkg install multimedia/py-torchcodec
  • pkg install py312-torchcodec
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-torchcodec listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-torchcodec
Package flavors (<flavor>: <package>) #
  • py312: py312-torchcodec
distinfo: #
TIMESTAMP = 1791664424 SHA256 (meta-pytorch-torchcodec-v0.17.0_GH0.tar.gz) = 095b45702643875516d79c20005bdd05fb998368b4e4cd63e97e01e133c8a34d SIZE (meta-pytorch-torchcodec-v0.17.0_GH0.tar.gz) = 18204132

Packages (timestamps in pop-ups are UTC): #
py312-torchcodec
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.17.00.17.0---
FreeBSD:14:quarterly0.16.00.16.0---
FreeBSD:15:latest0.17.00.17.0n/a-n/a
FreeBSD:15:quarterly0.16.00.16.0n/a-n/a
FreeBSD:16:latest0.17.00.17.0n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-pybind11>0 : devel/py-pybind11@py312
  2. py312-pytorch>0 : misc/py-pytorch@py312
  3. py312-scikit-build-core>0 : devel/py-scikit-build-core@py312
  4. py312-wheel>0 : devel/py-wheel@py312
  5. cmake : devel/cmake-core
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. python3.12 : lang/python312
  8. py312-build>=0 : devel/py-build@py312
  9. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. py312-numpy>=1.16 : math/py-numpy@py312
  2. py312-pillow>=0 : graphics/py-pillow@py312
  3. py312-pytest>=7,1 : devel/py-pytest@py312
  4. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-pytorch>0 : misc/py-pytorch@py312
  2. py312-torchvision>0 : misc/py-torchvision@py312
  3. python3.12 : lang/python312
Library dependencies: #
  1. libabsl_base.so : devel/abseil
  2. libavformat.so : multimedia/ffmpeg
  3. libavif.so : graphics/libavif
  4. libheif.so : graphics/libheif
  5. libpng16.so : graphics/png
  6. libprotobuf.so : devel/protobuf
  7. libwebp.so : graphics/webp
  8. libjpeg.so : graphics/jpeg-turbo
This port is required by: #
for Run #
  1. audio/py-torchaudio
  2. misc/py-datasets

Configuration Options: #
No options to configure
Options name: #
multimedia_py-torchcodec
USES: #
cmake:indirect compiler:c++17-lang jpeg localbase pkgconfig python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/meta-pytorch/torchcodec/tar.gz/v0.17.0?dummy=/
Collapse this list.

Number of commits found: 11 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.17.0
11 Oct 2026 05:03:38
commit hash: 9085186afa4bf894fb92141f5ebed2e8cfe3d4b9commit hash: 9085186afa4bf894fb92141f5ebed2e8cfe3d4b9commit hash: 9085186afa4bf894fb92141f5ebed2e8cfe3d4b9commit hash: 9085186afa4bf894fb92141f5ebed2e8cfe3d4b9 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
multimedia/py-torchcodec: update 0.16.0 → 0.17.0
0.16.0
13 Sep 2026 03:06:18
commit hash: aef124eb6e1205c8327b3c9dae80f4b82f1d0feccommit hash: aef124eb6e1205c8327b3c9dae80f4b82f1d0feccommit hash: aef124eb6e1205c8327b3c9dae80f4b82f1d0feccommit hash: aef124eb6e1205c8327b3c9dae80f4b82f1d0fec files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
multimedia/py-torchcodec: update 0.13.0 → 0.16.0

PR:	298409
0.13.0
05 Sep 2026 14:16:31
commit hash: 381c78bb2d6afed08ab34d22825b50c6455ebd0ecommit hash: 381c78bb2d6afed08ab34d22825b50c6455ebd0ecommit hash: 381c78bb2d6afed08ab34d22825b50c6455ebd0ecommit hash: 381c78bb2d6afed08ab34d22825b50c6455ebd0e files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
multimedia/py-torchcodec: Mark BROKEN, fails to build with FFmpeg 9

PR:		297355, 297385
0.13.0
02 Jun 2026 22:51:16
commit hash: f157f336c57ac1c16ee417a2ed2b6ea93b184e05commit hash: f157f336c57ac1c16ee417a2ed2b6ea93b184e05commit hash: f157f336c57ac1c16ee417a2ed2b6ea93b184e05commit hash: f157f336c57ac1c16ee417a2ed2b6ea93b184e05 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
multimedia/py-torchcodec: update 0.12.0 → 0.13.0
0.12.0
17 May 2026 08:52:33
commit hash: 20bd6a25a306e426ae822e878e30886564f3c2e8commit hash: 20bd6a25a306e426ae822e878e30886564f3c2e8commit hash: 20bd6a25a306e426ae822e878e30886564f3c2e8commit hash: 20bd6a25a306e426ae822e878e30886564f3c2e8 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
multimedia/py-torchcodec: update 0.11.1 → 0.12.0
0.11.1_1
05 May 2026 19:29:37
commit hash: 2bf3834a197ccf8956332378eda8dd7577965246commit hash: 2bf3834a197ccf8956332378eda8dd7577965246commit hash: 2bf3834a197ccf8956332378eda8dd7577965246commit hash: 2bf3834a197ccf8956332378eda8dd7577965246 files touched by this commit
Max Brazhnikov (makc) search for other commits by this committer
*/*: bump PORTREVISION after switching to NumPy 2.x
0.11.1
05 May 2026 19:29:37
commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6 files touched by this commit Sanity Test Failure
Max Brazhnikov (makc) search for other commits by this committer
*/*: Switch to NumPy 2.x

PR:		294328
Exp-run:	antoine
0.11.1
01 May 2026 04:29:24
commit hash: 4801e14c09ff9537ced5aa1da2db4012d2961384commit hash: 4801e14c09ff9537ced5aa1da2db4012d2961384commit hash: 4801e14c09ff9537ced5aa1da2db4012d2961384commit hash: 4801e14c09ff9537ced5aa1da2db4012d2961384 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
multimedia/py-torchcodec: update 0.10.0 → 0.11.1
0.10.0_1
03 Apr 2026 20:52:43
commit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295a files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python.mk: retire ${PYNUMPY}

With both math/py-numpy (2) and math/py-numpy1, the variable stopped
making sense. Also remove the upper version bound.
0.10.0_1
17 Mar 2026 05:48:21
commit hash: ff3b1152a6891b80d1d907eb07ece25d1bc30805commit hash: ff3b1152a6891b80d1d907eb07ece25d1bc30805commit hash: ff3b1152a6891b80d1d907eb07ece25d1bc30805commit hash: ff3b1152a6891b80d1d907eb07ece25d1bc30805 files touched by this commit
Koichiro Iwao (meta) search for other commits by this committer
*/*: Bump all devel/protobuf consumers

They must always be bumped after devel/protobuf because it include
following files whose filenames contain %%PORTVERSION%%. Consequently,
the shlib will always change when PORTVERSION is increased.

lib/libprotobuf-lite.so.%%PORTVERSION%%.0
lib/libprotobuf.so.%%PORTVERSION%%.0
lib/libprotoc.so.%%PORTVERSION%%.0

Approved by:	portmgr (blanket; fixing consumers)
0.10.0
25 Jan 2026 04:14:32
commit hash: 2b4482bad4429e50a9408b3918c89f07c2115ee5commit hash: 2b4482bad4429e50a9408b3918c89f07c2115ee5commit hash: 2b4482bad4429e50a9408b3918c89f07c2115ee5commit hash: 2b4482bad4429e50a9408b3918c89f07c2115ee5 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
multimedia/py-torchcodec: New port: PyTorch media decoding and encoding

Number of commits found: 11