How to use ffmpeg with drawtext and a emoji TTF
<p>I'm trying to overlay some text emoticons on top of a video using ffmpeg.. This works fine for normal TTF's e.g.</p>

<pre><code>ffmpeg -i video.mp4 -vf drawtext="Arial.ttf: text='YENTL  Bresseleers ': fontcolor=white: fontsize=24: x=(w-text_w)/2: y=(h-text_h-line_h)/2" -codec:a copy output.mp4 -y
</code></pre>

<p>I can use the <a href="https://github.com/MorbZ/OpenSansEmoji">OpenSansEmoji</a> font which gets me closer to what I need.. </p>

<pre><code>ffmpeg -i video.mp4 -vf drawtext="OpenSansEmoji.ttf.ttf: text='YENTL  Bresseleers ': fontcolor=white: fontsize=24: x=(w-text_w)/2: y=(h-text_h-line_h)/2" -codec:a copy output.mp4 -y`
</code></pre>

<p>However when I try with a TTF file with coloured emoji's like <a href="https://github.com/Ranks/emojione">emojione</a> or <a href="https://www.google.com/get/noto/#emoji-qaae-color">Noto Color Emoji</a> I get the below error:</p>

<pre><code>[Parsed_drawtext_0 @ 0x7fd643700000] Could not set font size to 24 pixels: invalid module handle
[AVFilterGraph @ 0x7fd643608b80] Error initializing filter 'drawtext' with args 'fontfile=AppleColorEmoji.ttf: text=YENTL  Bresseleers : fontcolor=white: fontsize=24: x=(w-text_w)/2: y=(h-text_h-line_h)/2'
Error opening filters!`
</code></pre>

<p>Any ideas?</p>