Use this workflow when captions must remain visible in every copy of the exported video. Keep the original master and the SRT for viewers or platforms that need switchable captions. The example uses an MP4 with one video track and optional AAC audio.
Check your FFmpeg build
ffmpeg -filters
Find the filter named ass in the list. If it is missing, use an FFmpeg build with libass support. A build can successfully convert subtitle text to ASS and still lack the filter that draws it onto video.
Set the style
ffmpeg -i captions.srt captions.ass
Open captions.ass in a text editor. Under [V4+ Styles], use the Format line to locate Fontsize, Alignment and MarginV in the Style line named Default. Keep the remaining fields and their commas intact. For a first preview, set Fontsize to 18, Alignment to 8 for top center and MarginV to 20. Use Alignment 2 for bottom center. Leave the Dialogue lines alone so each cue keeps its assigned times. These settings apply to the default style in this newly converted file.
Render a short sample
Put the input and captions.ass in the same folder. Choose a fresh output filename. For a quick check, use a short input that includes dialogue, with subtitle times relative to that clip.
ffmpeg -i input.mp4 -map 0:v:0 -map "0:a:0?" -vf ass=captions.ass -c:v libx264 -crf 18 -c:a copy output.mp4
The command renders the first video track and copies the first audio track if present. Review your mapping before using it on a multilingual master. The output subtitles are part of the picture and viewers cannot switch them off.
Check placement and timing
In our 640 × 360 black test clip, a cue ran from 0.20 to 0.80 seconds. At 0.50 seconds the 18-size bottom-centered text occupied rows 316–334. Changing only alignment to top center moved it to rows 29–46. Raising the top-centered size to 32 increased the text width from 136 to 242 pixels. Frames at 0.00 and 0.90 seconds stayed black. Font choice and script resolution affect those measurements. Inspect your own longest line on the delivery frame size, especially where it overlaps faces or titles.