{
  "slug": "video-compress",
  "name": "gizza-ai/video-compress",
  "version": "0.1.0",
  "title": "Compress a Video Online — gizza.ai",
  "description": "Shrink a video's file size right in your browser — pick a quality (CRF). Re-encodes locally with ffmpeg to H.264/AAC, nothing is uploaded, free.",
  "tags": [
    "video",
    "compress",
    "shrink",
    "file size",
    "crf",
    "reencode",
    "smaller"
  ],
  "category": "video",
  "urls": {
    "page": "https://gizza.ai/tools/video-compress/",
    "markdown": "https://gizza.ai/tools/video-compress/index.md",
    "descriptor": "https://gizza.ai/tools/video-compress/tool.json",
    "deep_link_example": "https://gizza.ai/tools/video-compress/?url=https://example.com/input&crf=28"
  },
  "cli": "gizza tool video-compress 'url=https://example.com/input' 'crf=28'",
  "tool": {
    "description": "Shrink a video's file size by re-encoding it at a chosen quality (CRF). Provide either url (HTTP/HTTPS) or ref (id from a prior tool call). Single-pass H.264/AAC re-encode — higher crf = smaller file / lower quality. mp4/mov/m4v/mkv inputs keep their container; other inputs (e.g. webm) are converted to MP4. This is a quality knob, not a target-size guarantee (true target-byte-size needs a 2-pass encode).",
    "parameters": {
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "url"
          ]
        },
        {
          "required": [
            "ref"
          ]
        }
      ],
      "properties": {
        "crf": {
          "description": "Quality/size knob (default 28). Lower = higher quality/larger; higher = smaller. Clamped to 18-34.",
          "maximum": 34,
          "minimum": 18,
          "type": "number"
        },
        "ref": {
          "description": "Reference id from a prior tool call. Use either url or ref.",
          "type": "string"
        },
        "url": {
          "description": "Video URL (HTTP/HTTPS). Use either url or ref.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}