36 lines
907 B
TOML
36 lines
907 B
TOML
|
[files]
|
||
|
input_path = "/data/input"
|
||
|
output_path = "/data/output"
|
||
|
include = [ 'mp4', 'avi', 'mkv' ] # file extensions to include
|
||
|
keep_file_structure = true # e.g. /data/input/foo/bar.mp4 -> /data/output/foo/bar.webm
|
||
|
|
||
|
[files.cleanup]
|
||
|
enabled = true
|
||
|
original_cleanup_behavior = "delete" # delete, archive or keep
|
||
|
|
||
|
[files.cleanup.archive]
|
||
|
path = "/data/archive"
|
||
|
keep_file_structure = true # e.g. /data/input/foo/bar.mp4 -> /data/archive/foo/bar.mp4
|
||
|
|
||
|
[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
|
||
|
|
||
|
[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
|