Skip to content

Add av and Pillow to core dependencies for Video Input#39

Open
adsahu-nv wants to merge 1 commit into
mainfrom
fix/video-input-deps
Open

Add av and Pillow to core dependencies for Video Input#39
adsahu-nv wants to merge 1 commit into
mainfrom
fix/video-input-deps

Conversation

@adsahu-nv

Copy link
Copy Markdown
Contributor

Video Input encodes camera frames to MP4 via PyAV+Pillow (see backends/llm/openai.py:_has_video_encode). Without these the UI shows 'PyAV and PIL are not installed' and falls back to N-Image.

requirements.txt already lists them, but pip install -e . only reads pyproject.toml, so users who follow the pyproject path silently lose Video Input. Pillow wasn't declared in pyproject.toml at all, and av was only in the webrtc-camera extra (which also pulls aiortc+opencv).

Video Input encodes camera frames to MP4 via PyAV+Pillow (see
backends/llm/openai.py:_has_video_encode). Without these the UI shows
'PyAV and PIL are not installed' and falls back to N-Image.

requirements.txt already lists them, but pip install -e . only reads
pyproject.toml, so users who follow the pyproject path silently lose
Video Input. Pillow wasn't declared in pyproject.toml at all, and av
was only in the webrtc-camera extra (which also pulls aiortc+opencv).

Moves av to core, adds Pillow to core, drops av from webrtc-camera
(aiortc and opencv stay there as WebRTC-specific).

Signed-off-by: Aditya Sahu <adsahu@nvidia.com>
@adsahu-nv adsahu-nv requested a review from tokk-nv May 12, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant