Skip to content

v1.1.2 - FFmpeg download persistence fix (issue #12)

Latest

Choose a tag to compare

@trasles16-ux trasles16-ux released this 07 Sep 10:47

SpeechCraft Studio v1.1.2

Fixes FFmpeg download going to a temp folder that was wiped on every launch.

What was wrong

When SpeechCraft runs as a packaged EXE, __file__ resolves to PyInstaller's MEIPASS — a per-launch extraction folder that Windows wipes on exit. The FFmpeg download copied ffmpeg.exe there, the current session "worked", but the file disappeared on the next launch. The success message was technically correct (the copy succeeded) but the file vanished immediately. Reported in issue #12 by PaulDrake777.

What's fixed

  • New download destination: %LOCALAPPDATA%\SpeechCraft\ffmpeg.exe in the installed EXE (or next to audio_editor.py in dev runs). Survives across launches.
  • setup_ffmpeg() now looks at the persistent location first, then the legacy path, then PATH.
  • on_ffmpeg_download_complete re-verifies the file exists before showing the success message, and tells you the path + manual fallback URL on failure.
  • Six regression tests in tests/test_ffmpeg_path.py pin the path resolution in place.

Manual workaround (if you already have the broken build)

  1. Download ffmpeg.exe from https://www.gyan.dev/ffmpeg/builds/ (essentials build is enough).
  2. Create the folder C:\Users\<your-user>\AppData\Local\SpeechCraft\ if it doesn't exist.
  3. Drop ffmpeg.exe into that folder.
  4. Restart SpeechCraft — it'll detect it and skip the download dialog.

Bundled assets

  • SpeechCraft_Studio_Setup.exe (606 MB) — Windows installer with edition-choice page
  • SpeechCraft_Studio_Core.exe (172 MB) — portable, Core only (no Whisper/pedalboard)
  • SpeechCraft_Studio.exe (436 MB) — portable, Full edition with local AI