Agent Skill · Appium

environment-setup-ffmpeg

Install and validate FFmpeg on macOS, Linux, or Windows for optional Appium media capabilities

Provider: Appium Path in repo: skills/environment-setup-ffmpeg/SKILL.md

Skill body

environment-setup-ffmpeg

Goal

Installs and validates FFmpeg in a cross-platform way so Appium environments can use optional media-related capabilities when explicitly requested.

Decision Logic

Instructions

  1. Detect OS and current FFmpeg availability macOS/Linux:
    uname -s
    command -v ffmpeg || echo "ffmpeg not found"
    ffmpeg -version || true
    

    Windows PowerShell:

    [System.Environment]::OSVersion.VersionString
    Get-Command ffmpeg.exe -ErrorAction SilentlyContinue
    ffmpeg -version
    
  2. Install FFmpeg when missing macOS (Homebrew):
    brew install ffmpeg
    

    Linux (Debian/Ubuntu):

    sudo apt-get update
    sudo apt-get install -y ffmpeg
    

    Linux (RHEL/CentOS/Fedora):

    sudo dnf install -y ffmpeg
    

    Linux (Arch):

    sudo pacman -S --noconfirm ffmpeg
    

    Windows PowerShell (winget preferred):

    winget install --id Gyan.FFmpeg --exact --accept-package-agreements --accept-source-agreements
    

    Windows PowerShell (Chocolatey fallback):

    choco install ffmpeg -y
    
  3. Validate installation and PATH macOS/Linux:
    command -v ffmpeg
    ffmpeg -version
    

    Windows PowerShell:

    Get-Command ffmpeg.exe -ErrorAction SilentlyContinue
    ffmpeg -version
    
  4. Report capability in task result Include:
    • resolved FFmpeg executable path
    • first line of ffmpeg -version
    • whether installation was skipped because FFmpeg was already present

Completion criteria

Mark complete only when all are true:

Constraints

Skill frontmatter

metadata: {"last_modified"=>"Mon, 09 Mar 2026 13:10:00 GMT"}