- captions
- hindi
- hinglish
- languages
- devanagari
Hindi and Hinglish captions: what breaks and how ClipMonkey handles it
Why Devanagari captions so often come out wrong in video tools, and what ClipMonkey does about shaping and conjuncts, font fallback, mixed-script line wrapping, the transliteration question, and word timing in fast speech, including the limits that remain.
ClipMonkey Team7 min read
A large share of the videos people bring to ClipMonkey are in Hindi, or in the mix of Hindi and English that most of us actually speak. Captioning that speech is harder than captioning English, and not because the transcription is worse. The problems start after transcription, in the part of the pipeline that turns text into pixels. This post explains what goes wrong in typical tools, what ClipMonkey does differently, and where the limits still are.
Devanagari is not a sequence of letters
In Latin script a word is a row of glyphs, each roughly in the order you type it. Devanagari does not work that way. A syllable can combine a consonant, a vowel sign (matra) that is drawn before, above, below, or after the consonant it belongs to, and conjunct forms where two or three consonants fuse into a single shape. The visual order is not the typing order: the vowel sign in "कि" is typed after the consonant but drawn before it.
Rendering this correctly is called shaping, and it is the job of the text layout engine, not the font alone. If a renderer draws glyphs one code point at a time, you get the familiar failure: the dotted circle that means "orphaned vowel sign", a conjunct split into its parts with a visible halant, or a matra floating one character to the right of where it belongs.
ClipMonkey burns captions in with libass, the same subtitle engine used by most desktop video players, which hands text to a proper shaping engine. Conjuncts, matras, nukta, and anusvara are laid out as a reader expects. This is one of the reasons we chose a subtitle renderer over drawing text frame by frame: correct Devanagari shaping is a solved problem in that stack, and we did not want to solve it again.
The font has to contain the script
Shaping only works if the font has the glyphs and the lookup tables for the script. Many "modern" display fonts cover Latin only. Point a renderer at one of those with Hindi text and you get boxes, or a silent fallback to whatever system font is lying around, which is how you end up with Devanagari in a completely different weight and style from the English words next to it.
ClipMonkey's renderer ships with Inter, Noto Sans, and Noto Sans Devanagari. Latin text uses the preset's font; when that font has no glyphs for a run of text, the renderer falls back through Noto Sans to Noto Sans Devanagari, which is designed to sit alongside Noto Sans at matching weights. The result is a line where "मुझे लगता है that's fair" looks like one caption rather than two typefaces glued together.
The honest limit: Inter has no Devanagari glyphs, so a preset that uses the display font for its Latin text will still render the Hindi part in Noto Sans Devanagari. At caption sizes the difference is minor, but it is visible if you look for it, and we would rather tell you than pretend otherwise. Presets that use the sans font (Clean Minimal, Karaoke, Podcast Emphasis, Educational Highlight) are the most consistent for mixed text.
Mixed-script lines should wrap at words, never inside them
Hinglish captions are the stress test. A single sentence can switch script three times, and the line-wrapping logic has to cope.
The classic failure is counting characters. A naive wrapper counts code points, so a Hindi word with three vowel signs and a conjunct "costs" twice what it looks like it should, and the wrapper breaks the line in the wrong place. Worse, some wrappers will break inside a word when the line is "full", which in Devanagari means breaking between a consonant and its matra. The second line then starts with a dotted circle.
ClipMonkey's caption layout wraps only at spaces. Each preset defines a maximum number of characters per line and a number of lines; when a line is full, the next word moves whole to the next line. A word is never split, in either script. Measuring the visual width of a Devanagari word is still an approximation on our side, because a character count is not the same as a glyph count once conjuncts and matras are involved; in practice this means a Hindi-heavy line may wrap slightly earlier than it strictly needs to. Early is the safe direction: the text stays inside the safe area.
Transliteration or native script?
This is a content decision as much as a technical one, and ClipMonkey does not make it for you.
Captions in native script ("मुझे लगता है") are correct, accessible to anyone who reads Hindi, and the only option that renders Hindi names and idioms faithfully. Romanised captions ("mujhe lagta hai") are what a lot of Hinglish speakers are used to reading on phones, and they keep the whole caption in one script, which some creators prefer for visual consistency. There is no standard spelling in romanised Hindi, so two transcriptions of the same word can differ, and viewers who read Devanagari sometimes find romanised text slower.
The transcription provider returns Hindi speech in Devanagari. If you want romanised captions, edit them in the caption editor; the word timings are preserved when you change the text, so the highlight animation still follows the speech. Automatic transliteration is not a feature today. We are deliberately cautious about adding it because a bad transliteration is harder to spot in review than a missing word.
Whatever you choose, be consistent across a channel. Viewers adapt to either convention; they do not adapt to a mix.
Word timing in fast speech
Hindi conversation is often fast, and word-level timing gets harder as speech gets faster: boundaries between short function words blur, and the transcription provider's per-word timestamps can be a few tenths of a second off. Two things follow.
First, if a clip is very fast, prefer a preset without word animation, or one with a gentle highlight (Podcast Emphasis bolds the active word; it does not flash). Karaoke fill at six words a second is unreadable in any language.
Second, when a highlight is clearly early or late, fix the words in the caption editor. You can correct a segment's text or an individual word; the timing attached to each word stays with it. We do not currently offer per-word timing adjustment by dragging, so if a stretch of speech is timed badly the realistic options are to trim the clip to avoid it or to use a static preset for that clip.
Numbers, English loanwords, and case
A few smaller things worth knowing:
- The transcription provider generally writes numbers as digits, which read fine in both scripts, and writes English words spoken inside a Hindi sentence in Latin script rather than transliterating them into Devanagari. This matches how most people write Hinglish, but it is the provider's behaviour, not a guarantee, so check it in review.
- Candidate boundaries are snapped to transcript segment and word edges during analysis, in any language. Whether a segment boundary coincides with the end of a Hindi sentence depends on how the provider segmented the speech.
- Uppercase transforms in presets like Bold Creator affect Latin text only. Devanagari has no case, so those words are left alone.
What to expect, and what to check
If you upload a Hinglish episode today you should expect: correct shaping, matched fonts, line breaks on word boundaries, and captions that keep both scripts in a single line. You should check: proper nouns (the most common transcription errors in any language), any place where the speaker switched languages mid-word, and the timing of highlights on the fastest stretches.
The multilingual story is still being built out. Target caption languages are chosen per project, and the number of languages a project can carry is capped. The places where we know the experience is rough are listed in the help article on editing captions. When something renders wrong that this post says should render right, send us the clip through the contact page; Devanagari edge cases are exactly the bug reports we most want.