Communitygithub.com

오디오 클린업 — 음성 노이즈 제거

AI 비디오 편집 파이프라인의 음성/오디오 정리 단계로, 배경 노이즈를 진단하고 적절한 제거 방법을 선택하여 깨끗한 마스터를 생성합니다. '오디오/음성 정리', '배경 소음 제거', '노이즈 제거', '음성 분리' 등에 사용됩니다.

오디오 클린업 — 음성 노이즈 제거란 무엇인가요?

이 스킬은 비디오 편집 파이프라인에서 잠긴 컷(locked cut)의 배경 노이즈를 제거하여 깨끗한 음성 마스터(cleaned master)를 생성하는 오디오 클린업 단계입니다. 사용자가 요청한 잠긴 컷을 받아 노이즈 종류를 진단하고, ElevenLabs Voice Isolator(클라우드 ML, 동적 광대역 노이즈에 적합) 또는 로컬 RNNoise(정상/경미한 노이즈에 무료) 중 최적의 방법을 선택합니다. `tools/clean_voice.py`를 기반으로 샘플 A/B 비교를 통해 사용자 승인을 받은 후 전체 마스터를 처리하며, RMS 레벨을 보존하고 비디오 스트림은 그대로 복사합니다. 처리 후에는 `timeline.json`의 마스터 필드를 업데이트하여 이후 모든 파이프라인(TSX 베이크, SFX 믹스, 최종 어셈블리)이 깨끗한 음성을 사용하도록 합니다. 이 스킬은 SFX/음악 믹스나 컷 편집과는 별개이며, 최종 음량 조정은 final-mix 단계의 역할입니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/raisaksham377-bot/youtube-shorts-ai-editor/tree/HEAD/.claude/skills/clean-audio

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

clean-audio — 음성 클린업

잠긴 마스터 컷을 가져와 배경 노이즈를 제거하고, 음성이 자연스럽게 들리며 비디오는 그대로 유지되는 cleaned master를 생성합니다. 컷이 잠기면 초기에 실행되므로 다운스트림(TSX 베이크, SFX 믹스, 최종 어셈블리) 모두 깨끗한 음성을 사용합니다. 사용자와 협력하며; 최종 음량/리미팅은 final-mix 단계의 작업이며, 이 단계는 "노이즈 제거만, 레벨 유지"입니다.

엔진은 **tools/clean_voice.py**이며; 이 스킬은 그 주변의 판단입니다: 진단 → 방법 선택 → A/B → 클린업 → 재연결.

두 가지 방법 (노이즈 유형에 따라 선택 — 핵심 결정 사항)

방법설명사용 시기비용
--method elevenElevenLabs Voice Isolator (클라우드 ML 음성/노이즈 분리)음성 대역의 동적 광대역 노이즈 — 야외 흐르는 물, 바람, 교통, 군중, 카페. 로컬 도구로는 제거 불가능.~1000 크레딧/분 (5.5분 비디오 기준 ~$1); ELEVENLABS_API_KEY 필요
--method rnnoise --model sh (또는 cb)ffmpeg arnndn을 통한 로컬 RNNoise (tools/models/rnnoise/에 모델 있음)정상/경미한 노이즈 (일정한 히스, 팬, 약간의 룸 톤). 무료/오프라인. 동적 노이즈는 부분적으로만 제거.무료

video-1(야외 개울가 촬영)에서 입증됨: afftdn은 거의 효과 없었고, RNNoise는 물소리 바닥을 부분적으로만 어둡게 했으며, ElevenLabs는 거의 완벽하게 제거 (일시 정지 구간이 거의 무음, 음성 + 호흡 유지). 경험 법칙: 정상 노이즈 → 로컬 우선 시도; 동적 광대역(물/바람/교통) → ElevenLabs.

