[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CHZM74PFY9N5ED6RBEB1AY":3,"skill-same:01M6CHZM74PFY9N5ED6RBEB1AY":115},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":8,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":7,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6CHZM74PFY9N5ED6RBEB1AY","deflicker-runner","视频去闪烁处理",null,"","isaacrowntree\u002Fdeflicker-runner","isaacrowntree","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11435437?v=4","01M6CHZH6EB2NRWY94PZ31M5ZV","Isaac Rowntree","01M6CHZHAZBT7WWEWK8GF83KVZ",1,"MIT","https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BR5V816HPKFXP1YV56C07K","多媒体工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BZ46FYV5AM3SZCCPTV85Y2","视频生成与制作","SCENARIO","使用场景",[30,31,32],"runner","deflicker","deflicker runner","2026-11-10 10:12:30",false,"---\r\nname: deflicker\r\ndescription: Fix LED flicker in video footage. Removes LED PWM flicker from overhead panels beating against rolling shutter cameras. Handles both whole-frame flicker (reflected LED light on walls\u002Fceiling) and spot flicker (small filament bulbs). Use when user reports flickering, pulsing, or strobing in indoor video shot under LED lights.\r\nargument-hint: [input-video] [output-video]\r\nallowed-tools: Read, Bash(python3 *), Bash(ffmpeg *), Bash(ffprobe *), Write, Glob, Grep\r\n---\r\n\r\n# Deflicker Runner\r\n\r\nFix LED flicker in video footage caused by LED PWM drivers beating against rolling shutter cameras.\r\n\r\n## Quick Start\r\n\r\n```bash\r\n# Auto-detect flicker type and fix\r\npython3 deflicker.py auto input.MP4 output.MP4 --duration=5\r\n\r\n# Whole-frame LED flicker (best approach)\r\npython3 deflicker.py temporal-median input.MP4 output.MP4 --radius=2\r\n\r\n# Small flickering bulbs \u002F fairy lights\r\npython3 deflicker.py spot-replace input.MP4 output.MP4 --start=128 --duration=5\r\n\r\n# Diagnose flicker type before fixing\r\npython3 diagnose.py input.MP4\r\n\r\n# Run tests\r\npython3 test_deflicker.py verify\r\n```\r\n\r\n## Two Video Types\r\n\r\n### Whole-frame flicker\r\nLED panels reflect off walls, ceiling, floors. The entire frame pulses because the reflected light covers large surfaces. Dark surfaces show it most — bright LED panels are saturated and don't flicker visibly.\r\n\r\n**Detection:** Row brightness at 540p varies 1-3% frame-to-frame with 3-frame repeating pattern.\r\n\r\n### Spot flicker\r\nSmall flickering light sources — exposed filament bulbs, fairy lights, candles. Only a few pixels flicker while the rest of the frame is stable. Standard 540p approaches miss these (2-5 pixels at 4K = sub-pixel at 540p).\r\n\r\n**Detection:** Bright pixels (>150) with high temporal std (>40) in small clusters.\r\n\r\n## Approaches\r\n\r\n| Approach | Type | Best For | Performance |\r\n|----------|------|----------|-------------|\r\n| `auto` | auto | Default — detects and selects | Quick scan |\r\n| `temporal-median` | 2D | Whole-frame LED flicker (recommended) | ~15 fps compute, ~20 fps apply |\r\n| `running-mean` | 1D | General-purpose deflicker | Fast compute |\r\n| `spot-replace` | spot | Small filament bulbs, fairy lights | ~8 fps apply |\r\n| `pixel-smooth` | 2D | Scene changes, motion-preserving | ~2 fps compute |\r\n| `bcc` | 1D | Scene changes (per-row) | Medium |\r\n| `fft-notch` | 1D | Precise LED beat removal only (~2%) | Fast |\r\n| `physical-model` | 1D | Known LED frequency, physics-based | Slow (fitting) |\r\n| `global-row` | 1D | Global frame brightness variation | Fast |\r\n| `hybrid` | 1D | Experimental (not recommended) | Medium |\r\n\r\n### Type key\r\n- **1D**: Per-row corrections at 540p, interpolated to full resolution\r\n- **2D**: Per-pixel corrections at 540p, bilinearly upscaled to full resolution (uses cv2.resize, 96x faster than scipy)\r\n- **spot**: Full-resolution detection + per-box correction (works at native 4K)\r\n\r\n## Common Parameters\r\n\r\n```\r\n--qp=10              Output quality (lower = better, 10 = near-lossless)\r\n--start=30           Start time in seconds\r\n--duration=5         Process N seconds\r\n--dark-floor=25      Suppress corrections below this brightness\r\n--radius=2           Temporal radius (temporal-median, spot-replace)\r\n--window=300         Temporal window for running-mean\r\n--bright-threshold=150  Spot detection: min pixel brightness\r\n--std-threshold=40      Spot detection: min temporal std\r\n```\r\n\r\n## Performance Notes\r\n\r\n- Uses CUDA-accelerated ffmpeg decode + NVENC encode\r\n- cv2.resize for 2D correction upscale: 96x faster than scipy.ndimage.zoom\r\n- QP=10 needed to preserve subtle 2% corrections\r\n- Per-box delta storage: ~50MB vs 3.2GB full-frame for spot-replace\r\n\r\n## Results\r\n\r\n### C1608 (whole-frame, temporal-median r=2)\r\n- Ceiling: 57% std reduction, 85% 3-frame oscillation removal\r\n- Wall: 66% std reduction, 76% 3-frame oscillation removal\r\n\r\n### C1595 (spot flicker, spot-replace r=2)\r\n- Both filament bulbs detected and corrected at 4K resolution\r\n- Fixed detection: bright>150, std>40 (was broken with adaptive threshold)\r\n\r\n## Integration with color-grade-ai\r\n\r\nDeflicker BEFORE applying color correction LUTs:\r\n```\r\nraw clip → deflicker.py → color-corrected clip (in Premiere\u002FResolve)\r\n```\r\n\r\n## Physics\r\n\r\n- **Australian mains:** 50Hz → LED PWM at 100Hz\r\n- **Camera:** 59.94fps rolling shutter (Sony A7IV)\r\n- **Beat:** 100Hz mod 59.94fps = 19.88Hz aliased (3-frame cycle)\r\n- **Amplitude:** ~2% on ceiling, ~1.8% on walls (subtle but perceptible at 20Hz)\r\n","# Deflicker Runner\r\n\r\nFix LED flicker in video footage caused by LED PWM drivers beating against rolling shutter cameras.\r\n\r\n## Quick Start\r\n\r\n```bash\r\n# Auto-detect flicker type and fix\r\npython3 deflicker.py auto input.MP4 output.MP4 --duration=5\r\n\r\n# Whole-frame LED flicker (best approach)\r\npython3 deflicker.py temporal-median input.MP4 output.MP4 --radius=2\r\n\r\n# Small flickering bulbs \u002F fairy lights\r\npython3 deflicker.py spot-replace input.MP4 output.MP4 --start=128 --duration=5\r\n\r\n# Diagnose flicker type before fixing\r\npython3 diagnose.py input.MP4\r\n\r\n# Run tests\r\npython3 test_deflicker.py verify\r\n```\r\n\r\n## Two Video Types\r\n\r\n### Whole-frame flicker\r\nLED panels reflect off walls, ceiling, floors. The entire frame pulses because the reflected light covers large surfaces. Dark surfaces show it most — bright LED panels are saturated and don't flicker visibly.\r\n\r\n**Detection:** Row brightness at 540p varies 1-3% frame-to-frame with 3-frame repeating pattern.\r\n\r\n### Spot flicker\r\nSmall flickering light sources — exposed filament bulbs, fairy lights, candles. Only a few pixels flicker while the rest of the frame is stable. Standard 540p approaches miss these (2-5 pixels at 4K = sub-pixel at 540p).\r\n\r\n**Detection:** Bright pixels (>150) with high temporal std (>40) in small clusters.\r\n\r\n## Approaches\r\n\r\n| Approach | Type | Best For | Performance |\r\n|----------|------|----------|-------------|\r\n| `auto` | auto | Default — detects and selects | Quick scan |\r\n| `temporal-median` | 2D | Whole-frame LED flicker (recommended) | ~15 fps compute, ~20 fps apply |\r\n| `running-mean` | 1D | General-purpose deflicker | Fast compute |\r\n| `spot-replace` | spot | Small filament bulbs, fairy lights | ~8 fps apply |\r\n| `pixel-smooth` | 2D | Scene changes, motion-preserving | ~2 fps compute |\r\n| `bcc` | 1D | Scene changes (per-row) | Medium |\r\n| `fft-notch` | 1D | Precise LED beat removal only (~2%) | Fast |\r\n| `physical-model` | 1D | Known LED frequency, physics-based | Slow (fitting) |\r\n| `global-row` | 1D | Global frame brightness variation | Fast |\r\n| `hybrid` | 1D | Experimental (not recommended) | Medium |\r\n\r\n### Type key\r\n- **1D**: Per-row corrections at 540p, interpolated to full resolution\r\n- **2D**: Per-pixel corrections at 540p, bilinearly upscaled to full resolution (uses cv2.resize, 96x faster than scipy)\r\n- **spot**: Full-resolution detection + per-box correction (works at native 4K)\r\n\r\n## Common Parameters\r\n\r\n```\r\n--qp=10              Output quality (lower = better, 10 = near-lossless)\r\n--start=30           Start time in seconds\r\n--duration=5         Process N seconds\r\n--dark-floor=25      Suppress corrections below this brightness\r\n--radius=2           Temporal radius (temporal-median, spot-replace)\r\n--window=300         Temporal window for running-mean\r\n--bright-threshold=150  Spot detection: min pixel brightness\r\n--std-threshold=40      Spot detection: min temporal std\r\n```\r\n\r\n## Performance Notes\r\n\r\n- Uses CUDA-accelerated ffmpeg decode + NVENC encode\r\n- cv2.resize for 2D correction upscale: 96x faster than scipy.ndimage.zoom\r\n- QP=10 needed to preserve subtle 2% corrections\r\n- Per-box delta storage: ~50MB vs 3.2GB full-frame for spot-replace\r\n\r\n## Results\r\n\r\n### C1608 (whole-frame, temporal-median r=2)\r\n- Ceiling: 57% std reduction, 85% 3-frame oscillation removal\r\n- Wall: 66% std reduction, 76% 3-frame oscillation removal\r\n\r\n### C1595 (spot flicker, spot-replace r=2)\r\n- Both filament bulbs detected and corrected at 4K resolution\r\n- Fixed detection: bright>150, std>40 (was broken with adaptive threshold)\r\n\r\n## Integration with color-grade-ai\r\n\r\nDeflicker BEFORE applying color correction LUTs:\r\n```\r\nraw clip → deflicker.py → color-corrected clip (in Premiere\u002FResolve)\r\n```\r\n\r\n## Physics\r\n\r\n- **Australian mains:** 50Hz → LED PWM at 100Hz\r\n- **Camera:** 59.94fps rolling shutter (Sony A7IV)\r\n- **Beat:** 100Hz mod 59.94fps = 19.88Hz aliased (3-frame cycle)\r\n- **Amplitude:** ~2% on ceiling, ~1.8% on walls (subtle but perceptible at 20Hz)\r\n",{},"master","7f7f4279e09fea7a60806fb14a0b2e8b867cb8b1",0,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner","https:\u002F\u002Fgithub.com\u002Fisaacrowntree","https:\u002F\u002Fisaacrowntree.com","Head of Tech · TripTech \u002F CamperMate · THL. OSS: agent CLIs, RN Nitro, Rust\u002FIBKR → isaacrowntree.com","2026-02-08 13:07:03",{"source":9,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add isaacrowntree\u002Fdeflicker-runner --skill deflicker-runner",{"tool":52,"command":53},"bunx","bunx skills add isaacrowntree\u002Fdeflicker-runner --skill deflicker-runner",{"tool":55,"command":56},"pnpm","pnpm dlx skills add isaacrowntree\u002Fdeflicker-runner --skill deflicker-runner","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002FSKILL.md",true,[60,66,72,76,82,86,90,95,99,103,107,111],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},".gitignore","OTHER","其他",72,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002F.gitignore",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"deflicker.py","SCRIPT","脚本",56795,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002Fdeflicker.py",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"diagnose.py",14329,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002Fdiagnose.py",{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"docs\u002Fapproaches.md","REFERENCE","参考文档",5302,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002Fdocs\u002Fapproaches.md",{"path":83,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":84,"sourceHtmlUrl":85},"docs\u002Fdiagnosis.md",4395,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002Fdocs\u002Fdiagnosis.md",{"path":87,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":88,"sourceHtmlUrl":89},"docs\u002Fperformance.md",3599,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002Fdocs\u002Fperformance.md",{"path":91,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"LICENSE","许可证",1083,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002FLICENSE",{"path":96,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":97,"sourceHtmlUrl":98},"motion_blur_flow.py",9748,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002Fmotion_blur_flow.py",{"path":100,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":101,"sourceHtmlUrl":102},"presets.yml",9090,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002Fpresets.yml",{"path":104,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":105,"sourceHtmlUrl":106},"README.md",3567,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002FREADME.md",{"path":108,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fcontent-stress-test-cases.md",3786,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FHDeibler\u002Funiversal-design-principles\u002Fplugins\u002Fprocess-and-robustness-principles\u002Fskills\u002Ffactor-of-safety-content-stress\u002Freferences\u002Fcontent-stress-test-cases.md",{"path":112,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":113,"sourceHtmlUrl":114},"test_deflicker.py",12910,"https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002Ftest_deflicker.py",[116],{"skillNo":117,"name":31,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":118,"categories":119,"keywords":124,"publishedAt":33},"01M6CHZK585ATZKQ5WEXP62RBP","https:\u002F\u002Fgithub.com\u002Fisaacrowntree\u002Fdeflicker-runner\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fdeflicker\u002FSKILL.md",[120,121],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":122,"categoryName":123,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8CFMPEJCAMZXSDJ8JXC1WY5","图像增强与画质优化",[31]]