Skip to content

Setup friction: state the FFmpeg 8 requirement up front, add a doctor/capabilities tool, slim the npm tarball #195

Closed

Description

@TMHSDigital

Why it matters

New users hit setup failures that the docs could have prevented, and the npm install is about three times larger than it needs to be.

Evidence

  1. The FFmpeg 8 requirement is not in the prerequisites.
    • README Quick start (around line 37) says only "ffmpeg on PATH".
    • FFmpeg 8 appears only inside the transcribe row and the WGC notes (around line 240).
    • README around line 184 suggests apt install ffmpeg, which gives 6.x on Ubuntu LTS (no whisper filter).
    • Users on the winget Gyan.FFmpeg.Essentials or older chocolatey builds may lack gfxcapture/whisper and only find out at call time.
  2. There is no runtime capability report. The server does not tell the agent which optional features its ffmpeg supports.
  3. The npm tarball is mostly type declarations and source maps. npm pack --dry-run shows 564 KB packed, 1.59 MB unpacked and 316 files, 232 of them .d.ts/.map. The maps point at src/, which isn't shipped. The package is a CLI bin, not a library.
  4. site.json installSteps omits the cmd /c npx wrapper that some Windows clients need.

Suggested approach

  • Add a Quick start line: "FFmpeg 7+ required; FFmpeg 8+ for transcribe and backend: \"wgc\"", with a winget install Gyan.FFmpeg one-liner.
  • Add a doctor tool (or include it in an existing status tool) that reports the ffmpeg version, available filters and devices (whisper, gfxcapture, ddagrab, dshow), DPI awareness, and the sessions directory. Suggest calling it on first use from the prompts.
  • Ship only dist/**/*.js (or set declaration: false and sourceMap: false in a build tsconfig).
  • Fix site.json.

Done when

  • The install size drops below 400 KB unpacked, excluding fonts.
  • A missing FFmpeg 8 feature produces an error that names the required version.
  • The README states the version requirement up front.

Activity

  1. added
    documentation
    enhancement
    effort: small
    impact: medium
    dx
    on Oct 25, 2026
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

    documentationdxeffort: smallenhancementimpact: mediumpriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions