plugins/ffmpeg-python/skills/ffmpeg-python-integration-reference/SKILL.md
Authoritative Python-FFmpeg parameter integration reference ensuring type safety, accurate parameter mappings, and proper unit conversions. PROACTIVELY activate for: (1) ffmpeg-python library usage, (2) Python subprocess FFmpeg calls, (3) Caption/subtitle parameter mapping (drawtext, ASS), (4) Color format conversions (BGR, RGB, ABGR, ASS &HAABBGGRR), (5) Time unit conversions (seconds, centiseconds, milliseconds), (6) Type safety validation (int, float, string), (7) Coordinate systems, (8) Parameter range enforcement, (9) Frame pipe handling, (10) Error detection for type mismatches. Provides: Complete parameter type reference, color format conversion tables, time unit conversion formulas, validation patterns, working Python examples with proper typing.
npx skillsauth add JosiahSiegel/claude-plugin-marketplace ffmpeg-python-integration-referenceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when Python code is constructing FFmpeg commands, filters, ASS subtitles, or raw-frame pipes and the risk is a type, unit, color, or stream-mapping bug. This SKILL is a lean orchestrator; detailed tables and full code examples live in references/python-ffmpeg-reference.md.
ffmpeg-python stream graphs and filter argumentssubprocess calls to FFmpegdrawtext, ASS/SSA, karaoke, and animated caption parameter mappingfontsize and crf are integers; bitrates are strings with units such as 5M or 192k; FFmpeg expressions are strings.x="(w-tw)/2", not Python variables named w or tw.ffmpeg-python, a video filter chain usually drops audio unless you map input_file.audio into the output.&HAABBGGRR.| FFmpeg / ASS parameter | Python type | Format / range | Common failure |
|---|---:|---|---|
| -crf | int or str | H.264/H.265 0-51 | passing 18.5 |
| -b:v, -b:a | str | 5M, 1000k, 192k | raw integer without unit |
| fontsize | int | practical 12-200 | passing '24' |
| fontcolor | str | white, #FFFFFF, 0xFFFFFF | RGB tuple/list |
| ASS colour | str | &HAABBGGRR | using RGB byte order |
| x, y, alpha, enable | str for expressions | '(w-tw)/2, between(t,1,5) | unquoted expression |
ffmpeg-python for command graphs, subprocess for full CLI parity and pipes, PyAV for frame-level library access.references/python-ffmpeg-reference.md - Full preserved reference: color conversion functions, ASS style structures, karaoke/animation helpers, drawtext parameter tables, ffmpeg-python examples, subprocess pipe patterns, pitfalls, validation helpers, full working examples.ffmpeg-opencv-integration - OpenCV/NumPy frame pipelines and BGR/RGB handoffffmpeg-pyav-integration - PyAV frame-level API patternsffmpeg-captions-subtitles - Subtitle extraction, burn-in, and stylingffmpeg-animation-timing-reference - Timing units, readability, easing, and syncdevelopment
Use for Clerk sessions, tokens, webhooks, orgs, and security. PROACTIVELY activate for session tokens, JWT templates, getToken(), custom claims, pending sessions, multi-session UX, organizations, roles, permissions, system vs custom permissions, features/plans, MFA/passkeys/password policy/bot protection, Clerk webhooks, Svix signatures, verifyWebhook(), user/org sync, retries/replays, environment variables, custom domains, secret rotation, logs, and auth security reviews. Provides token semantics, webhook idempotency, authorization defaults, and hardening checklist.
tools
Use for Clerk in Next.js. PROACTIVELY activate for @clerk/nextjs setup, App Router auth()/currentUser(), clerkMiddleware(), proxy.ts/middleware.ts, createRouteMatcher(), protected pages/layouts/Route Handlers/Server Actions/API routes/tRPC, auth.protect() role/permission/token checks, ClerkProvider placement, server-only clerkClient, Link prefetch, redirects, 401/404 auth failures, custom domains, __clerk proxy paths, and deployment gotchas. Provides file patterns, server/client boundary rules, matcher templates, and production checks.
development
Use for Clerk frontend auth flows. PROACTIVELY activate for React, JavaScript, Vue, Nuxt, Astro, Expo, React Router, TanStack React Start, or SPA setup; ClerkProvider and publishable-key wiring; SignIn/SignUp/UserButton/UserProfile/OrganizationSwitcher; custom useUser/useAuth/useClerk/useSignIn/useSignUp/useSession/useOrganization flows; multi-session UX; cross-origin getToken() fetches; loading states, redirects, routing, CORS/cookies, or hydration bugs. Provides SDK selection, UI patterns, token-fetch templates, and frontend gotchas.
development
Use for Clerk dev/prod readiness, deployment, and multi-language implementation planning. PROACTIVELY activate for environment variables, pk_test/sk_test vs pk_live/sk_live, local dev, preview/staging/prod instances, domains/DNS, redirects, OAuth credentials, custom domains/proxy, authorizedParties, CSP, CORS/cookies, webhooks/tunnels, Vercel/Netlify/Cloudflare/API gateways, monitoring/troubleshooting, and backends in Node/Express/Fastify, Python/FastAPI/Django/Flask, Go, Ruby/Rails, Java/Spring, .NET, PHP/Laravel. Provides checklists, rollout plans, and language-portable patterns.