AI Skill Report Card

Editing Beat Synced Saree Reels

A-88·Nov 30, 2026·Source: Web

Editing Beat-Synced Saree Reels

13 / 15

Run these in order. Assumes ffmpeg, yt-dlp, and librosa (Python) are installed.

Bash
# 1. Inputs: reference URL, B-roll folder, logo file mkdir -p work/{audio,clips,stab,graded,out} # 2. Download the reference audio yt-dlp -x --audio-format wav -o "work/audio/ref.%(ext)s" "REFERENCE_URL" # 3. Detect beats python3 - <<'EOF' import librosa, json y, sr = librosa.load("work/audio/ref.wav") tempo, beats = librosa.beat.beat_track(y=y, sr=sr, units="time") json.dump({"tempo": float(tempo), "beats": [float(b) for b in beats]}, open("work/beats.json","w")) print(f"{float(tempo):.0f} BPM, {len(beats)} beats") EOF

Then: build the beat map, stabilize, grade, assemble, animate the logo, and export 1080x1920 H.264 with the trimmed audio running through to the end.

Recommendation▾
Make the Quick Start end-to-end or clearly scoped: it currently stops at beat detection and then says 'Then: build the beat map...'. Add a minimal script that turns beats.json into a cut map (hook on every beat, then pattern-skip with downbeat protection) so the core value is actionable upfront.
15 / 15
Progress:
- [ ] Step 1: Confirm inputs and audio source
- [ ] Step 2: Download audio and detect beats
- [ ] Step 3: Choose the track segment
- [ ] Step 4: Build the cut map
- [ ] Step 5: Stabilize shaky clips
- [ ] Step 6: Color grade
- [ ] Step 7: Assemble the edit
- [ ] Step 8: Logo animation (upscale if blurry)
- [ ] Step 9: Export and QC

Step 1: Confirm inputs and audio source

Needed: reference link or file, B-roll clips, logo file. If the reference is a Reel/TikTok URL, yt-dlp can usually pull the audio. If the download fails (private, geo-blocked, DRM, or the platform blocks it), do not substitute a different track. Ask the user for the audio file directly. The user has authorized using this audio. Note that platform-licensed music may still be restricted for commercial posting, so flag this once in the handoff notes and move on.

Step 2: Download audio and detect beats

Use the Quick Start commands. Check the result:

  • Tempo sanity check: if librosa returns half or double the felt tempo (e.g., 70 vs. 140 BPM), pick whichever gives 1-2 cuts per second in the opening.
  • Verify by rendering a click track over the audio and listening before committing.

Step 3: Choose the track segment

Use only what the reel needs. Target 15-30 seconds of picture plus the logo outro (~2-3 s).

  • Start at a beat-aligned point with a clear rhythmic entry (a drop, riser end, or downbeat). Never start mid-phrase.
  • End on a phrase boundary or a strong downbeat so the logo lands on a musical resolution.
  • Apply a 0.3 s fade-in and a 1-1.5 s fade-out only at the very end.
Bash
ffmpeg -ss START -to END -i work/audio/ref.wav \ -af "afade=t=in:d=0.3,afade=t=out:st=DUR-1.2:d=1.2" work/audio/cut.wav

Step 4: Build the cut map

Apply this rule exactly:

WindowRule
0:00-0:05Cut on every beat. This is the hook.
After 0:05Skip up to ~30% of beats so each shot stays readable.

How to choose which beats to skip after 5 s:

  1. Never skip a downbeat (bar start) or a beat on a big musical accent.
  2. Skip off-beats first, in a pattern (e.g., hold across beats 2-3 of a bar) rather than randomly.
  3. Enforce a minimum shot length of ~0.8 s after the hook, so the drape, pleats, and border are visible.
  4. Let hero shots (full-length drape, pallu reveal, border detail) hold for 2 beats.
  5. Count the skips. If it exceeds 30% of post-5 s beats, restore beats until it is at or below.

Write the map as JSON: [{"t_start": 0.00, "t_end": 0.46, "clip": "A.mp4"}, ...].

