compress-video
Reduce video file size while maintaining quality by compressing videos using a customizable quality setting. Save output to a specified path or default folder with the MCP Media Processing Server.
Instructions
Compress video file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
inputPath | Yes | Absolute path to input video file | |
outputFilename | No | Output filename (only used if outputPath is not provided) | |
outputPath | No | Optional absolute path for output file. If not provided, file will be saved in Downloads folder | |
quality | No | Compression quality (1-51, lower is better quality but larger file) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"inputPath": {
"description": "Absolute path to input video file",
"type": "string"
},
"outputFilename": {
"description": "Output filename (only used if outputPath is not provided)",
"type": "string"
},
"outputPath": {
"description": "Optional absolute path for output file. If not provided, file will be saved in Downloads folder",
"type": "string"
},
"quality": {
"default": 23,
"description": "Compression quality (1-51, lower is better quality but larger file)",
"maximum": 51,
"minimum": 1,
"type": "number"
}
},
"required": [
"inputPath"
],
"type": "object"
}