FFmpeg Subtitle Commands: Extract, Convert, Embed and Burn In SRT Files
Practical FFmpeg commands for subtitles: inspect streams, extract SRT, convert to VTT, embed in MKV or MP4, burn into video, shift timing and fix encoding.
Downloading a subtitle file is the easy part. Getting it to appear, in the right place, at the right time, in the right language, is where people lose an evening. The good news is that nearly every player follows the same few rules, and once you know them, you can solve almost any problem in minutes.
This guide covers VLC, which is popular and available on most systems, and the general rules that apply to other desktop players, media server apps like Plex, Jellyfin, and Kodi, televisions, and phones. Interface labels change between versions, so use the descriptions as a guide to what to look for.
The quickest way to test a subtitle file is to add it by hand.
VLC: play the video, then open the Subtitle menu and choose Add Subtitle File, and select your .srt. You can also drag the subtitle file onto the playing video window. The text appears straight away.
Other desktop players: most have a similar menu entry, often under Subtitles or the right-click menu, and most accept dragging the file onto the window.
Phones and tablets: video apps usually have a subtitle button in the player controls with an option to load an external file. Some apps need the file to sit in the same folder as the video.
If the subtitles appear when loaded by hand but not automatically, the problem is the file name or location, covered next.
Players look for a subtitle file next to the video with a matching name. The reliable recipe is:
For example:
Holiday Film (2024).mp4
Holiday Film (2024).srt
For more than one subtitle language, add a language code before the extension:
Holiday Film (2024).en.srt
Holiday Film (2024).es.srt
Holiday Film (2024).fr.srt
Most modern players and media servers recognise two-letter language codes and let you choose between the tracks. Some also recognise extra labels such as forced for foreign-dialogue-only subtitles, or sdh and cc for tracks for deaf and hard-of-hearing viewers. Details differ between apps, so check the documentation of the one you use. See captions vs subtitles vs SDH for what those labels mean.
Media server apps scan your library and attach subtitles that follow their naming rules. Matching the video's file name exactly, with a language code, is the safest convention. If a subtitle does not appear, rescan the library, and check that the name matches the video name including the year in brackets and any special characters. These apps may also download subtitles through plugins or built-in providers, but a correctly named sidecar file always takes priority for your own versions.
When subtitles are slightly early or late, you do not need to edit the file just to watch the film.
VLC: there is a track synchronisation option in the Tools menu where you can enter a subtitle delay. VLC also has keyboard shortcuts that nudge the subtitle delay in small steps while the video plays, which are listed in the hotkey settings of the preferences. Adjust until the text matches the speech.
Other players: most have a subtitle delay option, with a similar hotkey or menu entry.
A player's delay setting is temporary and belongs to that player. If you want the fix to travel with the file, or you use another device, apply a permanent shift in a subtitle editor. For errors that grow over the film, a player delay is not enough, because the offset changes. That points to a frame rate mismatch, explained in fixing subtitle sync problems.
Readability is personal, and soft subtitles let you adjust it.
In VLC: the preferences have a subtitles and on-screen display section where you can change font, size, colour, outline, and position. Increase the size and outline for bright scenes and for small screens.
On televisions and streaming boxes: look in the accessibility or subtitle settings. These often override the style in the file, which is helpful, because plain SRT carries almost no styling.
If a file carries colour tags and you dislike them, most players have an option to ignore subtitle styles.
If accents or other characters look wrong, the player is reading the file with the wrong text encoding. VLC has a setting for the default subtitle text encoding in its preferences. Try the encoding that matches the language, such as a Central European, Cyrillic, Greek, or Arabic option. A better long-term fix is to convert the file to UTF-8 so that every player reads it correctly. Our encoding guide shows how.
Playing from a USB stick on a television works well if you follow a few rules.
Work through this list in order.
film.srt.txt is a hidden-extension mistake common on Windows. Show file extensions in your file manager to check.--> timecodes. If it starts with WEBVTT or has square-bracket sections, it is another format.If you have two translations and want the best of both, you do not have to choose one. Combine them into a single file with the SRT Merger, which aligns them by timecode and lets you pick the best line in each row. For learning, you can also build a two-language file; see bilingual subtitles for language learning.
Subtitles appear automatically when the subtitle file sits next to the video with the same base name, optionally with a language code before the extension. Add files manually to test, adjust delay when the timing is slightly off, change size and style in the player's settings, and convert to UTF-8 when characters are garbled. If nothing shows, work through the checklist: turned on, named correctly, same folder, valid file, correct video, correct encoding. Almost every missing-subtitle problem is solved by one of those steps.
Merge your own subtitle files
Compare two .srt files side by side and save the best lines as one file. It runs in your browser, so nothing is uploaded.