Why are my burned subtitles so big, or so small?
FontSize is not in pixels. libass lays SRT subtitles out on a 288-line canvas and scales that canvas to the video height, so the same number grows with the resolution. We burned the cue "A dragon." with FontSize=24 onto blank frames of four sizes and measured the text:
- 640x272: 18 px tall
- 1280x546: 38 px tall
- 1920x818: 57 px tall
- 1080x1920 (vertical): 132 px tall
To work in pixels, set PlayResY to the video height. The canvas then matches the frame:
ffmpeg -i in.mp4 -vf "subtitles=subs.srt:force_style='FontSize=24,PlayResY=546'" -c:a copy out.mp4On a blank 1280x546 frame, "A dragon." came out 20 px tall, against 38 px without PlayResY. The command above ran on in.mp4 in full.




