|
|
@ -3,7 +3,7 @@ |
|
|
|
"profiles": { |
|
|
|
"default": { |
|
|
|
"jpeg": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["cjpeg"], |
|
|
|
"extensions": [ |
|
|
|
"jpg", |
|
|
@ -13,7 +13,7 @@ |
|
|
|
"command": "cjpeg -optimize -quality 90 -progressive -outfile {output_file} {input_file}" |
|
|
|
}, |
|
|
|
"png": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["optipng"], |
|
|
|
"extensions": [ |
|
|
|
"png" |
|
|
@ -22,7 +22,7 @@ |
|
|
|
"command": "optipng -o2 -strip all -out {output_file} {input_file}" |
|
|
|
}, |
|
|
|
"video": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["ffmpeg"], |
|
|
|
"extensions": [ |
|
|
|
"mp4", |
|
|
@ -32,7 +32,7 @@ |
|
|
|
"command": "ffmpeg -hide_banner -loglevel panic -i {input_file} -c:v libvpx-vp9 -b:v 0 -crf 29 -c:a libopus {output_file}" |
|
|
|
}, |
|
|
|
"audio": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["ffmpeg", "opusenc"], |
|
|
|
"extensions": [ |
|
|
|
"wav", |
|
|
@ -44,7 +44,7 @@ |
|
|
|
}, |
|
|
|
"placebo": { |
|
|
|
"jpeg": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["cp"], |
|
|
|
"extensions": [ |
|
|
|
"jpg", |
|
|
@ -55,7 +55,7 @@ |
|
|
|
"command": "cp {input_file} {output_file}" |
|
|
|
}, |
|
|
|
"png": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["cp"], |
|
|
|
"extensions": [ |
|
|
|
"png" |
|
|
@ -65,7 +65,7 @@ |
|
|
|
"command": "cp {input_file} {output_file}" |
|
|
|
}, |
|
|
|
"video": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["cp"], |
|
|
|
"extensions": [ |
|
|
|
"mp4", |
|
|
@ -76,7 +76,7 @@ |
|
|
|
"command": "cp {input_file} {output_file}" |
|
|
|
}, |
|
|
|
"audio": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["cp"], |
|
|
|
"extensions": [ |
|
|
|
"wav", |
|
|
@ -89,7 +89,7 @@ |
|
|
|
}, |
|
|
|
"webp": { |
|
|
|
"jpeg": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["cwebp"], |
|
|
|
"extensions": [ |
|
|
|
"jpg", |
|
|
@ -99,7 +99,7 @@ |
|
|
|
"command": "cwebp -jpeg_like -q 90 -o {output_file} {input_file}" |
|
|
|
}, |
|
|
|
"png": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["cwebp"], |
|
|
|
"extensions": [ |
|
|
|
"png" |
|
|
@ -110,7 +110,7 @@ |
|
|
|
}, |
|
|
|
"aggressive": { |
|
|
|
"jpeg": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["ffmpeg", "cjpeg"], |
|
|
|
"extensions": [ |
|
|
|
"jpg", |
|
|
@ -120,7 +120,7 @@ |
|
|
|
"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": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["optipng"], |
|
|
|
"extensions": [ |
|
|
|
"png" |
|
|
@ -129,7 +129,7 @@ |
|
|
|
"command": "optipng -o2 -strip all -out {output_file} {input_file}" |
|
|
|
}, |
|
|
|
"video": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["ffmpeg"], |
|
|
|
"extensions": [ |
|
|
|
"mp4", |
|
|
@ -139,7 +139,7 @@ |
|
|
|
"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": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["ffmpeg", "opusenc"], |
|
|
|
"extensions": [ |
|
|
|
"wav", |
|
|
@ -151,7 +151,7 @@ |
|
|
|
}, |
|
|
|
"aggressive-webp": { |
|
|
|
"jpeg": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["cwebp"], |
|
|
|
"extensions": [ |
|
|
|
"jpg", |
|
|
@ -161,7 +161,7 @@ |
|
|
|
"command": "export FILE={output_file} && export TEMP_FILE=${FILE}_tmp.jpg && ffmpeg -i {input_file} -vf scale=-1:720 ${TEMP_FILE} && cwebp -jpeg_like -q 75 -o {output_file} ${TEMP_FILE} && rm ${TEMP_FILE}" |
|
|
|
}, |
|
|
|
"png": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["cwebp"], |
|
|
|
"extensions": [ |
|
|
|
"png" |
|
|
@ -170,7 +170,7 @@ |
|
|
|
"command": "cwebp -o {output_file} ${input_file}" |
|
|
|
}, |
|
|
|
"video": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["ffmpeg"], |
|
|
|
"extensions": [ |
|
|
|
"mp4", |
|
|
@ -180,7 +180,7 @@ |
|
|
|
"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": { |
|
|
|
"version": "1.2.1", |
|
|
|
"version": "1.3.1", |
|
|
|
"processors": ["ffmpeg", "opusenc"], |
|
|
|
"extensions": [ |
|
|
|
"wav", |
|
|
|