Tested, with fixes

Why do emoji show as boxes in burned-in subtitles, and how do you fix it?

Updated Tested November 23, 2026ffmpeg 6.1.1, libass 0.17.1Linux only

Video subtitle bar split between broken empty boxes and clean emoji symbols beside a terminal log warning.

Short answer

The font that libass picked has no glyph for that emoji, so it draws an empty box. ffmpeg says so in its log: "failed to find any fallback with glyph 0x1F389". To keep the emoji, install a font that has them where fontconfig can see it; in our test that restored single-colour emoji only. As a last resort, strip the emoji from the SRT and burn again. On the test server, 7 of 9 emoji code points had no font at all. Both fixes cleared the log message; neither gave colour emoji.

Add subtitles to a video: burn a subtitle file in and check the result (free)

Key takeaways

  • Run ffmpeg with -v verbose and search for "failed to find any fallback with glyph". Each hex code is an emoji code point that no font on that machine has. On the test file it listed 7: 1F389, 1F3FD, 1F467, 1F468, 1F469, 1F525 and 2705.
  • The result depends on the machine. The same file drew ❀ and πŸ‘ as small monochrome symbols, because two other fonts on the server cover those two. The rest got boxes.
  • Stripping is the fast fix. The Remove emoji tool's output matched our expected answers on all three files tried, and the audio stream was copied unchanged.
  • The font fix worked only when the font was installed where fontconfig looks. A font in the fontsdir folder alone (cases C and C2) was loaded by ffmpeg but rescued none of the 7 missing code points. With a font name or a font tag as well (cases F and G) it rescued βœ…, and in G also ❀, and nothing else.
  • Nothing here was tested in CapCut, Premiere, or ffmpeg on Windows or macOS. The cause is a reading of the libass log, not a statement from its authors.

What the ffmpeg log says when an emoji turns into a box

Read the log. It names the guilty character. Burn your SRT with verbose logging, keep only the lines about missing glyphs, and you get a short list of hex codes that tells you exactly which emoji the machine cannot draw and how many different ones there are in the whole file. Use -f null - so it renders every frame and writes no file.

libass is the library behind ffmpeg's subtitles filter. When the chosen font has no glyph, it tries other fonts, and when none has it, it logs "failed to find any fallback with glyph" and the code point in hex, then draws the font's empty "not defined" box. That is the square. The hex code tells you which emoji it is: 1F389 is πŸŽ‰, 1F525 is πŸ”₯, 2705 is βœ….

The test file has eight cues on a made-up clip: four single emoji, one with a skin-tone modifier, one family sequence, one cue that is only emoji, and one plain control cue. The log named 7 code points. Two more emoji, ❀ and πŸ‘, were not named, and they did draw, but as flat symbols from other fonts on the server (Noto Sans Symbols2 and DejaVu Sans). So "boxes" is not all or nothing. It depends on which fonts your machine happens to have.

Empty output means no code point lacked a font on this machine. It does not mean the file has no emoji: edge.srt contains πŸ˜€ and printed nothing, because a font here covers it. The pipeline exits 0 either way, because sort is last.

ffmpeg -v verbose -i video.mp4 -vf "subtitles=subs.srt" -f null - 2>&1 | grep -o "failed to find any fallback with glyph 0x[0-9A-F]*" | sort -u
Lists each code point that no font on this machine has. On emoji.srt it printed 7 lines; on a plain-text file, none; on edge.srt, which has an emoji, none either. All are in commands.log.

Which emoji broke, and which only looked fine

Check the cause a second way, apart from the log. A short script (cmap-check.py) asks fontconfig which families cover each code point. On the test server, πŸŽ‰, βœ…, πŸ”₯, the skin-tone modifier and the people in the family sequence had no family at all. ❀ was covered by DejaVu Sans and Noto Sans Symbols2, and πŸ‘ by Noto Sans Symbols2 only. They agreed.

Look at row A in the figure below. Three things stand out. The emoji-only cue is two boxes. Nothing else. The family cue is three boxes, one per person, because each person is its own code point and none of them has a glyph. And the thumbs-up with a skin tone is a small thumb plus a box for the modifier. The Unicode emoji report says a system without a font for a character shows "a missing glyph indicator", so the boxes are expected behaviour. Your file is fine.

Eight subtitle frames in three rows: default fonts show boxes for most emoji, an installed emoji font draws them, stripped text shows none
Same eight cues, three renders: A default fonts, H emoji font installed in fontconfig, I emoji stripped first (frames from the test clip, one per cue).

Fix 1: keep the emoji by giving fontconfig an emoji font

If the emoji carry meaning, you need a font that has them. The test used Noto Emoji, a monochrome variable font, downloaded from the google/fonts repository. Its README says the name "Stands for No Tofu", and it is licensed under the SIL Open Font License 1.1, so you may use it in a render. The file tested had the sha256 beginning de6c1883.

