Log in

View Full Version : FFmpeg Custom Font Directory


jay123210599
13th November 2025, 17:55
I have an .ass subtitle file. How do I use ffmpeg insert a directory of custom fonts so the subtitles only use them and NOT the system fonts, and export the result as another .ass file?

GeoffreyA
13th November 2025, 19:39
I'm not sure if FFmpeg can do that; Aegisub can.

If you need to burn subtitles onto the video using fonts from a directory, use:

ffmpeg -i S01E01.mkv -vf subtitles=S01E01.ass:fontsdir="My Fonts":force_style="fontname=EB Garamond" -c:v libx264 OUT.mp4