FreeBSD Ports

multimedia/py-torchcodec 0.17.0

PyTorch media decoding and encoding

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9085186afa
License
BSD3CLAUSE
Categories
multimedia, python
Package size
677.4 KiB, 3444.5 KiB installed

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.

Install

As a binary package — by origin, or by package name:

pkg install multimedia/py-torchcodec
pkg install py312-torchcodec

From the ports tree:

cd /usr/ports/multimedia/py-torchcodec/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-torchcodec>0:multimedia/py-torchcodec

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.16.00.17.0---
FreeBSD:14:quarterly0.16.00.16.0n/a--
FreeBSD:15:latest0.17.00.17.0n/a--
FreeBSD:15:quarterly0.16.00.16.0n/an/an/a
FreeBSD:16:latest-0.17.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Library 7

Runtime 2

Test 2

The full lists below include those, and their dependencies in turn.

All build dependencies 252

The first 100 are listed.

All run dependencies 248

The first 100 are listed.

Configuration

No options to configure.

USES
cmake:indirect compiler:c++17-lang jpeg localbase pkgconfig python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
meta-pytorch-torchcodec-v0.17.0_GH0.tar.gz1.8204132e+07095b45702643875516d79c20005bdd05fb998368b4e4cd63e97e01e133c8a34d

Commit history 3

DateCommitCreditsLog message
9085186afa Yuri Victorovich multimedia/py-torchcodec: update 0.16.0 → 0.17.0
aef124eb6e Yuri Victorovich multimedia/py-torchcodec: update 0.13.0 → 0.16.0
PR: 298409
381c78bb2d Daniel Engberg multimedia/py-torchcodec: Mark BROKEN, fails to build with FFmpeg 9
PR: 297355, 297385