X402 Git

caption-cut/mac-subtitle-burner · v1.0.1

What an agent reads when it fetches this URL: the whole manifest, in order, with the offer on the last line as a 402 it can pay. Nothing here is a button — an agent does not click, it signs. The page a person reads is here.

Toolkit · 1 script · 1 source file · 3 examples · 2 docs · 1 other file · 8 files · text 12.2 kB · binary 1.8 MB (99%) · Python 70% · Swift 30% · licence undetermined

scan passed 2026-11-22 · scanner 2026.10.1 · 2 releases · last release 2 days ago · 0% of files seen elsewhere

computed 2026-11-22 18:25 UTC · analyzer 0.1.0

Security scan report

Scanned by X402 Git, OSV (opens in a new tab) and Socket (opens in a new tab) — passed on all three. Findings from X402 Git and OSV are listed below.

secrets
none found
X402 Git
size limits
within caps
X402 Git
known malware
no dependency manifests to check
OSV
known vulnerabilities
no dependency manifests to check
OSV
dependency behaviour
no dependency manifests to check
Socket
instruction smuggling
none found
X402 Git
what it can do
listed below
X402 Git

What this can do

Tools
none
Runs
burn.py
Talks to
nothing
Reads
no environment variables
At install
nothing runs
Findings (2)
  • LOWburn.py — Ships the script burn.py
  • noticeNo dependency manifest the scanner reads (package.json, package-lock.json, requirements.txt, go.mod, Cargo.toml) is in this release; nothing it ships was checked against OSV.

Description self_reported

Written by the creator. Not verified by this platform — everything above and below this section is computed from the repository.

Burn SRT captions into MP4 on macOS. This offline CLI renders readable caption cards with Apple Core Text and composites them with FFmpeg, including FFmpeg builds without libass. The source includes an original demo, an example SRT, and a repeatable command.

When to use it. Use when burning timed SRT captions into a clip on macOS, especially when FFmpeg lacks its subtitles filter.

Readme

Caption Cut for macOS

Turn an MP4 and a timed SRT file into a ready-to-share H.264 MP4 with permanent captions. Caption Cut draws the text locally with the Mac system font, then composites it with FFmpeg. It works with FFmpeg builds that ship without libass and the subtitles filter.

Requirements macOS, Python 3.8 or newer, Swift command line tools, and FFmpeg with ffprobe and libx264. The tool runs offline and uses Python's standard library.

Run the demo

python3 burn.py examples/lake.mp4 examples/lake.srt ./caption-demo.mp4

The included 13-second clip uses AI-generated artwork and an original synthetic soundscape. The SRT supplies three short Russian captions. The captions are rendered as part of the video, so a player does not need the SRT or any particular font.

Caption Cut demo frame with rendered subtitles

Caption your footage

python3 burn.py clip.mp4 captions.srt clip-captioned.mp4 --fps 30
  • Use UTF-8 SubRip files with positive cue durations. Line breaks carry through, long text wraps, and overlapping cues are stacked by their file order.
  • Captions use a dark background and are positioned above the bottom edge. The tool adapts the text size and layout to portrait or landscape clips.
  • The output preserves display orientation. It uses H.264, a constant frame rate, and AAC for the first audio stream when present. It accepts frame areas up to 9 million pixels.
  • Output files are protected from accidental overwrites. Pass --force to replace an existing MP4.

The purchase includes the Python and Swift source, the test clip, and the example SRT. See LICENSE for usage rights.

Contents

8 files · 1.8 MB · computed 2026-11-22
SizePath
41 B.gitignore
630 BLICENSE
1.7 kBREADME.md
6.9 kBburn.py
2.9 kBcaption_cards.swift
1.6 MBexamples/lake.mp4 · binary
209 Bexamples/lake.srt · binary
165 kBexamples/preview.png · binary
computed 2026-11-22 18:25 UTC · analyzer 0.1.0

Dependencies

None found in the software bill of materials for this release.

computed 2026-11-22 18:25 UTC · analyzer 0.1.0

Releases

2 releases · last release 2 days ago
VersionDateScanChangedNotes
v1.0.12026-11-22pass2 files, 2 linesShow a rendered caption in the storefront preview
v1.0.02026-11-22pass—Release Caption Cut for macOS

Machine-readable at https://x402git.com/api/v/caption-cut/mac-subtitle-burner/releases. Entries cannot be deleted by the creator.

Order

GET v1.0.1 · $3 · new releases included

The resource endpoint answers 402 with the price and the exact bytes to sign; the same request carrying PAYMENT-SIGNATURE returns a signed download URL. Access is granted only after settlement returns a transaction hash. A person can do the same thing with a browser wallet on the product page.

# the 402, with the price and the exact bytes to sign
curl -si https://x402git.com/api/r/caption-cut/mac-subtitle-burner

# what your wallet already owns, and what the next fetch would cost it
curl -s https://x402git.com/api/v/caption-cut/mac-subtitle-burner \
  -H "X-Wallet-Signature: 0xYOURADDRESS.<nonce>.<signature>"

The first request answers this — a real quote, made for this page load:

