From f408ca7b751d1e0e5950dbada4f7de37e89cd38e Mon Sep 17 00:00:00 2001 From: Janick Martinez Esturo Date: Mon, 18 May 2026 12:27:44 +0200 Subject: [PATCH] docs(deps): add licensing notes for imageio-ffmpeg dependency The PyPI wheels for imageio-ffmpeg bundle a GPL-licensed ffmpeg binary. Document the redistribution concern and note PyNvVideoCodec (MIT) as a license-appropriate alternative for H.264 decode on NVIDIA GPUs. --- deps/pip/requirements_pai.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deps/pip/requirements_pai.in b/deps/pip/requirements_pai.in index d59a706c..0f046fbf 100644 --- a/deps/pip/requirements_pai.in +++ b/deps/pip/requirements_pai.in @@ -16,6 +16,14 @@ cbor2>=5.9.0; python_version>="3.9" cbor2; python_version<"3.9" imageio>=2.35.0 +# imageio-ffmpeg: BSD-2-Clause Python wrapper around ffmpeg. +# NOTE ON REDISTRIBUTION: The PyPI wheels bundle a GPL-licensed ffmpeg binary. +# Anyone shipping containers that include this wheel is redistributing that binary +# and must comply with ffmpeg's GPL (or rebuild with LGPL-only codecs). +# To avoid bundling the binary: pip install --no-binary imageio-ffmpeg imageio-ffmpeg +# and provide system ffmpeg on PATH. +# ALTERNATIVE: For H.264 decode on NVIDIA GPUs, consider PyNvVideoCodec (MIT license, +# pip install PyNvVideoCodec). See https://developer.nvidia.com/pynvvideocodec imageio-ffmpeg>=0.5.0 DracoPy>=2.0.0 remotezip>=0.12.0