shrinkit

Troubleshooting

Run shrinkit doctor first, then common symptoms and what shrinkit's messages mean.

Run shrinkit doctor first

shrinkit doctor

shrinkit doctor only reads; it changes nothing. It checks the command, ffmpeg, the working folder, the watcher, the right-click entries, settings.conf, the presets and input/. It prints one line per check, ok, warn or FAIL, with the rest of what it found under anything that is not ok, and a fix where there is one. It exits non-zero when a check fails.

Symptoms

  • Nothing happens after a drop. Run shrinkit doctor and read its watcher and input lines.
  • A file stays in input/ and is tried again on every run. It could not be shrunk, and the reason is in .logs/optimizer.log. Move it out of input/.
  • The result has no sound. remove_audio = true is the default. Run shrinkit config remove_audio false, or pass --no-remove-audio for one run.
  • No banners. Check that notify = true with shrinkit config; see Banners.

Messages

MessageWhat to do
ffmpeg is not on PATH or in the Homebrew foldersbrew install ffmpeg.
Cannot create or write to the working folderConnect the drive it is on and run shrinkit setup, or pick another with shrinkit config folder <path>.
macOS refused to start the watcherRead launchctl's reason above it. If shrinkit is switched off in System Settings > General > Login Items & Extensions, switch it on, then run shrinkit setup.
ONE-TIME STEP: ... privacy-protected locationFollow the steps it prints to grant Full Disk Access.
'shrinkit' on your PATH is ...Two installs are in play. Run setup by the full path of the one to keep, as the message names it.
the preset '...' sets nothingTake the # off the lines that should count.
... returned at once with the file as it wasPut the editor's wait flag in VISUAL or EDITOR, such as code --wait.
... was saved as rich textIn TextEdit, Format > Make Plain Text, save, and run it again.
shrinkit: run could not open a Terminal windowRun the shrinkit run command it names.

The log

Every run writes to .logs/optimizer.log in the working folder: what it encoded, what it skipped and why, and ffmpeg's own output.

On this page