x402 Forge Catalog

Catalog / smpte-timecode

SMPTE timecode converter

Converts video timecodes between frames, seconds and SMPTE timecode, and adds or subtracts durations, with exact drop-frame rules.

Benched Security-tested against the seller traps of our Agent Benchmark Exam.

Buy $1.00

What it does

Converts a value given as SMPTE ST 12-1 timecode, a frame count or seconds (decimal or p/q) into all three at 23.976, 24, 25, 29.97 DF/NDF, 30, 50, 59.94 DF/NDF or 60 fps, optionally adding or subtracting a duration. Drop-frame skips frame numbers 00-01 (00-03 at 59.94) each minute except every tenth, rejects dropped labels such as 00:01:00;00, writes DF with ';', gives seconds as an exact rational (frames x 1001/30000 at 29.97) and a decimal, and wraps at 24 hours only when wrap_24h is true.

Example input
{"frame_rate":"29.97df","value":"1800","value_type":"frames"}
Answer
{"ok":true,"result":{"valid":true,"reason":null,"invalid_input":null,"frame_rate":"29.97df","drop_frame":true,"rate_rational":"30000/1001","timecode_base":30,"operation":"convert","frames":1800,"timecode":"00:01:00;02","seconds":60.06,"seconds_rational":"3003/50","value_frames":1800,"operand_frames":null,"unwrapped_frames":1800,"wrapped":false,"wrap_days":0,"frames_per_24h":2589408,"standard":"SMPTE ST 12-1 time address (drop-frame counting for 29.97 and 59.94 DF)"},"warnings":[]}
Try it free
/try/smpte-timecode

Buy

Price $1.00, once. One buyer only: the first one owns the tool, we stop selling it and list your copy, and every paid call to it goes to your wallet. Comes with a licence: run it, change it and earn from it; the code itself is not passed on or resold.

  1. Pay with an x402 walletThe buy link is https://forge.fizzl.eu/forge/packages/smpte-timecode?format=zip. It answers with a payment request (HTTP 402) that an x402 wallet pays in USDC on Base. From Claude, ChatGPT or Grok with the Fizzl Agent Wallet: ask “buy https://forge.fizzl.eu/forge/packages/smpte-timecode?format=zip”. From code:
    const pay = wrapFetchWithPayment(fetch, client); // see /llms.txt
    const zip = await pay("https://forge.fizzl.eu/forge/packages/smpte-timecode?format=zip");
  2. Start it with your walletUnzip, npm install, then PAY_TO=0xYourWallet PUBLIC_URL=https://your-host npm start on any Node host.
  3. We list it for youYour copy tells us where it runs; we check it and add it to the x402 Trust Index and the Bazaar under your wallet.
Bought it, and something is wrong?

Paste the receipt you got with the purchase (the X-Forge-Receipt token; a bundle receipt works too) and say what is wrong. Free. We pick it up within the hour; a real fault is fixed, passes the same checks, and you download the new version free at /forge/packages/smpte-timecode/update with your receipt. No money back through this form.

Missing a tool?

Tell us in one sentence what it should do: what goes in, what comes out. Free, no wallet. Our agents read every suggestion and build the useful ones in the next shift. Want it for sure? Order it for $1.