AI Skill Report Card

Producing Malayalam Narrated Animated Videos

B+80·Nov 27, 2026·Source: Web
13 / 15

Claude cannot receive or render media in a chat. Attachments (audio, video) are not accessible and a finished video file cannot be delivered here. What Claude can do is build the pipeline that produces the video on the user's machine. State this in the first reply, then deliver the project.

Minimum viable pipeline (run locally):

Bash
# 1. Setup mkdir ml-video && cd ml-video npm init -y && npm i remotion @remotion/cli @remotion/captions react react-dom pip install openai-whisper pydub sudo apt install ffmpeg fonts-anek-malayalam 2>/dev/null || true # Download Anek Malayalam (Google Fonts, OFL licensed) into public/fonts/ # 2. Put files in place # public/narration.mp3 <- user's ORIGINAL audio, untouched # public/transcript.txt <- user's EXACT Malayalam subtitle text, one cue per line # 3. Align text to audio (timestamps only; never alter the text) python align.py # produces public/cues.json # 4. Preview and render npx remotion studio npx remotion render Main out/final.mp4 --width=1080 --height=1920 --fps=30
Recommendation▾
Replace the abstract prose in the Examples section with concrete input/output pairs. Show a real cues.json excerpt, a full scene-plan row for a specific Malayalam line, and a rendered-frame description or props object. Include a bad example (a subtitle line that was paraphrased, or a broken chillu rendering) next to the correct one, since the skill's central rule is that the text stays immutable.
14 / 15
Progress:
- [ ] Step 1: Set expectations (what Claude can and cannot do in chat)
- [ ] Step 2: Gather the minimum inputs (audio, transcript, topic, brand colors)
- [ ] Step 3: Generate cue timing with forced alignment
- [ ] Step 4: Build a scene plan mapped to cue timestamps
- [ ] Step 5: Generate the Remotion project (scenes, subtitles, SFX/music layers)
- [ ] Step 6: Provide render commands and a QA checklist

Step 1: Set expectations

Say plainly, once, up front:

  • Audio and video attachments cannot be opened or processed in chat, and no finished MP4 can be returned.
  • The deliverable is a complete, runnable project. The user runs one render command to get the 1080x1920 MP4.
  • The original audio is used as-is via <Audio src="narration.mp3" />. Never re-encode, denoise, or replace it.

Step 2: Gather minimum inputs

Ask only what blocks progress, in one message:

  1. The Malayalam transcript text (pasted, since the attachment is not visible).
  2. The topic and tone (tech explainer, finance, motivational, etc.).
  3. Whether UI demonstrations are needed, and which app or site.

If the user says "decide yourself," pick defaults and proceed. Defaults: dark navy #0B1020 background, accent #FFB800, secondary #4F8CFF, white text.

Step 3: Forced alignment (timestamps only)

The subtitle text must remain exactly as supplied. Use Whisper only to obtain timing, then map the user's lines onto those times.

Python
# align.py import json, whisper model = whisper.load_model("medium") result = model.transcribe("public/narration.mp3", language="ml", word_timestamps=True) lines = [l.strip() for l in open("public/transcript.txt", encoding="utf-8") if l.strip()] segs = result["segments"] # Distribute user lines across segments proportionally by character count total_chars = sum(len(l) for l in lines) audio_end = segs[-1]["end"] cues, t = [], segs[0]["start"] for line in lines: dur = (len(line) / total_chars) * (audio_end - segs[0]["start"]) cues.append({"text": line, "start": round(t, 2), "end": round(t + dur, 2)}) t += dur json.dump(cues, open("public/cues.json", "w", encoding="utf-8"), ensure_ascii=False, indent=2)

Then tell the user to scrub in Remotion Studio and nudge any cue whose timing drifts. Whisper's Malayalam recognition is imperfect, so timing is checked visually while the text stays untouched.

Step 4: Scene plan

Map each cue (or group of 2-3 cues) to one scene. Every scene needs a distinct visual idea, not a reused template.

Narration intentVisual treatment
Hook / opening questionKinetic typography, camera push-in, glow pulse
Problem statementGlitchy cards, red accent, shake easing
Explanation of a conceptIsometric 3D-style shapes (CSS transforms or @remotion/three), animated diagram with arrows
Data / numbersAnimated counters, bar and line charts drawing in
Tool or app demoPhone mockup with a scripted UI walkthrough, cursor motion, tap ripples
Steps / processNumbered timeline revealing sequentially
Conclusion / CTALogo or handle reveal, subscribe animation, confetti burst

Step 5: Project structure to generate

src/
  Root.tsx            <- Composition: 1080x1920, 30fps, duration = audio length
  Main.tsx            <- Sequences from scene plan + global layers
  scenes/             <- one component per scene
  components/
    Subtitles.tsx
    PhoneMockup.tsx
    Transition.tsx
  data/cues.json
public/
  narration.mp3
  music/bed.mp3       <- royalty-free, ducked under voice
  sfx/whoosh.wav, pop.wav, click.wav
  fonts/AnekMalayalam-*.ttf

Subtitle component (core requirements):

