How to hardcode subtitles into a video.
Hardcoding (burning in, hardsubbing) draws the subtitle text into every frame, so it shows on TikTok, Reels, Shorts, WhatsApp and any player. Below are the exact steps in HandBrake, ffmpeg and SoCaptions.
Hardcoded, burned-in and open captions are three names for the same thing: subtitles rendered into the picture instead of shipped as a separate track. Social apps drop soft subtitle tracks on upload, so for short-form video hardcoding is the only way your subtitles reach viewers. You need two things: the video and a subtitle file (SRT, VTT or ASS). If you don't have the file yet, transcribe the video first. Then pick the method that fits: HandBrake if you want a free desktop app, ffmpeg if you're comfortable in a terminal, SoCaptions if you want styled captions without writing ASS by hand.
Step by step
- 01HandBrake (free, Windows/macOS/Linux)Open the video, go to the Subtitles tab, choose Tracks → Add External Subtitle Track and pick your .srt. Tick Burn In for that track, keep the format at MP4 and press Start Encode. HandBrake draws plain white text; for an existing track inside an MKV, pick it from the list and tick Burn In the same way.
- 02ffmpeg (free, one command)`ffmpeg -i input.mp4 -vf subtitles=subs.srt -c:a copy output.mp4` burns an SRT. Use `-vf ass=subs.ass` to keep an ASS file's own styling, or `-vf subtitles=input.mkv:si=0` to burn the first subtitle track already inside an MKV. Restyle an SRT with `subtitles=subs.srt:force_style='FontName=Arial,FontSize=24,Outline=2'`.
- 03SoCaptions (online, styled)Open the editor, pick your video and your SRT/VTT/ASS file together. The text and timing come from the file, so nothing is transcribed. Choose a caption style, adjust size and position, fix any line, and export the MP4 with the subtitles burned in at the source resolution (Pro). No subtitle file? Upload just the video and Whisper writes the captions.
- 04Check the result before postingWatch the export on a phone: keep captions above the bottom UI of TikTok, Reels and Shorts, and split any line faster than about 17 characters per second. The reading speed checker and safe-zone preview catch both before you burn in.
- Shows on every platform and player, including apps that drop subtitle tracks
- Looks exactly as you styled it, independent of viewer settings
- One file to upload, nothing to keep in sync
- Readable with the sound off, which is how most feeds autoplay
- Permanent: viewers can't switch it off or change the size
- One language per file; each translation is a separate export
- Needs a re-encode, so keep the original for later edits
- On its own doesn't meet WCAG's closed-caption requirement
FAQ
What's the difference between hardcoded, burned-in and open captions?+
None. 'Hardcoded' or 'hardsub' is the fansub term, 'burned-in' the post-production term and 'open captions' the broadcast term. All three mean the text is part of the picture.
How do I hardcode subtitles with ffmpeg?+
`ffmpeg -i input.mp4 -vf subtitles=subs.srt -c:a copy output.mp4`. The audio is copied untouched and only the video is re-encoded. For an ASS file use `-vf ass=subs.ass`; for a track inside an MKV use `-vf subtitles=input.mkv:si=0`.
How do I burn subtitles in HandBrake?+
Subtitles tab → Tracks → Add External Subtitle Track → choose the .srt → tick Burn In → Start Encode. Only one track can be burned in per encode.
Can I hardcode subtitles without transcribing again?+
Yes. All three methods take an existing SRT. In SoCaptions, pick the subtitle file together with the video and the editor uses its text and timing directly, without spending transcription minutes.
Are hardcoded captions enough for accessibility?+
Not for WCAG 1.2.2, which expects captions viewers can turn on and off. Upload the SRT or VTT as a caption track as well where the platform supports it (YouTube, Vimeo, LinkedIn).
Will hardcoding reduce video quality?+
Any burn-in re-encodes the video. Export at the source resolution and frame rate with a high bitrate and the difference is invisible after TikTok or Instagram compress it again.
An MP4 may contain a soft subtitle track, or the captions may be burned into the pixels. Check which case you have before choosing a tool.
Transcribe the original speech, translate the text, then review timing, line breaks, and terminology before you publish the new language.