<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:12.0pt;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=NL link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Hello mailing list members,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>We use FFmpeg in combination with the subtitle filter to burn in (or hardcode) subtitles to MP4 videos with the subtitles command (with the libass library). We are currently migrating our instances to a serverless environment by the usage of AWS Lambda. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>The basics are set-up and a pre-compiled version of FFmpeg has been made. The first tests are done and the basic commands of FFmpeg do work on this environment. Unfortunately, AWS Lambda does not support the installation of custom fonts (as it is a serverless instance). Therefore, we are looking for a method to specify the font folder on the server within FFmpeg. Is there a developer within this mailing list that could help us with this?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt'>Additional information:<o:p></o:p></span></b></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>We have already tried adding a font folder to the FFmpeg directory, however this does not seem to work. Also, we are trying to specify the font variable in Python with “<i>os.environ['FONTCONFIG_PATH'] = '/opt/fonts'</i>”. As a compiled version we are using the build of John van Sickle: </span><span style='font-size:11.0pt'><a href="https://johnvansickle.com/ffmpeg/"><span lang=EN-US>https://johnvansickle.com/ffmpeg/</span></a></span><span lang=EN-US style='font-size:11.0pt'>. Furthermore, most questions on the internet link to a forum that has unfortunately gone offline. The wayback machine provided me with some information, but not enough to make this work.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Thanks for taking your time reading this message and looking forward hearing from you.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Mick Berkhout<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>CTO of VidProve<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p></div></body></html>