{
  "slug": "video-bake-rotation",
  "name": "gizza-ai/video-bake-rotation",
  "version": "0.1.0",
  "title": "Bake Video Rotation Metadata Online — gizza.ai",
  "description": "Bake a video's rotation metadata into upright pixels and clear the rotate flag so sideways phone clips play correctly everywhere.",
  "tags": [
    "video rotation metadata",
    "bake rotation",
    "sideways video",
    "fix phone video",
    "autorotate",
    "ffmpeg"
  ],
  "category": "video",
  "urls": {
    "page": "https://gizza.ai/tools/video-bake-rotation/",
    "markdown": "https://gizza.ai/tools/video-bake-rotation/index.md",
    "descriptor": "https://gizza.ai/tools/video-bake-rotation/tool.json",
    "deep_link_example": "https://gizza.ai/tools/video-bake-rotation/?url=https://example.com/input"
  },
  "cli": "gizza tool video-bake-rotation 'url=https://example.com/input'",
  "tool": {
    "description": "Bake a video's embedded rotation metadata/display matrix into the actual pixels and clear the rotate flag, fixing sideways phone clips in players that ignore orientation metadata. Provide either url (HTTP/HTTPS) or ref (id from a prior tool call). The video is re-encoded to H.264 with CRF 23/preset medium so the orientation becomes universal; audio is stream-copied when container-compatible, or re-encoded to AAC when converting to mp4. Note: runs on the standalone page and the CLI (chat ffmpeg is unavailable).",
    "parameters": {
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "url"
          ]
        },
        {
          "required": [
            "ref"
          ]
        }
      ],
      "properties": {
        "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"
    }
  }
}