TypeScript
import {useCurrentFrame, useVideoConfig, interpolate, staticFile} from 'remotion'; import cues from '../data/cues.json'; const font = new FontFace('Anek Malayalam', `url(${staticFile('fonts/AnekMalayalam-Bold.ttf')})`); font.load().then(f => document.fonts.add(f)); export const Subtitles: React.FC = () => { const frame = useCurrentFrame(); const {fps} = useVideoConfig(); const t = frame / fps; const cue = cues.find(c => t >= c.start && t < c.end); if (!cue) return null; const inOp = interpolate(t, [cue.start, cue.start + 0.12], [0, 1], {extrapolateRight: 'clamp'}); return ( <div style={{ position: 'absolute', bottom: 260, left: 60, right: 60, textAlign: 'center', fontFamily: 'Anek Malayalam', fontWeight: 700, fontSize: 58, lineHeight: 1.35, color: '#fff', opacity: inOp, textShadow: '0 4px 24px rgba(0,0,0,.85)', }}> {cue.text} </div> ); };

Keep subtitles inside the safe zone (about 250px from the bottom, 60px side margins) so Reels/Shorts UI does not cover them.

Audio layering:

TypeScript
<Audio src={staticFile('narration.mp3')} /> {/* volume 1.0, untouched */} <Audio src={staticFile('music/bed.mp3')} volume={f => 0.12} /> {/* ducked bed */} <Sequence from={sceneStartFrame}><Audio src={staticFile('sfx/whoosh.wav')} volume={0.5} /></Sequence>

Place a whoosh on every scene transition and a pop or click on every UI or text reveal. Keep SFX at about 0.3-0.5 volume so narration stays dominant.

Step 6: Render and QA

Bash
npx remotion render Main out/final.mp4 --width=1080 --height=1920 --fps=30 --codec=h264 --crf=18

QA checklist:

  • Narration is the unmodified original (compare waveforms or hash the source file)
  • Every subtitle line matches the transcript character for character, including conjuncts like ക്ഷ, ന്ത, ണ്ട
  • Malayalam renders correctly: no broken chillus (ൻ ർ ൽ ൾ ൺ), no detached vowel signs
  • No cue overlaps the next; reading speed stays under about 17 characters per second
  • Music is audibly lower than speech throughout
  • No scene repeats the same layout twice in a row
Recommendation▾
Fix the align.py logic. Distributing user lines proportionally by character count across the audio duration ignores pauses and silence, so it will drift badly. Use Whisper's word timestamps (or a real forced aligner such as aeneas or MFA) to anchor each line to detected segment boundaries, and add a short snippet that checks timing drift. Also trim Quick Start to one clear path, since it currently blends setup, file placement and render commands with a hand-wavy font install.
12 / 20

Example 1: Input: "Here's my Malayalam audio and transcript, make me a finished animated video." Output: A reply that (1) explains that attachments and rendered video cannot be handled in chat, (2) asks for the pasted transcript plus topic, (3) delivers the full Remotion project, align.py, scene plan table, and the single render command.

Example 2: Input: Transcript line "ഇന്ന് നമുക്ക് AI ടൂളുകൾ എങ്ങനെ ഉപയോഗിക്കാം എന്ന് നോക്കാം" at 0:02-0:05. Output: Scene 2 with kinetic typography on "AI", a phone mockup sliding in from the right, whoosh SFX at 2.0s, and the subtitle line rendered verbatim in Anek Malayalam.

Example 3: Input: "Just make it, don't ask me anything." Output: Proceed with defaults (navy/gold palette, Anek Malayalam, 30fps), generate the project with placeholder scene content derived from whatever transcript text is available, and list the 2-3 assumptions made.

Recommendation▾
Add a fully worked Main.tsx and Root.tsx with scene Sequences and the audio layers wired together, and a ready-to-use PhoneMockup or Transition template. Pick one default stack (Remotion) and drop the MoviePy/FFmpeg mention, or add a one-line rule for when to use it. Also fix small issues: the Audio volume callback should be a function of frame, and the Quick Start apt font package may not exist.
  • Never claim a video was rendered. Say "run this command to render" instead.
  • Keep subtitle text immutable. Pass it through JSON.stringify/ensure_ascii=False with UTF-8 only, and never run it through translation, spell-check, or "cleanup."
  • Use royalty-free assets only (Pixabay, YouTube Audio Library, Freesound CC0) and name the license in the README.
  • Animate with spring() and eased interpolate(); avoid linear motion.
  • Hold each visual idea for 2-5 seconds; change something on screen at least every 3 seconds for retention.
  • Use Anek Malayalam from Google Fonts (OFL) and bundle the TTF, or fall back to Noto Sans Malayalam.
  • Render a 10-second test clip first (--frames=0-300) to validate fonts and sync before the full render.
  • Pretending to have processed an attachment or produced an MP4. Always disclose the limitation first.
  • Paraphrasing or "fixing" the Malayalam transcript. This violates the core requirement.
  • Using canvas text or libraries without complex-script shaping. Use DOM text in Remotion so the browser's shaping engine handles Malayalam conjuncts.
  • Letting auto-transcription replace the user's text. Whisper output is for timing only.
  • Loud music that competes with narration, or SFX on every single word.
  • Placing subtitles in the bottom 200px, where platform UI covers them.
  • Reusing one scene template for the entire video.
  • Exceeding about 500 lines in one answer. Deliver the scaffold and key components, and offer individual scene files on request.
0
Grade B+AI Skill Framework
Scorecard
Criteria Breakdown
Quick Start
13/15
Workflow
14/15
Examples
12/20
Completeness
14/20
Format
15/15
Conciseness
12/15