How to Embed Captions in Kdenlive MP4

This article provides a straightforward, step-by-step guide on how to embed closed captions and subtitles directly into your MP4 video stream using Kdenlive. You will learn how to either burn the captions directly into the video frames (hardcoding) or embed them as a toggleable subtitle track (soft coding) within the final exported MP4 file.

Step 1: Create or Import Your Subtitles

Before exporting, you must have a subtitle track ready in your Kdenlive timeline.

  1. Open your project in Kdenlive.
  2. If you do not have subtitles yet, enable the subtitle track by clicking Project in the top menu, selecting Subtitles, and clicking Add Subtitle Track.
  3. Type your captions directly into the subtitle track, or import an existing subtitle file by going to Project > Subtitles > Import Subtitle File (supporting formats like .srt).

Step 2: Open the Render Menu

Once your video edit and subtitles are complete, you need to configure the export settings.

  1. Click the Render button in the top toolbar, or press Ctrl + Enter (Cmd + Enter on macOS) to open the Render widget.
  2. Select MP4 (usually listed under the “Generic” category as H.264/AAC) as your output format.

Step 3: Choose Your Embedding Method

In the Render dialog box, look at the options near the bottom. You will see a section dedicated to Subtitles. Expand this section if it is collapsed. Kdenlive offers two distinct ways to embed captions into your MP4 stream:

Method A: Burn-In Subtitles (Hardcoded)

This method permanently merges the text into the video pixels. The captions will always be visible and cannot be turned off by the viewer.

  1. In the Subtitle options of the Render widget, check the box labeled Overlay subtitles on video (or “Burn-in subtitles” depending on your Kdenlive version).
  2. Choose the subtitle track you want to burn in from the dropdown menu.
  3. Click Render to File.

Method B: Embed Soft Subtitles (Toggleable)

This method inserts the subtitle data as a separate, selectable stream inside the MP4 container. Viewers can turn these captions on or off using their media player’s subtitle settings.

  1. In the Subtitle options of the Render widget, check the box labeled Embed subtitles in video file.
  2. Ensure the output container supports embedded text streams. (MP4 supports this via the mov_text codec, which Kdenlive handles automatically when this option is checked).
  3. Click Render to File.

Step 4: Verify the Exported File

Once rendering is complete, open your exported MP4 file in a media player like VLC to verify the captions: