== P1 diagnose (emoji.srt) published: 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 as run: ffmpeg -v verbose -i base.mp4 -vf "subtitles=emoji.srt" -f null - 2>&1 | grep -o "failed to find any fallback with glyph 0x[0-9A-F]*" | sort -u exit=0 failed to find any fallback with glyph 0x1F389 failed to find any fallback with glyph 0x1F3FD failed to find any fallback with glyph 0x1F467 failed to find any fallback with glyph 0x1F468 failed to find any fallback with glyph 0x1F469 failed to find any fallback with glyph 0x1F525 failed to find any fallback with glyph 0x2705 edge: file without emoji == P1 edge (plain cue file) published: 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 as run: printf "1\n00:00:00,000 --> 00:00:02,000\nPlain cue\n\n" > plain.srt; ffmpeg -v verbose -i base.mp4 -vf "subtitles=plain.srt" -f null - 2>&1 | grep -o "failed to find any fallback with glyph 0x[0-9A-F]*" | sort -u exit=0 == P2 strip then burn published: ffmpeg -i video.mp4 -vf "subtitles=subs-clean.srt" -c:a copy burned.mp4 as run: ffmpeg -v error -y -i base.mp4 -vf "subtitles=emoji-clean.srt" -c:a copy burned.mp4; ffprobe -v error -show_entries stream=codec_type,codec_name -of csv=p=0 burned.mp4 exit=0 h264,video aac,audio edge: no-audio video == P2 edge no audio published: ffmpeg -i video.mp4 -vf "subtitles=subs-clean.srt" -c:a copy burned.mp4 as run: ffmpeg -v error -y -i base.mp4 -an noaudio.mp4; ffmpeg -v error -y -i noaudio.mp4 -vf "subtitles=emoji-clean.srt" -c:a copy burned2.mp4; ffprobe -v error -show_entries stream=codec_type -of csv=p=0 burned2.mp4 exit=0 video edge: edge.srt after Koldflux strip (clean file) == P2 edge edge-clean.srt published: ffmpeg -i video.mp4 -vf "subtitles=subs-clean.srt" -c:a copy burned.mp4 as run: ffmpeg -v error -y -i base.mp4 -vf "subtitles=edge-clean.srt" -c:a copy burned3.mp4; ffmpeg -v error -i edge-clean.srt -f ass - | grep -c ^Dialogue exit=0 2 == P3 font route published: 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 as run: rm -rf p3 && mkdir p3 && cd p3 && export HOME=$PWD/home && mkdir -p $HOME && curl -sSL -o "NotoEmoji[wght].ttf" "https://github.com/google/fonts/raw/main/ofl/notoemoji/NotoEmoji%5Bwght%5D.ttf" && sha256sum "NotoEmoji[wght].ttf" && mkdir -p ~/.local/share/fonts && cp "NotoEmoji[wght].ttf" ~/.local/share/fonts/ && fc-cache -f && ffmpeg -v verbose -y -i ../base.mp4 -vf "subtitles=../emoji.srt" -c:a copy burned.mp4 2>&1 | grep -c "failed to find any fallback"; echo missing-glyph-lines-above exit=0 de6c18832938afc99caf132b39d6a30a19bac7f2e812e28db2535b4608d27551 NotoEmoji[wght].ttf 0 missing-glyph-lines-above edge: SRT with no emoji, font installed == P3 edge plain.srt published: 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 as run: cd p3 && export HOME=$PWD/home && ffmpeg -v verbose -y -i ../base.mp4 -vf "subtitles=../plain.srt" -c:a copy burned-plain.mp4 2>&1 | grep -c "failed to find any fallback"; ffprobe -v error -show_entries stream=codec_name -of csv=p=0 burned-plain.mp4 exit=0 0 h264 aac edge: a second emoji font (Noto Color Emoji) also installed in the same folder == P3 edge second font published: 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 as run: cd p3 && export HOME=$PWD/home && cp ../../fonts/NotoColorEmoji-Regular.ttf ~/.local/share/fonts/ && fc-cache -f && ffmpeg -v verbose -y -i ../base.mp4 -vf "subtitles=../emoji.srt" -c:a copy burned2.mp4 2>&1 | grep -c "failed to find any fallback"; ffprobe -v error -show_entries stream=codec_name -of csv=p=0 burned2.mp4 exit=0 0 h264 aac note: P3 ran with HOME=work/p3/home (not the real HOME); grep -c prints 0 and exits 1 when nothing matches, that is the expected result here. With the second font installed the log lists no missing glyphs, but how the emoji were drawn was not checked in frames. edge: P1 pipeline exit codes == P1 edge edge.srt (contains an emoji, prints nothing) published: 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 as run: ffmpeg -v verbose -i base.mp4 -vf "subtitles=edge.srt" -f null - 2>&1 | grep -o "failed to find any fallback with glyph 0x[0-9A-F]*" | sort -u; echo "pipe status: ${PIPESTATUS[*]}"; grep -c 😀 edge.srt exit=0 pipe status: 0 1 0 1 note: edge.srt contains U+1F600 but the P1 command prints nothing, because a font on this machine covers it. Empty output means no code point lacked a font here, not that the file has no emoji. The pipeline exits 0 either way (sort is last).