Didier
6b1ee28c06
feat: added cleanup feat: added new config key (keep_directory_structure) fix: file handling
36 lines
903 B
TOML
36 lines
903 B
TOML
[files]
|
|
input_path = "/data/input"
|
|
output_path = "/data/output"
|
|
keep_directory_structure = true # keep directory structure when outputting files
|
|
include = [ 'mp4', 'avi', 'mkv' ] # file extensions to include
|
|
|
|
[files.cleanup]
|
|
enabled = true # do cleanup?
|
|
original_cleanup_behavior = "delete" # delete, archive or keep
|
|
|
|
[files.cleanup.archive]
|
|
path = "/data/archive"
|
|
|
|
[files.cleanup.delete]
|
|
remove_empty_directories = true # if folder is empty after deleting file, delete folder
|
|
|
|
[ffmpeg]
|
|
path = "/usr/bin/ffmpeg" # path to ffmpeg executable
|
|
allow_overwrite = false # allow overwriting existing files
|
|
extra_args = []
|
|
|
|
[ffmpeg.process]
|
|
niceness = 10 # 0 = highest priority
|
|
threads = 4 # 0 = auto
|
|
|
|
[ffmpeg.output]
|
|
format = "webm" # webm, mp4, mkv, etc.
|
|
|
|
[ffmpeg.output.video]
|
|
codec = "libsvtav1"
|
|
bitrate = 0 # 0 = auto
|
|
crf = 30 # 0 = lossless
|
|
|
|
[ffmpeg.output.audio]
|
|
codec = "libopus"
|
|
bitrate = 0 # 0 = auto
|