notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-torchcodec PyTorch media decoding and encoding
0.10.0 multimedianew! on this many watch lists=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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-01-25 04:15:26
Last Update: 2026-01-25 04:14:32
Commit Hash: 2b4482b
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 py311-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 py311-torchcodec listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-torchcodec
Package flavors (<flavor>: <package>)
  • py311: py311-torchcodec
distinfo:
TIMESTAMP = 1769305124 SHA256 (meta-pytorch-torchcodec-v0.10.0_GH0.tar.gz) = a970d3dd51f65ee12898397e54079bcd19c9d498cddfb661379721cfcc2c36e2 SIZE (meta-pytorch-torchcodec-v0.10.0_GH0.tar.gz) = 11507970

Expand this list (2 items)

Collapse this list.

SHA256 (906a2753082f6591df841331c7713a8c30e1f7f4.patch) = 06985809525b9e44fb401dea8e477fd5c0107058ef3fdd6faac4f516c2da6a13 SIZE (906a2753082f6591df841331c7713a8c30e1f7f4.patch) = 997

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py311-torchcodec
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.10.0---n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest-0.10.0------
FreeBSD:14:quarterly--------
FreeBSD:15:latest-0.10.0n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-0.10.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-pytorch>0 : misc/py-pytorch@py311
  3. py311-wheel>0 : devel/py-wheel@py311
  4. pybind11>0 : devel/pybind11
  5. cmake : devel/cmake-core
  6. python3.11 : lang/python311
  7. py311-build>=0 : devel/py-build@py311
  8. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  2. py311-pytest>=7,1 : devel/py-pytest@py311
  3. python3.11 : lang/python311
Runtime dependencies:
  1. py311-pytorch>0 : misc/py-pytorch@py311
  2. py311-torchvision>0 : misc/py-torchvision@py311
  3. python3.11 : lang/python311
Library dependencies:
  1. libabsl_base.so : devel/abseil
  2. libavformat.so : multimedia/ffmpeg
  3. libprotobuf.so : devel/protobuf
This port is required by:
for Run
  1. audio/py-torchaudio

Configuration Options:
No options to configure
Options name:
multimedia_py-torchcodec
USES:
cmake:indirect compiler:c++17-lang python
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.10.0?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 1