Skip to content

Audio/Video understanding #1556

Closed
Closed

Description

@dtinth

Describe the bug

> transcribe @VO.mp3

✦ I am sorry, but I cannot understand the content of the audio file you sent. If you can provide a
  transcript or a summary of the audio, I would be happy to help you with it.

Client information

╭────────────────────────────────────────────────────────────────────╮
│                                                                    │
│ About Gemini CLI                                                   │
│                                                                    │
│ CLI Version            0.1.1                                       │
│ Git Commit             852210e1 (local modifications)              │
│ Model                  gemini-2.5-pro                              │
│ Sandbox                no sandbox                                  │
│ OS                     darwin                                      │
│                                                                    │
╰────────────────────────────────────────────────────────────────────╯

Additional context
The README mentions Gemini's multimodal capabilities. When using Gemini API, it supports audio/video input, but when using Gemini CLI, it refuses. I asked Gemini to diagnose itself, here's what it has to say:

✦ From my perspective as the model operating within the Gemini CLI, my core intelligence is indeed multi-modal and capable of processing various data types, including audio.

However, I am dependent on the tools provided to me within this specific command-line environment to interact with your local files. The tool I use for accessing file content, read_file, does not currently support processing audio formats like .mp3.

When you referenced @VO.mp3, the read_file tool attempted to access it and returned the message: "Cannot display content of binary file". I received only that error message, not the audio data itself. Therefore, the limitation is not in my analytical capability but in the data ingestion mechanism of the tools available in my current environment.

Activity

  1. allenhutchison commented on Jun 25, 2025

    @allenhutchison
    Contributor

    Right now, read_file supports text, images (PNG, JPG, GIF, WEBP, SVG, BMP), and PDF files.

  2. Gable-github commented on Jun 25, 2025

    @Gable-github

    hi, I'm curious about the future plans for Gemini CLI, particularly around expanding its multimodal capabilities. Is the plan to increase support for additional filetypes incrementally, adding them by PRs one by one?

    I’d love to contribute to the project, maybe by helping implement support for a new filetype or a similar feature @allenhutchison

  3. fhinkel commented on Jun 25, 2025

    @fhinkel
    Contributor
  4. Gable-github commented on Jun 25, 2025

    @Gable-github

    @fhinkel i think that is a great workaround. but correct me if im wrong, the video is just gemini doing 2 web fetches:

    1. to go to the youtube video and read the description which contains the linked github repo
    2. to go to the found github repo and scan the directory

    but there's no audio processing it seems

  5. added
    status/need-triageIssues that need to be triaged by the triage automation.
    and removed on Jun 25, 2025
  6. markmcd commented on Jun 26, 2025

    @markmcd
    Member

    @Gable-github is correct, that example does not actually use youtube, and only works if the content is available elsewhere on the internet. This FR is for integrated support.

  7. added
    priority/p3Backlog - a good idea but not currently a priority.
    and removed
    status/need-triageIssues that need to be triaged by the triage automation.
    on Jun 27, 2025
  8. jacob314 commented on Jun 27, 2025

    @jacob314
    Contributor

    This might be a good first issue. when I added this functionality I fairly arbitrarily restricted the formats to image and pdf. You should likely be able to extend this by adding support to the detectFileType method in fileUtils.ts and then the appropriate support in read-file.ts and then update the uses of detectFileType to handle video and audio file types. In particular look at processSingleFileContent in fileUtils.ts and update that appropriately for your file types likely just matching what happens for 'image' and 'pdf'

  9. Gable-github commented on Jun 28, 2025

    @Gable-github

    I would like to work on this issue. could someone with permissions please assign it to me, or should I go ahead and start a draft PR (seems to be the case for the other issues)? thanks!

  10. ShubhamSachdeva311205 commented on Jun 29, 2025

    @ShubhamSachdeva311205

    Hey Gabe:)
    I was actually hoping to work on this issue too. Totally happy to collaborate if you're open to that, or if you’ve already started something, I’d love to follow along and help however I can. Let me know what works best!

  11. m-bain commented on Jul 6, 2025

    @m-bain
    Contributor

    Need to update tool documentation, currently gemini-cli thinks it can't read videos
    #3380

  12. lukehutch commented on Feb 13, 2026

    @lukehutch

    I would also love to see Gemini CLI be able to support voice input directly (type /speak, and the mic device is opened, so that you can speak into the console).

    I'm also using Gemini CLI as a backend (as an agent) in a larger system, and I need voice input in that system. It would be awesome if there were some way (via a commandline call or a Gemini CLI API call of some sort) to have Gemini CLI serve as a "voice server" for voice recognition from another process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p3Backlog - a good idea but not currently a priority.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions