ffmpeg-ocr-logo
Installation
SKILL.md
Ffmpeg Ocr Logo
Context: $ARGUMENTS
OCR, logo removal, and QR operations inside ffmpeg are filter-graph operations. They run on the decoded frame, emit results as frame metadata under lavfi.<filter>.*, and/or modify pixels in place. All are re-encode only — you cannot stream-copy through any of these filters.
Several of the filters in this skill are build-flag gated — ocr needs --enable-libtesseract, quirc needs --enable-libquirc, and qrencode needs --enable-libqrencode. Many static / minimal ffmpeg builds ship without these. Always check the build first (Step 1) before writing a pipeline.
Quick start
- Read text from video: → Step 1 (check
ocr) → Step 2 (pick "OCR") → Step 3 - Hide a known rectangle (e.g. bug/logo at fixed coords): → Step 2 (pick "delogo") → Step 3
- Remove a logo with an alpha mask PNG: → Step 2 (pick "removelogo") → Step 3
- Find and hide a recurring graphic (reference image): → Step 2 (pick "find-rect + cover-rect") → Step 3
- Decode QR codes from frames: → Step 1 (check
quirc) → Step 2 (pick "QR decode") → Step 3 - Burn a QR code overlay into video: → Step 1 (check
qrencode) → Step 2 (pick "QR encode") → Step 3