multimedia/py-torchcodec 0.13.0 MidnightBSD
PyTorch media decoding and encoding
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
dee1e47e52- License
- bsd3
- Categories
- multimedia, python
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | multimedia/py-torchcodec | 0.13.0 |
| FreeBSD | multimedia/py-torchcodec | 0.17.0 |
| HardenedBSD | multimedia/py-torchcodec | 0.16.0 |
| GhostBSD | multimedia/py-torchcodec | 0.16.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}torchcodec
From mports:
cd /usr/mports/multimedia/py-torchcodec && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}torchcodec>0:multimedia/py-torchcodec
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}pytorch>0: ai/py-pytorch${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheelpybind11>0: devel/pybind11
Library 3
libabsl_base.so: devel/abseillibavformat.so: multimedia/ffmpeglibprotobuf.so: devel/protobuf
Runtime 2
${PYTHON_PKGNAMEPREFIX}pytorch>0: ai/py-pytorch${PYTHON_PKGNAMEPREFIX}torchvision>0: ai/py-torchvision
Test 2
${PYTHON_PKGNAMEPREFIX}numpy>=1.16: math/py-numpy${PYTHON_PKGNAMEPREFIX}pillow>=0: graphics/py-pillow
Build dependencies 6
Run dependencies 5
Required by 2
Configuration
No options to configure.
- USES
- cmake:indirect compiler:c++17-lang python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| meta-pytorch-torchcodec-v0.13.0_GH0.tar.gz | 1.4295989e+07 | acc955dbd7b80dcb6268fd3ff728477af0ba7fd79b4251c1ef685fdd5e2229e4 |
Commit history 2
| Date | Commit | Credits | Log message |
|---|---|---|---|
dee1e47e52 |
Lucas Holt | ai: add new category and move AI/ML ports from misc Create the ai category (Artificial intelligence and machine learning)
and relocate 42 AI/ML ports from misc into it.
- Register ai in Mk/bsd.mport.mk VALID_CATEGORIES and the top-level Makefile
- Add ai/Makefile; drop the moved entries from misc/Makefile (also removes
the stale linux-claude SUBDIR left over from the claude-code rename)
- git mv 42 ports and set their primary CATEGORIES to ai
- Rewrite misc/<port> dependency origins to ai/<port> in external dependents
(devel/py-beartype, math/py-faiss, multimedia/py-torchcodec,
textproc/py-tokenizers) and among the moved ports themselves
- Record the origin migrations in MOVED
Ports moved: chatgpt-shell-cli, claude-code, claude-code-legacy, clawhub,
codex, gemini-cli, github-copilot-cli, grok-cli, lean-ctx, llama-cpp, ollama,
… |
|
8af06753b2 |
Lucas Holt | databases/rubygem-flipper-active_record-rails70: update to 1.3.6 Match the flipper-gitlab provider series so fake-qa can satisfy the gemspec flipper dependency.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |