Skip to content

Agents Window: No Audio support in the video preview #343048

Closed

Description

@kieferrm

Version: 1.143.0-insider
Commit: 087f03b
Date: 2026-10-20T10:32:09Z
Electron: 43.7.7
ElectronBuildId: 15743441
Chromium: 150.0.7871.250
Node.js: 24.21.0
V8: 15.0.245.31-electron.0
@github/copilot: 1.0.100-1
@github/copilot-sdk: 1.0.23-preview.5
OS: Darwin arm64 25.6.0

  1. start a new session on a remote agent host (use SSH to ensure you get the VS Code AH)
  2. generate a narrated mp4 video in the session
  3. click the generated video in the chat -> opens to the side in the video preview
    -> no audio plays
    -> When you download the video and play it in QuickTime on the mac there's audio.

Activity

  1. added
    bug
    on Oct 20, 2026
  2. added
    image-preview
    on Oct 21, 2026
  3. lramos15 commented on Oct 21, 2026

    @lramos15
    Member

    Robo (@deepak1556) this looks like it's coming from the Electron build that product builds pull from the internal feed rather than from VS Code. Could you check whether 43.7.7-15743441 (#342837) is missing the proprietary AAC decoder in its bundled ffmpeg?

    I reproduced it locally with a narrated MP4 (H.264 High + AAC-LC, 48 kHz stereo). It's not specific to remote or the Agents window:

    Build Electron Video Audio
    Code OSS from main (upstream Electron) 43.7.7 ✅ ✅
    Insiders 5170ebe9 with a clean profile 43.7.7-15743441 ✅ ❌

    Inside the Insiders video preview webview:

    • canPlayType('audio/mp4; codecs="mp4a.40.2"') returns probably, but webkitAudioDecodedByteCount stays at 0 while the video decodes.
    • An MP3 audio track in the same container decodes fine, so the audio pipeline itself works.
    • An Opus audio track in MP4 also decodes 0 bytes in Insiders. It decodes in the upstream Electron.
    • The arm64 slice of the Insiders libffmpeg.dylib is about 250 KB smaller than upstream's. That would fit an ffmpeg built without proprietary codecs, with H.264 video still playing through VideoToolbox.

    #342837 only changed ms_build_id (15553055 → 15743441), and that is the build in the issue report. I haven't confirmed whether 15553055 decoded AAC.

  4. deepak1556 commented on Oct 22, 2026

    @deepak1556
    Collaborator

    AAC is not in our supported list of codecs, the current list we have approval to ship are https://code.visualstudio.com/updates/v1_71#_ffmpeg-codecs-support. The mp4 container needs to use one of them from this list. Any expansion to this list should go through legal approval process.

  5. lramos15 commented on Oct 22, 2026

    @lramos15
    Member

    I wonder if we can at least detect the codec is unsupported so the user knows that they should open the file in another application

  6. deepak1556 commented on Oct 22, 2026

    @deepak1556
    Collaborator

    The detection part was broken till now, I have fixed it recently and will bring it in upcoming runtime update. You can then use any of the following api to know if a codec or container is supported.

    * Using mimetype - video.canPlayType() / audio.canPlayType()
    * Normal playback with known properties - navigator.mediaCapabilities.decodingInfo({})
    * Media source stream - MediaSource.isTypeSupported()
    * WebCodecs api - videoDecoder.isConfigSupported() / audioDecoder.isConfigSupported()
    
  7. added a commit that references this issue on Nov 6, 2026
    5518e98
  8. added
    unreleased
    on Nov 6, 2026
  9. added this to the 1.146.0 milestone on Nov 6, 2026
  10. added
    insiders-released
    and removed
    unreleased
    on Nov 7, 2026
  11. aiday-mar commented on Nov 9, 2026

    @aiday-mar
    Collaborator

    Works with MP4 with baseline H.264

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

Metadata

Metadata

Labels

bugimage-previewinsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions