Port details
py-torchcodec PyTorch media decoding and encoding
0.17.0 multimedia Σ =0 0.16.0Version of this port present on the latest quarterly branch. Maintainer: yuri@FreeBSD.org 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. ¦ ¦ ¦ ¦
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> ) # 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): #
Dependencies # NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered. Build dependencies: #
py312-pybind11>0 : devel/py-pybind11@py312 py312-pytorch>0 : misc/py-pytorch@py312 py312-scikit-build-core>0 : devel/py-scikit-build-core@py312 py312-wheel>0 : devel/py-wheel@py312 cmake : devel/cmake-core pkgconf>=1.3.0_1 : devel/pkgconf python3.12 : lang/python312 py312-build>=0 : devel/py-build@py312 py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
py312-numpy>=1.16 : math/py-numpy@py312 py312-pillow>=0 : graphics/py-pillow@py312 py312-pytest>=7,1 : devel/py-pytest@py312 python3.12 : lang/python312
Runtime dependencies: #
py312-pytorch>0 : misc/py-pytorch@py312 py312-torchvision>0 : misc/py-torchvision@py312 python3.12 : lang/python312
Library dependencies: #
libabsl_base.so : devel/abseil libavformat.so : multimedia/ffmpeg libavif.so : graphics/libavif libheif.so : graphics/libheif libpng16.so : graphics/png libprotobuf.so : devel/protobuf libwebp.so : graphics/webp libjpeg.so : graphics/jpeg-turbo
This port is required by: # for Run #
audio/py-torchaudio
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: #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
0.17.0 11 Oct 2026 05:03:38
Yuri Victorovich (yuri)
multimedia/py-torchcodec: update 0.16.0 → 0.17.0
0.16.0 13 Sep 2026 03:06:18
Yuri Victorovich (yuri)
multimedia/py-torchcodec: update 0.13.0 → 0.16.0
PR: 298409
0.13.0 05 Sep 2026 14:16:31
Daniel Engberg (diizzy)
multimedia/py-torchcodec: Mark BROKEN, fails to build with FFmpeg 9
PR: 297355 , 297385
0.13.0 02 Jun 2026 22:51:16
Yuri Victorovich (yuri)
multimedia/py-torchcodec: update 0.12.0 → 0.13.0
0.12.0 17 May 2026 08:52:33
Yuri Victorovich (yuri)
multimedia/py-torchcodec: update 0.11.1 → 0.12.0
0.11.1_1 05 May 2026 19:29:37
Max Brazhnikov (makc)
*/*: bump PORTREVISION after switching to NumPy 2.x
0.11.1 05 May 2026 19:29:37
Max Brazhnikov (makc)
*/*: Switch to NumPy 2.x
PR: 294328
Exp-run: antoine
0.11.1 01 May 2026 04:29:24
Yuri Victorovich (yuri)
multimedia/py-torchcodec: update 0.10.0 → 0.11.1
0.10.0_1 03 Apr 2026 20:52:43
Charlie Li (vishwin)
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
Koichiro Iwao (meta)
*/*: 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
Yuri Victorovich (yuri)
multimedia/py-torchcodec: New port: PyTorch media decoding and encoding