2023-05-06 21:38:34 +02:00
|
|
|
[files]
|
|
|
|
input_path = "/data/input"
|
|
|
|
output_path = "/data/output"
|
2023-06-03 21:28:48 +02:00
|
|
|
keep_directory_structure = true # keep directory structure when outputting files
|
2023-05-06 21:38:34 +02:00
|
|
|
include = [ 'mp4', 'avi', 'mkv' ] # file extensions to include
|
|
|
|
|
|
|
|
[files.cleanup]
|
2023-05-07 21:08:14 +02:00
|
|
|
enabled = true # do cleanup?
|
2023-05-06 21:38:34 +02:00
|
|
|
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
|
2023-05-08 10:27:06 +02:00
|
|
|
allow_overwrite = false # allow overwriting existing files
|
|
|
|
extra_args = []
|
2023-05-06 21:38:34 +02:00
|
|
|
|
|
|
|
[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
|