-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
35 lines (34 loc) · 1.14 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"converters": [
{
"name": "ImageMagick",
"formats": ["jpg", "jpeg", "png", "tif", "tiff", "bmp", "webp", "heif", "heic"],
"runCommand": ["magick", "$$INPUT_PATH$$", "$$OUTPUT_PATH$$"]
},
{
"name": "FFmpeg",
"formats": ["webm", "mkv", "gif", "avi", "mov", "wmv", "mp4", "m4v", "mpg", "mpeg", "mp2", "aac", "aiff", "flac", "m4a", "mp3", "ogg", "wav", "wma", "wv", "apng"],
"runCommand": ["ffmpeg", "-y", "-i", "$$INPUT_PATH$$", "$$OUTPUT_PATH$$"]
}
],
"formatArgs": {
"mp3": [
{
"prompt": "MP3 Bitrate in bps (Optional): ",
"inputType": "string",
"argumentsIfEmpty": [],
"argumentsIfNotEmpty": ["-ab", "$$STRING$$"],
"argumentsBeforeIndex": 4
}
],
"gif": [
{
"prompt": "Loop? [y/n]: ",
"inputType": "y/n",
"argumentsIfNo": ["-loop", "-1"],
"argumentsIfYes": ["-loop", "0"],
"argumentsBeforeIndex": 4
}
]
}
}