Repository navigation
[Feature]: Native MP4 video understanding for Antigravity ACP (not file-path fallback) #18043
Replies: 1 comment
|
Adding measured evidence for the open question in this discussion: the official Antigravity ACP 1.3.0 runtime can deliver a local video to Gemini through a I found this discussion through the converted issue #17066, so I am adding the evidence here rather than opening a duplicate. I understand native video is currently a documented limitation, not an established regression. Environment and scope
Small-video positive/negative controlThe synthetic sample was an 8-second, 47,015-byte MP4 with two random on-screen codes, blue then red backgrounds, and a spoken sentence. The question asked for visible text, colors, speech, and duration; it did not contain the answers or permit tools. With a text block containing only the saved path, the model reported that both video and audio were unavailable. With the same question and this content block, it returned the correct two codes, colors, spoken sentence, and 8-second duration: {
"type": "resource_link",
"uri": "file:///tmp/video-probe/sample.mp4",
"name": "sample.mp4",
"mimeType": "video/mp4",
"size": 47015
}The path above is a sanitized example; the file must exist on the machine running the ACP agent. The observed response was: {
"visible_text_in_order": ["40C05E", "749605"],
"background_colors_in_order": ["blue", "red"],
"spoken_sentence": "The amber turtle carries 24 silver keys.",
"duration_seconds": 8,
"can_see": true,
"can_hear": true
}To repeat the control: initialize the ACP connection, authenticate normally, create a fresh session with no MCP servers, select the model with Other routes tested
Size handling needs an aggregate budgetThese are observations, not an official maximum. To isolate byte size from visual complexity, I added valid MP4
This supports checking the aggregate media payload, rather than assuming that splitting a file into several attachments within one prompt bypasses the problem. It does not establish a universal cutoff across codecs, durations, models or other context. One initial large-file attempt failed during T3-side location and integration implicationsIn The experiments indicate a usable native-video route in the existing runtime. If maintainers choose to support it, the relevant considerations are preserving a usable local extension/URI, checking aggregate size, and reporting an actionable error rather than silently leaving the video as path text. A new public HTTP upload service or frame-extraction tool is not required for the successful local-file path we tested. There were 19 cases plus one setup retry in this round. I have not implemented a T3 patch, run a patched desktop/mobile end-to-end test, or tested Windows paths. Delivery success also does not guarantee semantic accuracy: one isolated silent-clip response invented speech, while the same clip was correctly identified as silent in another control. That is a separate model-quality observation, not evidence of a T3 transport fix. Could the measured |
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/server/ Antigravity ACP provider adapter;apps/webandapps/mobileattachment composer where applicable.Problem or use case
I use T3 Code with the Antigravity ACP provider and a Google AI Pro account. I want to attach an MP4 recording of a phone/app UI workflow and have a video-capable Gemini model understand the original video: the sequence of touches, screen transitions, timing, and (when relevant) audio.
Uploading an MP4 as a file is not the same as delivering it to the model as native video input. Passing only the on-disk path requires the agent to discover and process the file via tools (e.g. FFmpeg frame extraction), which can lose temporal or audio information and does not use the model's native video interface.
Current behavior (based on the source)
The Antigravity ACP adapter currently passes a file-path reference in the prompt for non-image attachments rather than forwarding MP4 as native video content:
AcpAdapterV2.ts— prompt construction builds native image blocks for image attachments.AttachmentPrompt.tsappends the attachment's saved path to the prompt.AntigravityAcpSupport.tsdistinguishes native image/audio/PDF/text attachments from path-only files; video MIME types such asvideo/mp4fall into the path-only category.This issue is specifically about native model video understanding, not uploading files, embedding a video player, or converting video to a set of screenshots.
Expected behavior
For an Antigravity/Gemini model and agent runtime that expose native video input:
Proposed approach
resource_linkmechanism that actually results in model-side video decoding (rather than merely providing a path).Why this matters
T3 Code already integrates Antigravity and supports general file attachments. Native video understanding would make screen recordings, UI testing, bug reproduction, and time-dependent interactions much easier to analyze accurately.
Related but distinct
All reactions