FFmpeg Installation - Axwabo/SecretLabNAudio GitHub Wiki

Installing FFmpeg

When the server starts and FFmpeg cannot be found, the plugin will print an error message to the console.

To download an extract FFmpeg, run the installFFmpeg command in the server console. This command will not do anything if FFmpeg is already installed in the configured path.

Tip

If FFmpeg is already in the PATH, no action is required. SecretLabNAudio will automatically detect FFmpeg if it's installed in the server's ffmpeg directory (executable path e.g. ~/ffmpeg/ffmpeg).

To force installation and overwrite the config value, run installFFmpeg force

Note

If access to the FFmpeg executable is denied, run the chmodFFmpeg command in the server console to make it executable (chmod +x ffmpeg). This command is only available on Linux.

You can manually set the path to the FFmpeg process in the config:

  • Linux: ~/.config/SCP Secret Laboratory/LabAPI/configs/<port>/SecretLabNAudio.FFmpeg/config.yml
  • Windows: %appdata%\SCP Secret Laboratory\LabAPI\configs\<port>\SecretLabNAudio.FFmpeg\config.yml

Startup Error Details

If FFmpeg fails to launch, the error can be found in the LocalAdmin logs:

  • Linux: ~/.config/SCP Secret Laboratory/LocalAdminLogs/<port>/<file>
  • Windows: %appdata%\SCP Secret Laboratory\LocalAdminLogs\<port>\<file>
⚠️ **GitHub.com Fallback** ⚠️