Communitygithub.com

mollah-talking-head-edit

Md Sharif Mollah's signature talking-head edit (the \"Bidesh Prostuti\" look). It turns a raw phone/camera talking-head video into finished 9:16 (4K60) and 16:9 (1080p60) videos plus thumbnails. The look keeps the real room sharp and cuts the speaker out so big Bengali typography sits behind and in front of them. It adds a chest-level gold 3D hook, numbered part slams with a progress rail, glass HUD cards and spoken lists that pop word by word. It also does light-leak transitions, SFX, tight jump cuts with no pauses or repeats, a -14 LUFS master, an end card and a 2 s thumbnail card. Use it whenever the user says \"edit video\", \"video edit koro / kore dao\", \"ei video ta edit koro\", \"make it like the Bidesh video\", or hands over a talking-head clip (with or without a separate mic recording) and wants a finished edit, even if no style is named. Also use it for revisions of videos made with it: cuts at timestamps, missing or late text, thumbnail changes.

What is mollah-talking-head-edit?

mollah-talking-head-edit is a Claude Code agent skill that md Sharif Mollah's signature talking-head edit (the \"Bidesh Prostuti\" look). It turns a raw phone/camera talking-head video into finished 9:16 (4K60) and 16:9 (1080p60) videos plus thumbnails. The look keeps the real room sharp and cuts the speaker out so big Bengali typography sits behind and in front of them. It adds a chest-level gold 3D hook, numbered part slams with a progress rail, glass HUD cards and spoken lists that pop word by word. It also does light-leak transitions, SFX, tight jump cuts with no pauses or repeats, a -14 LUFS master, an end card and a 2 s thumbnail card. Use it whenever the user says \"edit video\", \"video edit koro / kore dao\", \"ei video ta edit koro\", \"make it like the Bidesh video\", or hands over a talking-head clip (with or without a separate mic recording) and wants a finished edit, even if no style is named. Also use it for revisions of videos made with it: cuts at timestamps, missing or late text, thumbnail changes.

Works with✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/mdsharifmollah/mollah-talking-head-video-editing-skill/tree/HEAD/mollah-talking-head-edit

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Mollah Talking Head Edit: the Bidesh Prostuti look

Style by Md Sharif Mollah. It works in Claude Code and in Codex: the same SKILL.md, scripts and template serve both. One raw talking-head clip in, a finished social video out, in this order:

  • <Title> - 9x16 4K60.mp4 (1080p60 when the source is not 4K portrait)
  • <Title> - 16x9 1080p60.mp4
  • <Title> - YouTube Thumbnail.jpg
  • <Title> - Reels Cover.jpg

Look at references/gallery/effects.jpg once before you start. It shows every effect from the reference video, and you are aiming to match it.

What makes the look (keep all of it)

RuleWhy
The real room stays sharp and clean. The overlay is a dark layer behind the cut-out person, ~0.4. It appears only while big text sits on the room (part slams, word sandwiches, hook, lists), about 20% of runtime.The client rejected both a blurred room and an always-on overlay.
The speaker is cut out, so text can sit between the room and the person (behind) and over them (front).This depth is the signature. A flat caption edit is not this style.
The hook text is on screen from the first frame. It is big, bold, at chest level, every word on its spoken beat, and never covers the face or gets cropped.It was the client's #1 note on the reference video.
The cut is tight: no pauses over ~0.35 s, no stumbles, no repeated words, and jump cuts get a 7% punch-in.It was the client's #2 note. ./run.sh scan checks this.
Text says what is being said, at the moment it is said: short Bengali phrases, one highlighted word, and lists that pop item by item on each spoken word.Unsynced text was the client's #3 note.
Numbered structure. A part slam ("01" + title) opens each point, a glass rail shows "step n of N", and each part has its own glow colour.The viewer always knows where they are, which helps retention.
Sound design. Every effect gets SFX automatically, there is no music unless asked, the voice is cleaned, and the master is −14 LUFS / −1 dBTP.Voice-first, social loudness standard.
The ending: the voice ends on a comment CTA, then a 3.2 s cream end card (creator + company logo, follow pill), then the thumbnail for 2 s.The client asked for the thumbnail at the end.
A small edit-day date stamp sits under the top-left logo.The house rule for every delivered video.

0. Machine setup (once per computer)

bash <skill>/scripts/setup.sh --check