Download it, put it where fontconfig can see it, rebuild the cache and burn again. The test ran this inside a temporary HOME folder, so the real fonts on the server stayed as they were. Two edge cases are logged: an SRT with no emoji burned with no missing glyphs and the audio kept, and with Noto Color Emoji also installed the log listed no missing glyphs (how they were drawn was not checked). Installing in your own ~/.local/share/fonts works the same way but changes every later render on that account, so check your other jobs.

With the font installed, the log listed no missing glyphs. All eight cues were drawn. The audio was copied. The emoji-only cue grew from 36 to 84 pixels of ink, the control cue stayed at 321 pixels.

It is not a phone. In the frames the glyphs are white outlines, not colour. ❀️ came out as a striped heart. The skin-tone thumb became a thumb plus a hatched swatch, and the family sequence drew as three separate faces. That last one matches the Unicode report: when a system has no single glyph for a ZWJ sequence, "the ZWJ characters are ignored and a fallback sequence of separate emoji is displayed". If you need colour emoji or joined families, this route is not enough, and the one colour attempt (case F) did not work, see below; Noto Color Emoji installed for fontconfig was not tested.

curl -L -o "NotoEmoji[wght].ttf" "https://github.com/google/fonts/raw/main/ofl/notoemoji/NotoEmoji%5Bwght%5D.ttf"
mkdir -p ~/.local/share/fonts && cp "NotoEmoji[wght].ttf" ~/.local/share/fonts/ && fc-cache -f
ffmpeg -i video.mp4 -vf "subtitles=subs.srt" -c:a copy burned.mp4
Download the font, install it for fontconfig, then burn the original SRT. Run with HOME set to a temporary folder, download included (sha256 de6c1883), plus two edge cases (see commands.log).

Fix 2: strip the emoji, the last resort, then burn again

Decoration? Take it out. Paste the subtitle text into the Koldflux Remove emoji tool, press Copy, and save the result as a new .srt. The tool runs in your browser and nothing is sent to a server. It removes emoji, pictographs, flags, skin tones and ZWJ joiners, keeps letters, digits, punctuation and line breaks, and turns double spaces into one.

Do not trust it by eye. For emoji.srt, edge.srt and an edge file with Windows line endings, expected.py stripped our own list of emoji by code point and compared the result with what the tool's Copy button gave. All three matched our expected answers. That list is ours and no other app confirmed it; that the tool removes arrows and dingbats such as β†’ and βœ” is from the tool's own page. The CRLF file came back with plain line feeds and no carriage returns, which ffmpeg read without complaint.

Two things to know before you burn. First, the tool also removes characters that look like text: on edge.srt it took out β†’ and βœ” and kept € and β„’. If a cue relies on an arrow, check it. Second, a cue that was only emoji becomes an empty cue, and ffmpeg drops it. The 8-cue file became 7 dialogue lines (counted with ffmpeg -f ass), and the other timings are untouched. The tool also trims the whitespace at the end of the text, so the last blank line of the file disappears. ffmpeg did not mind.

The measured effect on the control: the plain cue was 321 pixels of ink wide in cases A, H and I (default, font installed, stripped). Case F changed the font name, so its control cue measured 460; B, C, C2 and G were not measured. The cues that had emoji got narrower, for example cue 1 from 285 to 261 pixels, because the box is gone. The stripped file burned with exit code 0, and with -c:a copy the aac audio stream stayed as it was. On a clip with no audio at all it also exited 0.

ffmpeg -i video.mp4 -vf "subtitles=subs-clean.srt" -c:a copy burned.mp4
Burn the cleaned file. Audio is copied, video is re-encoded. Run on emoji-clean.srt, edge-clean.srt and a no-audio clip: all exit 0.
The Koldflux Remove emoji tool with the test SRT pasted in and the result below it without emoji
The Remove emoji tool on the test SRT. The result row shows line breaks as spaces on screen; the Copy button keeps them (checked).

Five font attempts, and what each one did

Five attempts: four put an emoji font within reach of ffmpeg and one (B) only names a common font. The log shows most of them did not help. Cases B, C and C2 changed one setting. F and G changed two (F: fontsdir and the font name; G: the font tag and fontsdir), so their results cannot be assigned to one setting.

Eight render cases of the same SRT
CaseWhat changedNo font hasWhat happened
ANothing (default)7Boxes for most emoji
Bforce_style FontName=DejaVu Sans7Same 7; naming a common font does not add emoji
Cfontsdir with Noto Emoji (variable file)7Identical to A; the font was loaded but not used
C2fontsdir with a static copy of Noto Emoji7Identical to A, so the variable format is not the cause
Ffontsdir with Noto Color Emoji, FontName set to it6Log found βœ…; in the frames the βœ… and ❀ are blank gaps, nothing drawn
Gfont tag with Noto Emoji in the SRT, plus fontsdir6Fixed βœ… and ❀ only
HNoto Emoji installed for fontconfig0All drawn, monochrome
IEmoji stripped first0No emoji left; emoji-only cue dropped

Code points with no font (ffmpeg log); F and G changed two settings each.

