Browse Source

Using new template format

add-file-preservation 1.1.7
Drew Short 4 years ago
parent
commit
66cfc1be73
  1. 24
      acm-config-default.json

24
acm-config-default.json

@ -9,7 +9,7 @@
"jpeg"
],
"outputExtension": "jpg",
"command": "cjpeg -optimize -quality 90 -progressive -outfile {{output_file}} {{input_file}}"
"command": "cjpeg -optimize -quality 90 -progressive -outfile {output_file} {input_file}"
},
"png": {
"processors": ["optipng"],
@ -17,7 +17,7 @@
"png"
],
"outputExtension": "png",
"command": "optipng -o2 -strip all -out {{output_file}} {{input_file}}"
"command": "optipng -o2 -strip all -out {output_file} {input_file}"
},
"video": {
"processors": ["ffmpeg"],
@ -26,7 +26,7 @@
"webm"
],
"outputExtension": "webm",
"command": "ffmpeg -hide_banner -loglevel panic -i {{input_file}} -c:v libvpx-vp9 -b:v 0 -crf 29 -c:a libopus {{output_file}}"
"command": "ffmpeg -hide_banner -loglevel panic -i {input_file} -c:v libvpx-vp9 -b:v 0 -crf 29 -c:a libopus {output_file}"
},
"audio": {
"processors": ["ffmpeg", "opusenc"],
@ -35,7 +35,7 @@
"mp3"
],
"outputExtension": "ogg",
"command": "ffmpeg -hide_banner -loglevel panic -i {{input_file}} -f wav -| opusenc --bitrate 64 --vbr --downmix-stereo --discard-comments --discard-pictures - {{output_file}}"
"command": "ffmpeg -hide_banner -loglevel panic -i {input_file} -f wav -| opusenc --bitrate 64 --vbr --downmix-stereo --discard-comments --discard-pictures - {output_file}"
}
},
"placebo": {
@ -47,7 +47,7 @@
],
"outputExtension": "jpg",
"preserveInputExtension": true,
"command": "cp {{input_file}} {{output_file}}"
"command": "cp {input_file} {output_file}"
},
"png": {
"processors": ["cp"],
@ -56,7 +56,7 @@
],
"outputExtension": "png",
"preserveInputExtension": true,
"command": "cp {{input_file}} {{output_file}}"
"command": "cp {input_file} {output_file}"
},
"video": {
"processors": ["cp"],
@ -66,7 +66,7 @@
],
"outputExtension": "mp4",
"preserveInputExtension": true,
"command": "cp {{input_file}} {{output_file}}"
"command": "cp {input_file} {output_file}"
},
"audio": {
"processors": ["cp"],
@ -76,7 +76,7 @@
],
"outputExtension": "ogg",
"preserveInputExtension": true,
"command": "cp {{input_file}} {{output_file}}"
"command": "cp {input_file} {output_file}"
}
},
"aggressive": {
@ -87,7 +87,7 @@
"jpeg"
],
"outputExtension": "jpg",
"command": "export FILE={{output_file}} && export TEMP_FILE=${FILE}_tmp.jpg && ffmpeg -i {{input_file}} -vf scale=-1:720 ${TEMP_FILE} && cjpeg -optimize -quality 75 -progressive -outfile {{output_file}} ${TEMP_FILE} && rm ${TEMP_FILE}"
"command": "export FILE={output_file} && export TEMP_FILE=${FILE}_tmp.jpg && ffmpeg -i {input_file} -vf scale=-1:720 ${TEMP_FILE} && cjpeg -optimize -quality 75 -progressive -outfile {output_file} ${TEMP_FILE} && rm ${TEMP_FILE}"
},
"png": {
"processors": ["optipng"],
@ -95,7 +95,7 @@
"png"
],
"outputExtension": "png",
"command": "optipng -o2 -strip all -out {{output_file}} {{input_file}}"
"command": "optipng -o2 -strip all -out {output_file} {input_file}"
},
"video": {
"processors": ["ffmpeg"],
@ -104,7 +104,7 @@
"webm"
],
"outputExtension": "webm",
"command": "ffmpeg -hide_banner -loglevel panic -i {{input_file}} -vf scale=-1:720 -c:v libvpx-vp9 -b:v 0 -crf 38 -c:a libopus {{output_file}}"
"command": "ffmpeg -hide_banner -loglevel panic -i {input_file} -vf scale=-1:720 -c:v libvpx-vp9 -b:v 0 -crf 38 -c:a libopus {output_file}"
},
"audio": {
"processors": ["ffmpeg", "opusenc"],
@ -113,7 +113,7 @@
"mp3"
],
"outputExtension": "ogg",
"command": "ffmpeg -hide_banner -loglevel panic -i {{input_file}} -f wav -| opusenc --bitrate 64 --vbr --downmix-stereo --discard-comments --discard-pictures - {{output_file}}"
"command": "ffmpeg -hide_banner -loglevel panic -i {input_file} -f wav -| opusenc --bitrate 64 --vbr --downmix-stereo --discard-comments --discard-pictures - {output_file}"
}
}
}

Loading…
Cancel
Save