If it says MISSING, tell the user what --install will download before running it: npm packages (~350 MB), a Python venv (~1.5 GB with torch) and two models (176 MB). Whisper turbo (1.6 GB) comes later, on the first transcription. Ask for a yes, then run:

bash <skill>/scripts/setup.sh --install

It needs Homebrew node (18+), ffmpeg and Python 3.9–3.12 (brew install [email protected]). It is built and tested on macOS (Apple Silicon); elsewhere it falls back to CPU, which is slower.

Brand (once per creator). If --check shows no brand, ask the user for their name, creator logo and company logo (logos are optional), then run:

bash <skill>/scripts/brand.sh --name "Name" --creator-logo me.png --company-logo co.png --cta "ফলো করুন · আরও টিপস আসছে"

Without logos the name is set as text. Never put someone else's name or logo on a video.

1. Project + transcript

You need the video path, plus the mic recording if the sound was recorded separately, and a title. Infer the title from the content if none is given. Ask only for what you cannot find.

"Edit video" with a file is the whole brief, because this skill is the style. Do not ask style questions. Tell the user once what they will get and roughly how long it takes: about 2–3 hours for a 5-minute raw on an M1, mostly background rendering. Then work through the steps without asking unless something is genuinely blocked.

bash <skill>/scripts/new_project.sh "Video Title" /path/raw.mov [/path/mic.wav] [--dest /output/folder]
cd <printed project path>
./run.sh prep          # probe, auto-sync the mic to the camera (prints offset + confidence), extract the voice
./run.sh transcribe    # Whisper turbo, word timings -> work/transcript.txt   (background: ~3-6x real time on CPU)
  • Sync check: a confidence below 1.5 means a weak sync. Verify lip sync on a QA still later, or pass ./run.sh prep --offset S.
  • HDR sources: iPhone HDR footage looks washed out. Ask the user for an SDR export, or say so.
  • Whisper on Bengali: the text is rough, so fix spellings yourself when writing on-screen text.
  • Never invent words the speaker did not say. Paraphrase only when shortening.

2. Story + cut (the most important creative step)

Read work/transcript.txt end to end. Raw recordings contain retakes, false starts, asides and the same sentence said twice. Pick the best take of every sentence and keep the story order:

  1. Hook, 3–6 s: the promise or question with a number ("বিদেশ যাওয়ার স্বপ্ন দেখছেন? এই ৬টি কাজ আজ থেকেই শুরু করুন").
  2. Numbered points, each starting where the speaker says "নাম্বার এক / প্রথমত…".
  3. Outro: one strong closing line plus a comment question.

The reference video kept 2:16 of a 5:28 recording, so cutting 50–60% is normal.

Write work/keep.json in VO seconds (format in work/cut.py). Then test the cut on audio only:

./run.sh cut --audio-only && ./run.sh scan     # pauses / repeats / fillers / clipped words, with times
./run.sh energy show 61.0 64.0                 # loudness bars + words: find the exact silence to cut at

Fix keep.json with tighter ranges or "drop": [[a, b]], and repeat until scan is clean. Every join should land in a pause, and no word should be clipped. Then run ./run.sh cut, which renders the frame-exact 4K cut and proxy (a few minutes).

3. Cut-out + plates (background, ~15–35 min)

./run.sh matte && ./run.sh plates
  • matte: the person matte plus a face track, which gives src/head.ts. All text placement follows the head.
  • plates: the sharp room and the alpha person for 9:16 and 16:9. It also detects whether the room is bright or dark, so logos switch between black and white.

Write the cue sheet while these run.

4. Cue sheet: effects on the spoken beats

Write work/cues.py fresh for this video. Read references/effects.md first: it holds every effect, its props, its layer, when to use it and an example line. Copy the worked example in references/example-bidesh-cues.py.

  • Time units: cue times are VO seconds, and every 'at' is seconds after the cue start; use rel(a, t). Take each word's onset from ./run.sh energy onsets T0 T1, since Whisper word times drift 0.1–0.3 s in Bengali.
  • Density: one effect every ~3–6 s. Never two text-heavy effects at once. Let the face carry 1–2 s here and there.
  • Variety: do not repeat the same effect back to back. Rotate hud / caption / tasks / listpop / sandwich / dial / receipt / switches by what the words mean.
  • Must-haves:
    • hookbig at 0 s.
    • A partslam per numbered point, with titles matching STEPS.
    • listpop wherever a list is spoken.
    • A sandwich on the punchline.
    • comments to close (b=None = until the end).

