|
@ -25,8 +25,8 @@ |
|
|
"mp4", |
|
|
"mp4", |
|
|
"webm" |
|
|
"webm" |
|
|
], |
|
|
], |
|
|
"outputExtension": "mp4", |
|
|
|
|
|
"command": "ffmpeg -hide_banner -loglevel panic -i {{input_file}} -vcodec libx264 -crf 20 {{output_file}}" |
|
|
|
|
|
|
|
|
"outputExtension": "webm", |
|
|
|
|
|
"command": "ffmpeg -hide_banner -loglevel panic -i {{input_file}} -c:v libvpx -crf 10 {{output_file}}" |
|
|
}, |
|
|
}, |
|
|
"audio": { |
|
|
"audio": { |
|
|
"processors": ["ffmpeg", "opusenc"], |
|
|
"processors": ["ffmpeg", "opusenc"], |
|
@ -103,8 +103,8 @@ |
|
|
"mp4", |
|
|
"mp4", |
|
|
"webm" |
|
|
"webm" |
|
|
], |
|
|
], |
|
|
"outputExtension": "mp4", |
|
|
|
|
|
"command": "ffmpeg -hide_banner -loglevel panic -i {{input_file}} -vf scale=-1:720 -vcodec libx264 -crf 24 {{output_file}}" |
|
|
|
|
|
|
|
|
"outputExtension": "webm", |
|
|
|
|
|
"command": "ffmpeg -hide_banner -loglevel panic -i {{input_file}} -vf scale=-1:720 -c:v libvpx -crf 16 {{output_file}}" |
|
|
}, |
|
|
}, |
|
|
"audio": { |
|
|
"audio": { |
|
|
"processors": ["ffmpeg", "opusenc"], |
|
|
"processors": ["ffmpeg", "opusenc"], |
|
|