입력 (매번 먼저 읽고 측정)

  • 마스터 — videos/video-N/reference/<cut>.mp4 (또는 잠긴 컷). 원본은 절대 수정되지 않음; 출력은 새로운 -clean / -clean-<model> 파일.
  • 합성된 프리뷰 (존재하는 경우) — videos/video-N/output/video-N-preview.mp4, 오디오를 교체하여 컨텍스트 내 클린 프리뷰 생성 (비디오는 동일 — 재베이크 불필요).
  • videos/video-N/work/timeline.json — master 필드; 승인 시 이 필드를 clean master로 다시 연결.

워크플로우

  1. 방법을 선택하기 전에 노이즈를 진단하세요. 측정 및 확인:
    • 레벨: ffmpeg -i M -vn -af astats (RMS, 피크, 노이즈 플로어) + ebur128 (통합 LUFS, 트루 피크).
    • 음성 없는 간격 찾기 (edited-transcript.json에서 가장 큰 단어 간 간격 grep) 및 그곳의 순수 노이즈 RMS vs 음성 RMS 측정 → 실제 SNR.
    • 스펙트로그램: ffmpeg -i M -vn -lavfi showspectrumpic=s=1500x600:legend=1:scale=log out.png 그리고 확인. 험 = 안정적인 수평선 (50/60Hz) → 노치. 럼블 = 낮은 대역 → 하이패스. 음성 대역을 채우고 변동하는 광대역 바닥 = 동적 (물/바람) → ElevenLabs. HF 히스 = 밝은 상단 대역.
    • 익스포트가 이미 생성되었는지 확인 (압축/정규화/피크 맥스) — 복구 가능한 범위를 제한합니다.
  2. 진단 결과를 바탕으로 사용자와 방법을 결정하세요 (위 표 참조). 확실하지 않으면 A/B 비교.
  3. 먼저 짧은 샘플로 A/B 비교 (지출/커밋 전에 입증): 약 15초의 일시 정지가 풍부한 샘플을 자르고, 각 후보 방법을 실행한 후 서로 레벨 매칭하여 비교 — 귀로 (실제 테스트) 그리고 스펙트로그램(일시 정지 구간이 어두워짐 = 노이즈 제거)과 잔여 레벨로 비교. 사용자가 선택하도록 하세요.
  4. 전체 마스터 클린업: python tools/clean_voice.py videos/video-N/reference/<cut>.mp4 --method <선택됨> [--model sh] → <cut>-clean.mp4 (또는 -clean-<model>.mp4). 비디오 스트림은 복사됨 (빠르고, 비파괴적, 4K60 유지).
  5. 레벨은 LUFS가 아닌 RMS 매칭으로 보존 (도구가 이 작업을 수행). 통합 LUFS를 매칭하지 마세요 — 게이트가 적용되고 제거된 노이즈로 인해 부풀려져 음성이 클리핑으로 과도하게 부스트됩니다. 클린 파일은 노이즈가 있는 원본보다 낮은 통합 LUFS를 읽을 것입니다; 예상된 현상입니다 (노이즈가 숫자를 부풀렸음), 음성 RMS는 변하지 않습니다. 최종 음량을 -14 LUFS로 조정하는 것은 final-mix 단계의 작업입니다.
  6. 컨텍스트 내 프리뷰 제공 (선택 사항이지만 권장): 클린 오디오를 합성된 프리뷰에 교체 — ffmpeg -i preview.mp4 -i <cut>-clean.mp4 -map 0:v -map 1:a -c:v copy -c:a aac -shortest preview-clean.mp4 (비디오 동일, 재베이크 불필요). 전체 A/B 비교를 위해 FULL_*.mp3 스크럽 파일도 내보냅니다.
  7. 승인 시 파이프라인 재연결: timeline.json의 "master"를 클린 파일로 지정하여 모든 향후 베이크/믹스가 깨끗한 음성을 사용하도록 함; 필요한 경우 프리뷰 재베이크.

