Sub topic 15
Burned-In Captions Versus a Separate Track
Assume you understand basic SRT timing and can export an MP4 file. This chapter focuses on how captions reach the viewer after you create and correct them.
A burned-in caption is text rendered permanently into the video image. A separate caption track is a subtitle stream stored alongside the video and audio. Viewers can usually turn a separate track on or off, and some players let them change its size or language.
Choose a delivery method
| Method | Viewer control | Best use | Main limitation |
|---|---|---|---|
| Burned-in | None | Social media, demonstrations, unreliable players | Cannot be hidden or corrected without rendering again |
| Separate track | Usually available | Courses, accessible players, multiple languages | The platform or player must support the track |
Use a separate track when accessibility and viewer choice matter. A viewer may need captions because of hearing loss, a noisy environment, or a different first language. A separate track also lets you provide several language files without creating a complete video for each language.
Use burned-in captions when the destination does not reliably support subtitle tracks, or when the text is part of the visual design. Burned-in text also guarantees that every viewer sees the same words. This guarantee can help on short-form platforms, but it removes control from the viewer.
Burn captions into the picture
The subtitles filter draws the SRT text onto each video frame. Because the picture changes, FFmpeg must encode the video again.
ffmpeg -i lecture_cut.mp4 \
-vf "subtitles=captions.srt" \
-c:v libx264 -crf 20 -preset medium \
-c:a copy lecture_burned.mp4The -crf value controls visual quality for the H.264 encoder. Lower values usually produce larger files and higher quality. Check the rendered result on a phone or small window. Captions that look acceptable on a large monitor may be too small on a mobile screen.
Burning captions in can also change their appearance. The subtitle renderer applies a font, position, outline, and margin. Test characters such as accented letters and punctuation before producing the final file.
Add a separate subtitle track
For an MP4 file, FFmpeg can store an SRT file as a mov_text subtitle stream:
ffmpeg -i lecture_cut.mp4 -i captions.srt \
-map 0:v:0 -map 0:a? -map 1:0 \
-c:v copy -c:a copy -c:s mov_text \
-metadata:s:s:0 language=eng \
-metadata:s:s:0 title="English captions" \
lecture_soft.mp4Here, -c:v copy and -c:a copy avoid re-encoding the original media. The subtitle stream is converted because SRT is a text file, while mov_text is the subtitle format commonly used inside an MP4 container. The question mark in -map 0:a? allows the command to work even if the source has no audio stream.
A separate track is not automatically available everywhere. Some web players ignore embedded subtitles, and some learning platforms require you to upload the SRT separately. Confirm the platform’s required format before exporting.
Review both choices
Keep the original video and the corrected SRT file. They are your editable sources. Export a burned-in version only when the destination requires it. For a separate-track version, verify that captions start at the correct time, can be enabled, and remain synchronized after seeking.
Exercise
You need captions that viewers can hide and that can later be replaced with Spanish captions. Which delivery method should you choose, and what must you verify?
Show answer
Choose separate caption tracks. Verify that the target platform accepts the track, exposes its language metadata, lets viewers enable it, and keeps it synchronized during playback and seeking.