Reverse-engineer any video, shot by shot: filmed, AI-generated or coded, and how to remake it. Breakdowns in the open VIDEO.md format. 逆向一切视频,逐个镜头看是拍的、AI 生成的还是代码做的,再告诉你怎么复刻;拆解结果按 VIDEO.md 格式输出。
Python agent-skillsai-videoaigc-detectionclaude-codecodexffmpegprompt-engineeringremotionreverse-engineeringshort-videoshot-detectionsubtitlesvideo-analysisvideo-breakdownvideo-editingvideo-generationvideomdvlm
Fix pitch analysis past the end of audio
chitiz3d9a740b7b5d
diff --git a/rea_video/speakers.py b/rea_video/speakers.pyindex 67bc253..a556d88 100644--- a/rea_video/speakers.py+++ b/rea_video/speakers.py@@ -287,7 +287,10 @@ def _pitch(x: np.ndarray, ranges: list[tuple[float, float]]) -> dict:lo, hi = int(SR / 400), int(SR / 70)f0 = []for a, b in ranges:- for s in range(int(a * SR), int(b * SR) - frame, frame):+ # The diarization model can report a turn ending in padding past the real audio.+ start = max(0, int(a * SR))+ end = min(len(x), int(b * SR))+ for s in range(start, end - frame + 1, frame):seg = x[s:s + frame]if np.sqrt(np.mean(seg ** 2)) < 0.01:continue