Then:

./run.sh cues     # writes src/gen.ts; prints every cue in output time + warnings (cue inside a cut gap, overlaps, overlay %)
./run.sh glyph    # only if you used the glyph effect

5. QA with stills (always, before any render)

./run.sh qa V,H 0.4,1.6,2.6,<each cue mid/peak>,<each join ±0.1> 0.5
./run.sh sheet V 0.4,1.6,... 4        # contact sheet -> work/qa/sheet_V.jpg, then look at it

Check each of these:

  • Hook readable at 0.4 s.
  • No text over the face or cropped at the edges, in both V and H.
  • Lists complete by their end.
  • The rail does not collide with cards.
  • Logos are readable.
  • The end card and thumbnail card are present.

Keep text inside the safe zones:

  • 9:16: keep key text out of the bottom-right (x > 960, y > 1500; IG/TikTok buttons). The IG grid shows only y 240–1680.
  • 16:9: keep the bottom-right corner clear of the YouTube duration badge.

Fix the cue sheet, re-run cues, then re-check.

6. Thumbnails

./run.sh thumb-cutout <output second>     # frame with open eyes, natural expression, gesture if any

Then fill in the three text fields in thumbpub/thumb.json:

  • giant: one huge word behind the person (the topic).
  • ribbon: 2–3 words on the red label.
  • punch: number + noun in gold 3D in front ("৬টি কাজ").

Pick a different angle from the hook if you can.

./run.sh thumb --draft   # look at work/thumbs/*.png, adjust k / faceX / hair in thumb.json "yt" / "reel" if needed
./run.sh thumb           # writes the two thumbnails to dest + public/img/thumb_*.jpg (the 2 s end card)
./run.sh cues            # re-run so the thumbnail card is included (total grows by 2 s)

If the user supplies their own thumbnail images, copy them to public/img/thumb_v.jpg and public/img/thumb_h.jpg (cover-cropped) instead.

7. Render, verify, deliver

./run.sh render          # background: 16:9 (~7 min per output minute) then 9:16 4K (~25 min per output minute) + loudness master
./run.sh verify          # size, 60 fps, exact frames, -14 LUFS, true peak, unexpected single-frame flashes

Deliver a short message: the final file paths, plus one line saying what was done. Do not send previews or small versions unless asked. If the user wants publishing text, write a keyword-first title, a description that lists the points, and 5 hashtags mixing Bengali, Banglish and English.

8. Revisions

Read references/revisions.md.

  • Removing time at client timestamps is ./run.sh recut 2:04-2:07 …: no re-matting, cues follow automatically.
  • Text fixes are cue-sheet edits.
  • Deliver only the fixed final masters: no previews, no explanation essay.

Gotchas (learned the hard way)

  • Never use the font or background CSS shorthand on a style whose value changes between frames. React re-applies only that shorthand and silently resets line-height / background-clip:text. Use fontFamily / fontWeight / fontSize and backgroundImage.
  • Bengali vowel signs (ি ী ু) rise above a line-height-1 box. Clipped-gradient text needs padding (see Gold3D / fillBox).
  • No segment or piece shorter than 6 frames: it flashes. cut and recut handle this.
  • Run long steps in the background: transcribe, matte, plates, render. Each has a fixed cost (references/pipeline.md).
  • Render flags: always use --gl=angle on a Mac (2× faster at 4K). VP9 alpha needs -deadline realtime, because good is 3× slower and can be killed for memory.
  • Disk: about 5 GB of intermediates per 2-minute video. After delivery, offer to delete work/cut_*.mp4, public/*.webm|mp4 and out/.

Files

  • scripts/setup.sh, brand.sh, new_project.sh: machine, creator and project setup.
  • template/: the Remotion project and pipeline, copied per video. The entry point is run.sh.
    • Effects live in src/fx.tsx + src/fx2.tsx.
    • The stage is src/Film.tsx.
    • The cue engine is work/cues_lib.py.
  • references/effects.md: effect catalogue + cue-sheet craft. Read before writing cues.
  • references/example-bidesh-cues.py: the complete cue sheet of the reference video.
  • references/pipeline.md: step details, timings, troubleshooting.
  • references/revisions.md: handling client feedback.
  • references/gallery/: frames of every effect from the reference video.

Related Skills