Subtitle Edit

the subtitle editor :)


Remux Video

Repackage the video with new audio tracks and optional soft subtitles into an MP4, MKV, MOV or MPG file without re-encoding the video.

Remux Video

Remuxing copies the streams into a new container, so it is quick and lossless. Use it to attach a dubbed or translated audio track (for example from Text to Speech), to add subtitle tracks that can be switched on and off in the player, to embed CEA-608 closed captions, or to convert between MP4, MKV, MOV and MPG. To draw the subtitle into the picture instead, see Burn-In Subtitles.

The More submenu is shown while a video is loaded, and ffmpeg is required (you are offered to download it when it is missing).

How to Use

  1. Open Video → More → Remux video…
  2. Input video is filled with the loaded video, and its own audio is placed first in the audio list (with several audio tracks you are asked which one to use)
  3. Add… the audio files and, optionally, the subtitle files
  4. Pick the Output format and check the Output file name
  5. Click Remux; a progress bar shows how far ffmpeg has come
  6. When done, a file-saved prompt appears and Open containing folder and Play buttons show up next to Done

Cancel while remuxing stops ffmpeg and deletes the partial output file. The window is not modal, so the main window stays usable while it is open; only one remux window can be open at a time.

Input Video

Accepted formats: .mp4, .mkv, .mov, .avi, .webm, .ts, .mpg, .mpeg, .vob. The first video stream is copied as-is (for an MPG output it may have to be re-encoded, see below).

When the video can’t be stored in the chosen output format without re-encoding - for example VP8 video from an older .webm, which MP4 cannot hold - the output format switches to .mkv (unless a subtitle file needs MOV or MPG).

Audio Files

Accepted formats: .mp3, .aac, .ac3, .m4a, .wav, .mka, and every video format accepted as input video (its audio track is used). At least one audio file is required. A file that has no audio track is refused with a message.

Subtitle Files

Accepted formats: .srt, .ass, .ssa, .vtt, .sub, .scc, .mcc. These become soft subtitle tracks (selectable in the player, not burned in), one per file, titled after the file name. In an MKV the file is stored unchanged; in an MP4 it is converted to the MP4 text subtitle format (mov_text), which loses styling.

A Scenarist .scc file is embedded as a CEA-608 closed caption track (QuickTime c608) in a MOV. Save the subtitle as Scenarist Closed Captions first, then add the .scc file here.

Closed captions in MPG (ATSC A/53)

With Output format .mpg, the subtitles are embedded as CEA-608 (and CEA-708) closed captions inside the MPEG-2 video (ATSC A/53 “GA94” picture user data, as in US broadcast and NTSC MPEG-2 files). Players and tools show them as “EIA-608” or “CC1”.

ffmpeg first writes the MPEG program stream, then Subtitle Edit adds the captions to the video; the progress bar shows both steps. To check the result: MediaInfo lists Text tracks “EIA-608” (and “EIA-708”) muxed in the video, and ffmpeg -f lavfi -i "movie=out.mpg[out0+subcc]" -map 0:1 out.srt extracts it.

Output Format and File

The window remembers its size and position.

Keyboard Shortcuts

Key Action
Ctrl+Up / Ctrl+Down Move the selected audio or subtitle file up / down
Delete Remove the selected file from its list
Escape Close (not while remuxing)
F1 Show help (default key, changeable)