HTTP/1.1 402 Payment Required
Content-Type: application/json

{
  "x402Version": 2,
  "resource": {
    "url": "https://x402git.com/api/r/caption-cut/mac-subtitle-burner",
    "description": "caption-cut/mac-subtitle-burner v1.0.1 — release. Burn SRT captions into MP4 on macOS. This offline CLI renders readable caption cards with Apple Core Text and composites them with FFmpeg, including FFmpeg builds without libass. The source includes an original demo, an example SRT, and a repeatable command. Security scan passed; signed download, 5-minute URL.",
    "mimeType": "application/zip",
    "serviceName": "caption-cut/mac-subtitle-burner",
    "tags": [
      "toolkit",
      "scripts",
      "source",
      "examples",
      "docs"
    ]
  },
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "amount": "3000000",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0xDbd32F7565FFdb901Ea48281777aD03d35bB4b60",
      "maxTimeoutSeconds": 300,
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "maxAmountRequired": "3000000",
      "resource": "https://x402git.com/api/r/caption-cut/mac-subtitle-burner",
      "description": "caption-cut/mac-subtitle-burner v1.0.1 — release. Burn SRT captions into MP4 on macOS. This offline CLI renders readable caption cards with Apple Core Text and composites them with FFmpeg, including FFmpeg builds without libass. The source includes an original demo, an example SRT, and a repeatable command. Security scan passed; signed download, 5-minute URL.",
      "mimeType": "application/zip"
    }
  ],
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "queryParams": {},
          "method": "GET"
        },
        "output": {
          "type": "json",
          "example": {
            "version": "1.0.1",
            "artifact_sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
            "download_url": "https://storage.example/caption-cut/mac-subtitle-burner/1.0.1.zip?signed=…",
            "expires_at": "2026-09-16T12:05:00.000Z",
            "version_endpoint": "https://x402git.com/api/r/caption-cut/mac-subtitle-burner/v/1.0.1",
            "manifest_url": "https://x402git.com/api/label/caption-cut/mac-subtitle-burner",
            "all_versions": false
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {}
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "example": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string",
                    "description": "Semantic version of the release served."
                  },
                  "artifact_sha256": {
                    "type": "string",
                    "description": "sha256 of the zip; verify the download against it."
                  },
                  "download_url": {
                    "type": "string",
                    "description": "Signed URL over the exact bytes that were scanned. Valid five minutes."
                  },
                  "expires_at": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "version_endpoint": {
                    "type": "string",
                    "description": "Re-fetch this exact version later, free, with X-Wallet-Signature."
                  },
                  "manifest_url": {
                    "type": "string",
                    "description": "The public manifest for this listing."
                  },
                  "all_versions": {
                    "type": "boolean",
                    "description": "True when the purchase covers every later release too."
                  }
                },
                "required": [
                  "version",
                  "artifact_sha256",
                  "download_url",
                  "expires_at",
                  "version_endpoint",
                  "manifest_url",
                  "all_versions"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "extra": {
    "kind": "new",
    "version": "1.0.1",
    "manifest_url": "https://x402git.com/api/label/caption-cut/mac-subtitle-burner",
    "scan_badge_url": "https://x402git.com/api/label/caption-cut/mac-subtitle-burner#scan",
    "update_price_micro": "0",
    "quote_id": "q_cc95a0fbfdce9dfa9781a35ed341a194",
    "valid_before": "2026-11-24T16:14:58.035Z",
    "instructions": "This is an x402 paywall, not an error. To buy: sign accepts[0] from the 402 as an EIP-3009 USDC authorization on Base with your own wallet, then GET https://x402git.com/api/r/caption-cut/mac-subtitle-burner again with the payment in the PAYMENT-SIGNATURE header and extra.quote_id in X-Quote-Id — or, over MCP, call `purchase` again with the same payment as `payment_signature`. The full procedure is at https://x402git.com/.well-known/agent-skills/buy-a-repo/SKILL.md; the same tools are an MCP server at https://x402git.com/api/mcp. No wallet? A person can buy at https://x402git.com/caption-cut/mac-subtitle-burner, and the free manifest at https://x402git.com/api/label/caption-cut/mac-subtitle-burner shows what is inside before anyone pays.",
    "listing_url": "https://x402git.com/caption-cut/mac-subtitle-burner",
    "skill_url": "https://x402git.com/.well-known/agent-skills/buy-a-repo/SKILL.md",
    "mcp_url": "https://x402git.com/api/mcp"
  }
}
Resource
https://x402git.com/api/r/caption-cut/mac-subtitle-burner
Manifest
https://x402git.com/api/label/caption-cut/mac-subtitle-burner
Version
https://x402git.com/api/v/caption-cut/mac-subtitle-burner
Artifact sha256
8d4021c42ac0e922e515f8c44883740a1c0b2a9a1995aa23cf6628a21d5fad5b

Buy once and every later release is included, forever. That is stamped on the purchase and no later price change can revoke it.

Sold by caption-cut. Read the terms and the route documentation before you script against this. Base URL https://x402git.com.