reels-app/scripts
Sebastjan Artič 4488717f6f Filler detection: trim clip before la-la-la / instrumental medbridge
Problem: When a song has chorus → la-la-la medbridge → chorus structure,
Claude was including the whole 40s+ block, with 18 seconds of la-la-la
making the reel feel artificially extended.

Fix:
1. Prompt enhancement: explicitly tell Claude NEVER to include
   la-la-la / ooh ooh / yeah yeah / instrumental fillers
2. Post-LLM detection: scan corrected_segments for repetitive content
   (>70% repeated words) and trim clip before that segment
3. Max duration guidance reduced from 45s → 35s in prompt

This means: clip will end at the first chorus, not extend through fillers.
2026-04-29 11:17:16 +00:00
..
analyze.py Filler detection: trim clip before la-la-la / instrumental medbridge 2026-04-29 11:17:16 +00:00
clip.py Upgrade default Whisper model: small/medium → large-v3 for much better Slovenian/Slavic transcription accuracy 2026-04-29 08:20:18 +00:00
find_chorus.py Find chorus: weight repetitive short phrases (like 'Ohne dich x5') as strong chorus signal 2026-04-28 16:57:45 +00:00
reframe.py Major: smart selection pipeline (analyze.py) + audio fade + multi-lang auto-detect 2026-04-29 06:21:35 +00:00
subtitle.py Upgrade default Whisper model: small/medium → large-v3 for much better Slovenian/Slavic transcription accuracy 2026-04-29 08:20:18 +00:00
yt_download.py Add cookies support to yt_download.py for YouTube bot detection bypass 2026-04-28 15:47:59 +00:00