사용자에게 제시할 결정 사항

  • 방법 (진단 결과 기준) — 확실하지 않으면 A/B 비교.
  • 완전 무음 간격 vs 약한 앰비언스 바닥. 음성 분리는 모든 배경을 제거합니다; 야외 촬영의 경우 완전 무음 간격이 진공 밀봉된 느낌을 줄 수 있습니다. 원하면 낮은 레벨의 중립 앰비언스를 다시 추가하는 옵션을 제공하세요.
  • ElevenLabs 비용 (~1000 크레딧/분) — 전체 마스터 실행 전에 확인.

원칙 (하우스 스타일)

  • 작동하는 최소한의 처리. 목표는 방해 요소를 제거하는 것이지, 음성이 가공된 것처럼 들리게 만드는 것이 아닙니다. 노이즈를 제거하는 가장 부드러운 방법을 선호하세요; 깨끗한 트랙을 과도하게 스트리핑하지 마세요.
  • 진단 후 선택. 올바른 도구는 노이즈 유형에 따라 달라집니다 — 절대 블라인드로 노이즈 제거기를 켜지 마세요. 로컬 스펙트럴/RNNoise는 동적 광대역 노이즈를 분리할 수 없습니다; 그건 ElevenLabs의 작업입니다.
  • 커밋(및 지출) 전에 A/B 비교. 샘플로 입증; 사용자의 귀가 결정합니다.
  • 레벨 보존; 음량은 final-mix 단계의 작업. 피크 천장이 있는 RMS 매칭, 여기서 압축 없음.
  • 비파괴적. 원본 마스터는 그대로; 비디오 스트림은 복사됨; 출력은 새 파일.

도구 빠른 참조

  • 클린업: python tools/clean_voice.py IN.mp4 [--method eleven|rnnoise] [--model sh|cb] [-o OUT.mp4] [--no-preserve-loudness] [--keep]
  • 진단: ffmpeg -i M -vn -af astats -f null - · ffmpeg -i M -vn -lavfi showspectrumpic=... out.png (그런 다음 png를 확인).
  • RNNoise 모델: tools/models/rnnoise/<model>.rnnn (sh, cb).
  • 스크래치 샘플/스펙트로그램은 프로젝트가 아닌 스크래치패드에 저장.

완료 = 노이즈가 진단되고, 방법이 선택되었으며 (필요시 A/B), 전체 마스터가 레벨 보존과 함께 클린업되었고, 사용자가 귀로 승인했으며, 승인 시 timeline.json이 clean master를 가리킵니다. 노이즈 유형 → 방법 교훈이 나오면 메모리를 업데이트하세요.

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

raisaksham377-bot/youtube-shorts-ai-editor

Makes this repo's videos look like YOUR channel instead of the house default — interviews you for palette, fonts, wordmark, motion energy, delivery specs and SFX taste, then rewrites brand.md + remotion/src/brand.ts + remotion/src/fonts.ts together and renders a proof card so you SEE it. Use whenever the user wants to set up or change their brand, rebrand the repo, "make it my colors/fonts", change the accent color, set their wordmark, adjust the motion feel, or asks why their videos look like someone else's. Run it once before the first video. Not for per-video art direction (that is /make-tsx) and not for thumbnails, which are deliberately louder than the brand (that is /packaging).

raisaksham377-bot/youtube-shorts-ai-editor

Build a split-frame vertical Short/Reel (1080x1920) from talking-head footage — real face cropped into the bottom half throughout, bespoke motion-graphic beats + word-by-word captions in the top half. Use when the user wants a "vertical short", "reel", "9:16 video", "split-frame" format, asks to keep their face on screen the whole time while graphics play above it, wants an in-context app/UI mockup moment (like clicking a button in a browser) without cutting away from their face, or hits caption-pill-covers-my-face / no-GPU-rendering / audio-duration-mismatch problems while building one. Covers the crop-offset technique for framing the face, the caption-pill safe zone, the top-half-only UI-mockup scene pattern, the full pipeline from raw footage to final SFX mix, and the environment gotchas (no NVIDIA GPU, AAC priming gap, comp-native transcode). Topic-agnostic — this is a layout/technique skill, not tied to any one video's content. Builds on /clean-cut, /make-tsx conventions, and /suggest-sfx; doesn't rep...

