Repository navigation
Descrever vídeos por um quadro e descrever status de foto e vídeo - #476
Merged
Merged
Conversation
…uses A video is now reduced locally to one still frame (the sound is never read or sent) and described like a photo, by every provider that takes pictures. The Describe button and Ctrl+Shift+I also work in the media viewer, and photo and video statuses can be described from the Status tab, in the inline player and in the separate viewer. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J9HRf3ZNuFFvSWwtU1oeTz
gabrielhhaber
marked this pull request as ready for review
October 12, 2026 17:12
Catalogue the new Ctrl+Shift+I bindings of the Status tab and the media viewer. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J9HRf3ZNuFFvSWwtU1oeTz
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J9HRf3ZNuFFvSWwtU1oeTz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Gabriel · project thread
Before: a video was sent whole (with its sound) to Gemini only; statuses and a video opened in the separate media viewer had no Describe option.
After: a video is reduced locally to one still frame (only the video stream is decoded, the sound is never read or sent) and described like a photo by any provider that takes pictures. The Describe button and Ctrl+Shift+I now also exist in the media viewer dialog (right after Save as), and photo and video statuses (Alt+5) can be described from the inline player and from the separate viewer.
What it does:
core/ai_media/video_frame.pytakes a frame about a second in with PyAV (display rotation applied),prepare_media("video")turns it into an image payload, andproviders.build_requestrefuses a raw video.ui/ai_media_launch.pyandstatus_tab/status_ai.pyopen the existing result window for statuses;MediaViewerDialoggets optional describe callbacks.How: the consent text for videos now says only one picture goes, without sound (new string
ai_video_frame_notice, andai_metadata_noticeno longer mentions videos), translated in every locale; changelog entry added to the unreleased 2.1.0.0 in every locale;docs/reference/ai-media.mdupdated. Tests:test_ai_media_video_frame.py,test_ai_media_status_and_viewer.pyand the adjusted existing AI media tests. wx-dependent tests could not run in the authoring environment (Linux), so CI is the first run of those.🤖 Generated with Claude Code
https://claude.ai/code/session_01J9HRf3ZNuFFvSWwtU1oeTz
Generated by Claude Code