All work

Arabic Reel captions

Fixes what speech recognition gets wrong in Gulf Arabic before captions hit the screen.

WorkingFrom a real job: «جات جي بي دي» became «ChatGPT».

Raw transcript (Whisper)

تتحدث مع جات جي بي دي و مرات تحاول ان تأخذ لجابة منها بس تجيب لجابة عامة سريعة مالها معنى ما تقدر تسبيد منها.

هل مشكلة بالأدات اللي تستخدمها؟

قالبا المشكلة بالبرومت أو بالمطالبة اللي انت قاعد تعطيها.

خلنشوف مثال.

Corrected captions

تتحدث مع ChatGPT ومرات تحاول تأخذ إجابة منها، بس تجيب إجابة عامة سريعة مالها معنى. ما تقدر تستفيد منها.

هل المشكلة بالأداة اللي تستخدمها؟

غالباً المشكلة بالبرومت أو بالمطالبة اللي إنت قاعد تعطيها.

خلنا نشوف مثال.

The same take after the edit and captions.

What it does

Turns natural spoken Arabic into correct captions, timed word by word.

What I built

faster-whisper for timing, correction against the approved script, and right-to-left captions burned in with FFmpeg.

Result

The raw transcript and corrected captions below come from the same take. An older version rewrote dialect into Modern Standard Arabic.

Technical details
  • Correction keeps each segment’s timing, so captions stay in sync after words change.
  • Fixed by hand the timing of words Whisper had squashed together.
  • Correct Arabic shaping and right-to-left order through libass.
  • The older version: Claude rewrote Gulf dialect into MSA while keeping the timing.

Stack

  • Python
  • faster-whisper
  • FFmpeg + libass
  • Claude
  • SRT

Need something like this?

Discuss a project