raisaksham377-bot/youtube-shorts-ai-editor

Step 1 of the AI Video Editor pipeline — turn raw talking-head footage into a clean master cut. Use when the user wants to "clean cut", "cut the raw footage", "remove filler / dead air / bad takes", "tighten the pacing", produce cuts.json, run the cut editor, or render a cleaned preview/master for a video-N project in this repo. Covers audio extraction, AssemblyAI transcription, authoring cuts.json (keeps/cuts/fluff categorized), the cut policy (content-aggressive, pause-natural ~0.5s), QA + review docs, the local cut-editor UI, tight/natural previews, the final 4K60 render, and producing edited-transcript.json as the handoff to /make-tsx. Not for building TSX overlays (that is /make-tsx) or the raw TSX authoring rules (that is vidtsx-2d-generator).

raisaksham377-bot/youtube-shorts-ai-editor

Turn static SCREENSHOTS into a simulated screen recording (TSX) — a fake screencast with an animated cursor that eases to targets and clicks, a browser URL bar that updates per page, hard-cut navigations, in-page filter crossfades, smooth scroll, and a ken-burns zoom onto the payoff. Use when a beat needs to show a walkthrough of a web app / dashboard / settings page and you'd rather build it from screenshots than get (or ask for) a real screen recording — "fake a screen recording", "turn these screenshots into a screencast", "simulate clicking through the dashboard", "animate this UI walkthrough", "cursor moving through the app". Built on remotion/src/lib/screencast.tsx. This is a technique WITHIN step 2 (make-tsx): defer timeline/render/bake orchestration to make-tsx and raw crash-free TSX rules to vidtsx-2d-generator. Not for a single static page clone (use WebBrowserFrame directly) and not when the point is genuine proof of real speed/output (use a real recording).

raisaksham377-bot/youtube-shorts-ai-editor

Step 2 of the AI Video Editor pipeline — build the visual beats (Remotion TSX shots) over a project's master cut and bake a composited preview. Use when the user wants to add/edit overlays or full-screen animation segments, "make a shot / beat", implement an edit plan or a v2 update, retime a beat to the narration, re-render shots, or re-bake the video-N preview in this repo. Covers reading the plan + edited-transcript + brand + reusable kit, authoring shots library-first, syncing reveals to word times, updating timeline.json (cutaway vs overlay), rendering, verifying by screenshot, and baking with tools/bake.py. Defers raw TSX authoring rules to vidtsx-2d-generator and the cut itself to clean-cut.

raisaksham377-bot/youtube-shorts-ai-editor

Generates click-optimized YouTube packaging — 3 thumbnail bets under one fixed title, engineered for YouTube's built-in A/B/C thumbnail test, plus a value-forward description, then renders the thumbnails as real images. Use this whenever you want to package a long-form video or turn a video idea into titles and thumbnails. Triggers include how would you package this, title ideas for, thumbnail concept, package this video, A/B variations, and make this clickable. Calibrates to your channel's own CTR data if you have it. Long-form only, never Shorts. Not for non-YouTube copywriting.

raisaksham377-bot/youtube-shorts-ai-editor

Step 4 of the AI Video Editor pipeline — the SFX pass. Analyze a video's beats + narration and propose tasteful sound effects synced to them, drawing from (and growing) a shared, reusable SFX library, then render an SFX-mixed audition preview. Use when the user wants to "add SFX / sound effects", "suggest sfx", "score the transitions", "sound-design this beat", generate/source sound effects, build or extend the sfx library/catalog, author or audit a sfx-plan, or mix SFX over a video-N preview in this repo. Covers reading timeline + edited-transcript + brand §10, the library-first flow, generating misses with the ElevenLabs Sound Effects API, the per-video sfx-plan.json, the hard user-audit gate, and mixing with tools/mix_sfx.py (light voice ducking). Not the music bed (that is the final-mix step) and not the visual beats (that is /make-tsx).

raisaksham377-bot/youtube-shorts-ai-editor

Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files.

관련 스킬