The ffmpeg manual says fontsdir fonts "will be used in addition to whatever the font provider uses". In this build the log showed the files loading, yet the emoji still failed. The reason is not known. Treat it as a measurement with libass 0.17.1, not as a rule about fontsdir.

Limits: what this does not prove

What was compared: the same eight cues on the same constructed clip, changing the settings listed in the table (B, C and C2 one each; F and G two each) and holding the clip and text equal. The control cue measured 321 px in A, H and I and was not measured in B, C, C2 and G. The finding is that on this server the default fonts lack most emoji, and that stripping and a fontconfig font both fixed it.

It does not prove how your machine behaves. Fonts differ per computer, so your list of missing code points will differ. Not tested: CapCut, Premiere, Windows or macOS builds of ffmpeg, DirectWrite or GDI font lookup, or Noto Color Emoji in other libass builds. The clip is a made-up dark background, not real footage, and the subtitle text is made up too. The cause is a reading of the libass log.

Emoji, Unicode and Noto are names of their owners. Koldflux is not affiliated with them.

Do it in your browser

Free Koldflux tools, no account needed.

Add subtitles to a video: burn a subtitle file in and check the result (free)Remove emoji from text: clean an SRT before burning it in (free, in your browser)

Questions people ask

Why do my emoji show as empty squares in burned-in subtitles?

The font used for the subtitle has no glyph for that emoji, so the renderer draws its empty box. With ffmpeg you can confirm it in the verbose log: "failed to find any fallback with glyph" followed by the code point.

How do I fix emoji in ffmpeg subtitles quickly?

Strip the emoji from the SRT and burn the clean file. A test run of the Koldflux Remove emoji tool matched our expected text on three files, and the burn exited with 0.

Can I keep the emoji in the video?

Yes, if you install an emoji font where fontconfig can see it. Noto Emoji drew all the test emoji in monochrome. The one colour attempt (case F) drew nothing and joined family emoji came out as separate faces; Noto Color Emoji installed for fontconfig was not tested.

Does the ffmpeg fontsdir option add an emoji font?

Not by itself. In cases C and C2 the font was loaded, but the emoji still showed as boxes. With a font name or font tag as well (F, G) it rescued βœ… (and ❀ in G), and nothing else. Installing the same file for fontconfig worked. This is one build, libass 0.17.1.

Will the same file look the same on another computer?

Not necessarily. Which emoji show as boxes depends on the fonts installed. On the test server ❀ and πŸ‘ drew from other fonts while πŸŽ‰ and πŸ”₯ did not.

Does removing emoji change my subtitle timing?

No timecodes change. A cue that contained only emoji becomes empty and ffmpeg drops it, so 8 cues became 7.

Related

More guides on this topic

Sources and how we checked

  1. FFmpeg filters documentation, subtitles filter and fontsdir (read November 23, 2026) (checked 2026-11-23)
  2. Unicode UTS #51, Unicode Emoji, revision 31 (read November 23, 2026) (checked 2026-11-23)
  3. Noto Emoji README (google/noto-emoji, read November 23, 2026) (checked 2026-11-23)
  4. Noto Emoji licence, SIL Open Font License 1.1 (google/fonts, read November 23, 2026) (checked 2026-11-23)
  5. Koldflux Remove emoji tool (our own tool, run November 23, 2026) (checked 2026-11-23)
  6. Koldflux test log: control, eight cases, ink measurements (our measurement) (checked 2026-11-23)
  7. commands.log: each published command on a test file and an edge input (Koldflux) (checked 2026-11-23)
  8. make-srt.py: writes the test SRT from code points (Koldflux, Python 3) (checked 2026-11-23)
  9. run-tests.sh: renders the eight cases (Koldflux, shell script) (checked 2026-11-23)
  10. run-commands.sh: runs every published command (Koldflux, shell script) (checked 2026-11-23)
  11. measure.py: ink width per cue (Koldflux, Python 3 and Pillow) (checked 2026-11-23)
  12. cmap-check.py: which fonts cover each code point (Koldflux, Python 3 and fontTools) (checked 2026-11-23)
  13. rm-run.cjs and expected.py: drive the Remove emoji tool and compare with our expected answers (Koldflux) (checked 2026-11-23)
  14. tool-shot.cjs: takes the tool screenshot (Koldflux, Node and Playwright) (checked 2026-11-23)

The ffmpeg filter manual, Unicode UTS #51 revision 31, the Noto Emoji README and its licence were read on November 23, 2026. One made-up 8-cue SRT was burned onto a constructed 16-second clip with ffmpeg 6.1.1 and libass 0.17.1 on an Ubuntu server, in eight cases (the table lists what each changed). Missing glyphs came from the verbose log, ink width per cue from the frames against the plain control cue, and the live Remove emoji tool was driven in headless Chromium and checked against our own expected answers (not confirmed by another app). Every published command is in commands.log with an edge input. Not tested: CapCut, Premiere, Windows or macOS ffmpeg, colour emoji in other builds.