sci-ml/torchcodec (bentoo)

Search

Install

Install this package:

emerge -a sci-ml/torchcodec

Package Information

Description:
TorchCodec decodes and encodes video, audio and images straight into PyTorch tensors, using the system FFmpeg (4 through 9). Since torchaudio 2.9 it is the backend behind torchaudio.load() and torchaudio.save(). This build links the system FFmpeg and image libraries instead of the S3-hosted copies upstream's wheels bundle; AVIF stays disabled for that reason, since upstream offers no way to use a system libavif.
Homepage:
https://github.com/meta-pytorch/torchcodec https://pypi.org/project/torchcodec/
License:
BSD gif? ( MIT )

Versions

Version EAPI Keywords Slot
0.17.0 8 ~amd64 ~arm64 0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>lucascs@protonmail.com</email>
		<name>Lucas C.S.</name>
	</maintainer>
	<longdescription lang="en">
		TorchCodec decodes and encodes video, audio and images straight into
		PyTorch tensors, using the system FFmpeg (4 through 9). Since
		torchaudio 2.9 it is the backend behind torchaudio.load() and
		torchaudio.save(). This build links the system FFmpeg and image
		libraries instead of the S3-hosted copies upstream's wheels bundle;
		AVIF stays disabled for that reason, since upstream offers no way to
		use a system libavif.
	</longdescription>
	<use>
		<flag name="cuda">Build the NVIDIA GPU decoders (NVDEC through FFmpeg, nvJPEG)</flag>
		<flag name="gif">Build GIF decoding from the vendored giflib 5.2.2 copy (not <pkg>media-libs/giflib</pkg>; it does not receive that package's security fixes)</flag>
		<flag name="heif">Build HEIC image decoding against <pkg>media-libs/libheif</pkg></flag>
	</use>
	<upstream>
		<bugs-to>https://github.com/meta-pytorch/torchcodec/issues</bugs-to>
		<remote-id type="github">meta-pytorch/torchcodec</remote-id>
		<remote-id type="pypi">torchcodec</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p sci-ml/torchcodec | euse -E <flag> -p sci-ml/torchcodec | euse -D <flag> -p sci-ml/torchcodec

Flag Description 0.17.0
cuda Build the NVIDIA GPU decoders (NVDEC through FFmpeg, nvJPEG) ✓
gif Build GIF decoding from the vendored giflib 5.2.2 copy (not <pkg>media-libs/giflib</pkg>; it does not receive that package's security fixes) ⊕
heif Build HEIC image decoding against <pkg>media-libs/libheif</pkg> ✓
jpeg Enable jpeg image support for the VNC console server ⚠️ ⊕
png Enable png image support for the VNC console server ⚠️ ⊕
webp ⚠️ ⊕

Manifest

Type File Size Versions
DIST torchcodec-0.17.0.gh.tar.gz 18204132 bytes 0.17.0
Unmatched Entries
Type File Size