MP4 Subtitles and Captions: Embedded Tracks, Burn-In and Sidecar Files

November 08, 2026 · MP4.now Editorial · MP4 Troubleshooting

Compare timed-text tracks, burned captions and sidecars, including accessibility and conversion loss.

MP4 Subtitles and Captions: Embedded Tracks, Burn-In and Sidecar Files

An MP4 file can carry timed text in three distinct ways. Each method behaves differently during playback, editing, and format conversion. Choosing the wrong one can strip accessibility features, force a lossy re-encode, or produce a file that plays silently without captions.

Three Storage Methods for Timed Text

Embedded Timed-Text Tracks

Captions stored as a separate data track inside the MP4 container use the mov_text codec (also labeled tx3g in some tools). The video and audio streams remain untouched. The subtitle track holds timing data, text strings, and optional styling instructions for font, color, and screen position.

The Library of Congress format description for MPEG-4 (FDD000155) notes that the container organizes media into a hierarchy of atoms or boxes. A timed-text track resides in a trak box whose mdia child contains a hdlr box with handler type sbtl or text—the same structural pattern used for video and audio tracks.

Observable check: Run ffprobe input.mp4 or open the file in MediaInfo (text view). A stream labeled "Subtitle" with codec mov_text or tx3g confirms an embedded track.

Player behavior: VLC, mpv, and most desktop players expose a subtitle track selector. You can toggle the track, switch languages, or disable it. Many smart TVs and consumer devices ignore embedded timed-text tracks in MP4 and require a separate WebVTT file instead.

Lossless extraction:

ffmpeg -i input.mp4 -map 0:s:0 subtitles.srt

Lossless removal:

ffmpeg -i input.mp4 -map 0:v -map 0:a -c copy output.mp4

Neither operation re-encodes video or audio.

Burned-In Captions

Burn-in renders text directly into the video frame as pixels. No separate track exists. The captions cannot be toggled, resized, or language-switched.

Observable check: Step through the video frame by frame. If caption text is always visible and no subtitle menu option appears in VLC or mpv, the captions are burned in. MediaInfo will show only video and audio streams.

Conversion loss: Removing burned captions requires frame-by-frame inpainting, which is destructive and rarely perfect. Adding burned captions forces a full video re-encode, reducing quality unless you use a sufficiently high bitrate. There is no lossless path in either direction.

When it applies: Delivery to systems that cannot parse subtitle tracks, such as certain broadcast chains or social media uploaders that strip all ancillary streams. Accessibility guidelines generally discourage burn-in because it prevents users from adjusting font size, color, or language.

Sidecar Files

A sidecar is a separate text file—.srt, .vtt, or .ass—that a player loads alongside the MP4. The container itself holds no subtitle data. The player matches timestamps from the sidecar to the video timeline.

Observable check: Look in the file directory. A pair like video.mp4 and video.srt indicates a sidecar. Opening the .srt in a text editor reveals plain text with timestamp blocks.

Player behavior: VLC, Infuse, and Plex automatically load a sidecar sharing the base filename. Most web browsers and default mobile video apps ignore sidecars. Because the caption data sits outside the container, platforms that expect embedded captions will not ingest it.

Lossless embedding into the container:

ffmpeg -i video.mp4 -i subtitles.srt -c copy -c:s mov_text output.mp4

This remuxes existing video and audio streams and adds the subtitle track. No quality loss occurs.

Accessibility Requirements and Platform Failures

WCAG 2.1 Success Criterion 1.2.2 requires captions for all prerecorded audio in synchronized media. Most compliance audits check that captions can be toggled on and off, which burn-in fails. Embedded timed-text tracks and sidecar files both satisfy this requirement, but only embedded tracks survive platform re-encoding—and even then, not reliably.

Documented failure: Upload an MP4 with embedded mov_text captions to a social media platform. The platform re-encodes the video and drops the subtitle track. Viewers see no captions. The workaround is to upload a separate WebVTT file through the platform's caption tool, or to burn captions in before upload.

What Conversion Cannot Recover

  • Burned-in captions: No converter can extract them as text. OCR can approximate the text but introduces errors and loses original timing data.
  • Lost sidecar files: If the .srt or .vtt file is deleted, the MP4 contains no caption information. Recreation from scratch is the only option.
  • Format stripping: Converting an MP4 with embedded timed text to a container that lacks subtitle track support (GIF, some MPEG-2 transport streams) silently drops the captions. No warning is issued.

Diagnostic Procedure

  1. Open the MP4 in MediaInfo (text view). Look for a "Subtitle" line under a stream entry.
  2. If no subtitle stream appears, open the file in VLC and check Subtitle > Sub Track. A grayed-out menu means no embedded track exists. Check the file directory for a .srt or .vtt file with the same base name.
  3. If VLC shows a subtitle track but no text renders, the track may be empty or use a codec the player does not support. Run:
    ffprobe -v error -select_streams s -show_entries stream=codec_name,index -of default=noprint_wrappers=1 input.mp4
    
    This returns the exact codec name and stream index.
  4. If text appears on screen and cannot be turned off, it is burned in.

Selection by Use Case

Situation Method Reason
You control the playback environment (custom app, VLC kiosk) Sidecar file No re-encode required; captions remain easy to edit
Uploading to a platform that supports embedded captions (YouTube, Vimeo) Embedded timed-text track Preserves toggle and language selection
Delivering to a broadcast system that rejects soft subtitles Burn-in Guarantees visibility on any playback chain
Archiving captions losslessly alongside video Embedded timed-text track Single container holds all media

Workflow: Sidecar to Embedded Track (Lossless)

Given a video file and a matching .srt sidecar, produce a single MP4 with internal captions:

ffmpeg -i video.mp4 -i captions.srt -c copy -c:s mov_text -metadata:s:s:0 language=eng output.mp4

This command: - Copies video and audio streams without re-encoding (-c copy) - Encodes the subtitle stream as mov_text - Sets language metadata so players can group tracks

Verify: Run ffprobe output.mp4 and confirm a subtitle stream with codec mov_text appears.

Failure mode: If the .srt file contains overlapping timestamps or syntax errors, ffmpeg may produce a file with a corrupt or empty subtitle track. Validate the .srt with a parser such as srt (Python library) before embedding.

Structural Reference

The FDD000155 description of MPEG-4 identifies the container as a hierarchical structure of atoms (boxes). A timed-text track occupies a trak box containing a mdia box, which in turn holds a hdlr box declaring the handler type as sbtl or text. This is the same hierarchy used for video and audio tracks. When a player sees the video but ignores the subtitle track, the cause is often a parser that rejects an unrecognized handler type or a missing sample entry in that trak subtree.

Technical basis for MP4 Subtitles and Captions

Structural claims in this guide are grounded in the primary MP4 technical reference.