Skip to content

Config File

Chris Griffith edited this page Oct 20, 2020 · 7 revisions

FastFlix has a few settings that can be customized via the config file. Most of them can be accomplished through the GUI, but some would be too much work for the gain they might have.

On startup, the logs will say where the config file is located, for example:

2020-10-19 23:27:47 fastflix DEBUG Using config file "C:\Users\Me\AppData\Roaming\FastFlix\fastflix.json"

Example config file from 3.1.0:

{
  "version": "3.1.0",
  "work_dir": "C:\\Users\\teckc\\AppData\\Roaming\\FastFlix",
  "disable_update_check": false,
  "use_sane_audio": true,
  "sane_audio_selection": [
    "aac","ac3","alac","dca","dts","eac3","flac",
    "libfdk_aac","libmp3lame","libopus","libvorbis",
    "libwavpack","mlp","opus","snoicls","sonic",
    "truehd","tta","vorbis","wavpack"]
}

Audio Encoders

"Sane" audio encoders are just my way of cutting down to an easier to sort through list, don't feel "insane" to use another.

If the preferred audio encoder is not in the "sane" list, you can disable the list by changing "use_sane_audio" to false, or by appending it to the list.

You can list all the audio endcoders ffmpeg supports with:

ffmpeg -encoders

The lines that start with A are audio encoders. For example of two already in the list:

 A..... eac3                 ATSC A/52 E-AC-3
 A..... flac                 FLAC (Free Lossless Audio Codec)

Custom After Conversion Commands

You can either use a built-in or custom command to run after the conversion completes. These are still in early trial, so I apologize for any errors you may encounter, please open an issue if you experience one!

To add you own, add a new key at the root structure of the config file named "custom_after_run_scripts". Here is an example with a simple echo command.

  "custom_after_run_scripts": {"test": "echo 'test'"}

So in the config file itself would look like:

{
  "version": "3.1.0",
  "work_dir": "C:\\Users\\teckc\\AppData\\Roaming\\FastFlix",
  "disable_update_check": false,
  "custom_after_run_scripts": {"test": "echo 'test'"}
}

When you re-launch FastFlix, the option for "test" should now appear in the drop down list on the "Command List" tab.

Clone this wiki locally