You drag an MP4 into Gemini and get back File type not supported, Upload failed, or worst of all, a silent rejection where the file just doesn’t appear in the chat. Gemini can absolutely process video — but the rules changed in 2026, and most stale advice still says “100MB max.” That’s wrong now.
Fastest fix: the Gemini consumer app (gemini.google.com and the mobile app) now accepts videos up to 2 GB, so size is rarely the problem. The real cap is length: 5 minutes total on the free tier, 1 hour on Google AI Pro or AI Ultra (verified against the official Gemini Apps Help page, June 2026). If your clip is short and still rejected, it’s almost always an unsupported codec (HEVC / H.265) or a mislabeled file. Re-encode to H.264 MP4 and it goes through. For anything longer than your plan’s limit, switch to Google AI Studio or the Gemini API.
Run through the buckets below to find yours.
Which bucket are you in
| Symptom | Most likely cause | Jump to |
|---|---|---|
| Clip is over 5 min (free) or over 1 hr (paid) | Length cap, not size | Step 3 |
| Short clip, plays in QuickTime, Gemini rejects | HEVC / H.265 / VP9 / ProRes codec | Step 2 |
File type not supported on a .mp4 | Mislabeled file (audio-only or odd container) | Cause 4 |
| Progress bar hits 100%, then errors | Over 2 GB, or transient server error | Step 4 |
| ”Upgrade to upload video” | Region or plan gating | Step 6 |
| Need hours of footage analyzed | Wrong surface — use AI Studio or API | Step 1 and Step 5 |
Common causes
By frequency, as of June 2026:
1. Video longer than your plan allows
This is the most common rejection now that file-size limits are generous. The Gemini app caps total video length at 5 minutes on the free tier, extended to 1 hour on Google AI Pro or AI Ultra. A 1080p 12-minute clip is well under 2 GB but still bounces on the free tier purely on length.
How to judge: short clips upload fine, longer ones fail; the file is small but still rejected.
2. Codec is HEVC / H.265 / VP9 / ProRes
Phone cameras default to HEVC (H.265) since iOS 11 and Android 12. Gemini ingests H.264 reliably; HEVC is hit-or-miss and often the cause of a File type not supported or a silent drop. ProRes from screen recorders and VP9 from some web tools behave the same way. The container (.mp4, .mov) doesn’t matter — the video codec inside it does.
For reference, the formats Gemini officially accepts (per the Gemini API video docs, June 2026) are MP4, MPEG, MOV (QuickTime), AVI, FLV, MPG, WebM, WMV, and 3GP. But “accepted container” is not the same as “accepted codec” — an HEVC stream inside an .mp4 can still fail.
How to judge: the file plays fine in QuickTime but Gemini rejects it. Check the codec: on Mac right-click the file → Get Info (look for “HEVC” vs “H.264”), on Windows use MediaInfo, or run ffprobe yourfile.mp4 and read the codec_name line.
3. File too large (over 2 GB)
The hard size ceiling is 2 GB per video in both the consumer app and Google AI Studio. Other file types (PDF, images, etc.) are capped at 100 MB. A raw 4K screen recording can clear 2 GB quickly.
How to judge: error says the file is too large, or the upload progress bar reaches 100% then errors out.
4. The file extension lies
A file saved as .mp4 that’s actually audio-only, or a .mov that’s really an MJPEG frame sequence, gets parsed and then rejected. Renaming a .webm to .mp4 does not convert it — the bytes inside are unchanged.
How to judge: try a known-good MP4 straight off a phone. If that uploads, your original file is mislabeled or has a non-standard codec.
5. Wrong Gemini surface for the job
Three surfaces, different limits:
| Surface | Max size | Max length | Notes |
|---|---|---|---|
| gemini.google.com (app) | 2 GB/video | 5 min free, 1 hr on AI Pro/Ultra | Up to 10 files per prompt |
| aistudio.google.com (AI Studio) | 2 GB/video | up to 1 hr (default res) | Free, broader for testing |
| Gemini API (Files API) | 2 GB/file (free), 20 GB project storage (paid) | up to 1 hr default res / 3 hr low res | Files held server-side 48 hrs |
The model itself (Gemini 3.1 Pro, 1M-token context) can reason over up to 1 hour of video at default media resolution, or up to 3 hours at low resolution — but you only reach those limits through AI Studio or the API, not the consumer app’s 5-minute free cap.
How to judge: the same file fails in the app but works in AI Studio.
6. Free tier or region blocks video
In some markets and managed Workspace accounts, video upload is gated to Google AI Pro / Ultra or disabled by an admin. You’ll see a prompt like Upgrade to upload video or nothing at all.
Shortest path to fix
Step 1: Pick the right surface
For anything beyond a quick 5-minute clip, go to aistudio.google.com:
aistudio.google.com
→ Pick "Gemini 3.1 Pro" in the model dropdown
→ Drag the video into the prompt area
AI Studio is free, accepts the same 2 GB / 1-hour limits without the consumer app’s 5-minute free cap, and is the right place for transcription, summarization, and long-video analysis.
Step 2: Re-encode to H.264 if codec is the issue
This is the single highest-yield fix for a short clip that gets File type not supported. Convert to H.264 baseline, yuv420p color, AAC audio:
ffmpeg -i input.mov -c:v libx264 -profile:v baseline -level 3.0 \
-pix_fmt yuv420p -c:a aac -b:a 128k output.mp4
This produces a file every Gemini surface accepts, and the output is usually smaller than the HEVC original.
To stop the problem at the source on your phone:
- iPhone: Settings → Camera → Formats → Most Compatible (records H.264 going forward)
- Android: Camera app → Settings → Video → choose H.264 / AVC over H.265 / HEVC
Step 3: Trim or move long videos
If the clip is over your plan’s length cap (5 min free, 1 hr paid), trim to the relevant section — fast and lossless, no re-encode:
ffmpeg -i input.mp4 -ss 00:02:00 -to 00:05:30 -c copy clip.mp4
If you genuinely need the whole thing analyzed, don’t trim — move to AI Studio (Step 1) or the API (Step 5) instead.
Step 4: Shrink an oversized file
If you’re over the 2 GB ceiling, drop resolution and bump compression. CRF 28 at 720p puts most clips well under 2 GB with little visible loss:
ffmpeg -i input.mp4 -c:v libx264 -crf 28 -preset slow \
-vf "scale=-2:720" -c:a aac -b:a 96k output.mp4
Step 5: For very long video — use the Files API
To analyze something near or beyond the 1-hour mark, the Gemini API’s Files API is the supported path. It holds the upload server-side (for 48 hours) and feeds it to the model as context:
from google import genai
client = genai.Client(api_key="YOUR_API_KEY")
video_file = client.files.upload(file="long-video.mp4")
response = client.models.generate_content(
model="gemini-3.1-pro",
contents=[video_file, "Summarize this video by chapter."],
)
print(response.text)
For footage longer than ~1 hour, request low media resolution in your config so the model can span up to 3 hours within its 1M-token context.
Step 6: If the app blocks video on your plan
If you see Upgrade to upload video or the video button is missing entirely:
- Free tier in your region may not include video — use AI Studio instead (free for video within its limits), or upgrade to Google AI Pro.
- On a Workspace account, the admin may have disabled file uploads. Confirm with IT before relying on it.
How to confirm it’s fixed
- Re-upload the converted file. A good upload shows a thumbnail or filename chip in the chat within a few seconds — no error toast.
- Ask a content-specific question (“What happens at the 30-second mark?”). A correct, specific answer confirms the model actually ingested the video, not just the filename.
- If a clip still rejects silently, upload a known-good test clip (any fresh iPhone recording set to Most Compatible). If that works, the issue is the original file; if it doesn’t, it’s your account, plan, or region.
Prevention
- Set your phone to record in “Most Compatible” / H.264 if you regularly send video to Gemini.
- For any clip over 5 minutes, default to AI Studio — the consumer free tier will reject it on length.
- Keep two FFmpeg one-liners handy: one to convert codec (Step 2), one to shrink size (Step 4).
- Workspace users: confirm with IT that video uploads aren’t disabled org-wide before depending on the feature.
FAQ
Why does my small MP4 still get rejected? Size is rarely the issue now — the app accepts up to 2 GB. A small file that bounces is almost always HEVC / H.265 codec or a mislabeled container. Re-encode to H.264 (Step 2).
What’s the actual video length limit in the Gemini app? As of June 2026: 5 minutes total on the free tier, extended to 1 hour with Google AI Pro or AI Ultra. AI Studio and the API also support up to 1 hour at default resolution (3 hours at low resolution).
Does Gemini support HEVC / H.265?
Unreliably. H.264 is the safe choice. An .mp4 container with an HEVC stream inside still fails often, so convert the codec, not just the file extension.
Why does the same file work in AI Studio but not the app? The consumer app’s free tier caps video at 5 minutes; AI Studio doesn’t apply that free-tier length cap. For longer or larger clips, AI Studio (or the API) is the right surface.
How long does the API hold my uploaded video? Files uploaded via the Files API are stored server-side for 48 hours, then auto-deleted. Re-upload if you need it after that.
Related
- Gemini file upload issue
- Gemini context too short
- Gemini large context 1M truncated
- Gemini quota exceeded
- Gemini doc summary weak
- Gemini pdf citation missing
Tags: #Gemini #Troubleshooting #video