Step 5: Stabilize shaky clips

Two-pass vidstab. Only process clips that are visibly shaky (test: crop-compare or inspect motion).

Bash
ffmpeg -i in.mp4 -vf vidstabdetect=shakiness=6:accuracy=15 -f null - ffmpeg -i in.mp4 -vf "vidstabtransform=smoothing=20:zoom=2:optzoom=1,unsharp=5:5:0.6" work/stab/out.mp4
  • Keep zoom low to avoid cropping fabric edges.
  • If a clip warps (jello on fabric), lower smoothing to 10 or fall back to a gentle 3-5% punch-in with a lighter stabilization.

Step 6: Color grade

The "aesthetic" look should flatter fabric: rich saturation without clipped colors, soft highlights, warm skin.

Default grade (apply to all clips for consistency):

Bash
ffmpeg -i in.mp4 -vf "\ eq=contrast=1.08:saturation=1.15:gamma=0.97,\ colorbalance=rs=.03:gs=-.01:bs=-.04:rm=.02:bm=-.02:rh=.04:bh=-.03,\ curves=all='0/0.02 0.5/0.52 1/0.97',\ vignette=PI/6" graded/out.mp4

Rules:

  • Skin tones first. If faces look orange or green, reduce colorbalance before touching saturation.
  • Match every clip to the hero shot so the sequence feels like one film.
  • Protect the saree's true color: compare to the product photo if supplied. Never let the grade shift a maroon to brown or a teal to green.
  • Light film grain (noise=alls=6:allf=t) is optional; skip if it muddies zari detail.

Step 7: Assemble the edit

  1. Conform every clip to 1080x1920, 30 fps (or the source fps if all match 24/25).
  2. Trim each clip to its cut-map duration, choosing the best moment within the clip (not just the first frames).
  3. Use each B-roll clip once. Track usage in a table.
  4. If you run out of clips, reuse with disguise:
    • Use a different segment of the clip (non-overlapping time range).
    • Change framing: different crop/punch-in region (e.g., switch from full drape to border close-up).
    • Flip horizontally only if there is no text, logo, or asymmetric design that breaks.
    • Alter speed (e.g., 85% slow-mo vs. 100%) and re-time to the beat.
    • Never reuse the same segment back-to-back or within 4 shots.
  5. Cuts are hard cuts on the beat; add occasional 2-4 frame whip or zoom transitions on downbeats only. No long dissolves.
  6. Place the trimmed audio under the full timeline.

Step 8: Logo animation

Upscale if blurry. Test: view at 100% on a 1080-wide canvas. If edges are soft or pixelated, upscale to 4K (3840x2160 canvas, or 4K on the long edge for the asset).

Bash
# Prefer an AI upscaler for logos (Real-ESRGAN, or waifu2x for flat art) realesrgan-ncnn-vulkan -i logo.png -o logo_4k.png -s 4 # Fallback if no AI tool available ffmpeg -i logo.png -vf "scale=3840:-1:flags=lanczos,unsharp=5:5:0.8" logo_4k.png

If the logo is vector (SVG/AI/PDF), re-render at 4K instead of upscaling. Remove any halo or background fringe afterward.

Animation: 2-3 seconds, subtle and premium.

  • Fade in plus a 5% scale-up (ease-out), or a soft light-sweep across the mark.
  • Hold fully visible for at least 1 s.
  • Background: the last graded frame slightly dimmed and blurred (gaussian ~12), or a solid brand color.
  • Audio: the same soundtrack continues underneath. Do not add any whoosh, ding, or logo sting. The only audio change is the planned fade-out.

Step 9: Export and QC

Bash
ffmpeg -i assembled.mp4 -i work/audio/cut.wav -map 0:v -map 1:a \ -c:v libx264 -crf 17 -preset slow -pix_fmt yuv420p -r 30 \ -c:a aac -b:a 256k -shortest -movflags +faststart work/out/reel.mp4

QC checklist:

  • Cuts land on beats (spot-check 5 cuts against the click track)
  • First 5 s: every beat cut
  • Post-5 s: skipped beats are at or below ~30%
  • No shot shorter than ~0.8 s after the hook
  • No shaky footage remains; no fabric warping
  • Color consistent; saree color accurate
  • Each clip used once (or reused with disguised edits)
  • Logo sharp, held at least 1 s, no extra sound effect
  • Audio continuous through the logo, fades out cleanly
  • Safe zones: key content clear of the top/bottom ~250 px (UI overlay)
Recommendation▾
Add bad-versus-good examples with concrete numbers: e.g., a random-skip beat map that feels off-rhythm vs. a patterned one, or a over-stabilized (warped fabric) vs. correctly stabilized clip with the exact vidstab parameters used. Current examples show only successful outputs, and Example 2 and 3 are prose summaries rather than literal input/output artifacts like a cut-map JSON snippet.
15 / 20

Example 1: Beat map Input: 128 BPM track (beat every ~0.47 s), 24 s reel. Output: Hook 0-5 s: 11 cuts (every beat). Post-5 s: 40 beats available, 11 skipped (27.5%), so a 2-beat hold on the pallu reveal and the full-drape shot, with the rest as 1-beat cuts. Logo from 21.5 s on the final downbeat.

Example 2: Disguised reuse Input: 9 clips, 12 slots needed. Output: Clips 1-9 used once, in order. Slot 10 is clip 3, seconds 6-8 (a different segment), punched in 130% on the border. Slot 11 is clip 5 at 85% speed, mirrored (no text in frame). Slot 12 is clip 7, tail end, cropped to the shoulder and pleats. None are adjacent to their originals.

Example 3: Blurry logo Input: 600x300 PNG logo with soft edges. Output: Upscaled 4x with Real-ESRGAN to 2400x1200, then placed on the 3840x2160 timeline at 40% width. Edges cleaned, 5% scale-up fade-in over 0.8 s, 1.2 s hold. Soundtrack continues, no added SFX.

Recommendation▾
Trim redundancy and unsupported specifics: the 'Best Practices' and 'Common Pitfalls' sections restate rules already given in Steps 4-8 (30% skip limit, no logo SFX, ask for audio instead of swapping). Also flag that the color grade default values and vidstab settings are starting points to be tuned per footage, and clarify the inconsistency between 'conform to 30 fps' and the '24/25 source fps' alternative to avoid ambiguity.
  • Open with the most striking shot (best drape, strongest color) as frame 1.
  • Alternate shot scales: wide, detail, motion, close-up. It keeps rhythm interesting.
  • Let fabric movement lead: cut on a swish or turn, not mid-stillness.
  • Keep a consistent grade; do not use different looks per clip.
  • Save the cut map and clip-usage table in the project folder for easy revisions.
  • Deliver a short handoff note: BPM, segment used, beats skipped (count and %), which clips were reused and how, and any licensing flag for the audio.
  • Starting the audio mid-phrase, so the edit feels random.
  • Cutting every beat all the way through, so the saree is never really seen. Obey the 30% skip allowance after 5 s.
  • Skipping beats at random, which feels off-rhythm. Skip in a pattern, keep downbeats.
  • Over-stabilizing into warped fabric or heavy crops that cut off the border or pallu.
  • Crushing color to look "moody" and misrepresenting the saree's real shade, a real return risk for the brand.
  • Adding a logo sound effect or restarting the music at the outro. The same track must carry through.
  • Upscaling with plain bicubic and leaving a soft logo. Use an AI upscaler or the vector source.
  • Reusing clips unaltered, or the same shot back-to-back.
  • Silently swapping the audio if the download fails. Ask for the file instead.
  • Ignoring safe zones, so captions or UI cover the saree or logo.
0
Grade A-AI Skill Framework
Scorecard
Criteria Breakdown
Quick Start
13/15
Workflow
15/15
Examples
15/20
Completeness
17/20
Format
15/15
Conciseness
13/15