intertitle
English ▾

Getting the subtitle file out of a video

intertitle works with a subtitle file (.srt, .vtt or .ass). If your episode is an .mkv or .mp4 with the subtitles inside, pull them out with ffmpeg, a free command-line tool. It takes seconds.

Windows

Other options

macOS

Other options

Linux

Other options

Windows

Open PowerShell (Start menu → type “PowerShell”) in the folder with the video and run the commands there.

Install ffmpeg

Install ffmpeg once: winget install ffmpeg, or download it from ffmpeg.org and add it to your PATH.

1. List the subtitle tracks

                    ffmpeg -i .\Episode.mkv
                

Look for lines with “Subtitle”. Each one shows a language and a format: subrip (SRT), ass, webvtt, or hdmv_pgs_subtitle and dvd_subtitle (images, see below).

                    Stream #0:2(ger): Subtitle: subrip (default)
Stream #0:3(eng): Subtitle: subrip
Stream #0:4(ger): Subtitle: hdmv_pgs_subtitle
                

2. Extract the track you want

                    
                        ffmpeg -i .\Episode.mkv -map 0:s:0 .\Episode.de.srt
                    
                

0:s:0 means the first subtitle track; use 0:s:1 for the second, and so on. The file lands next to the video.

                    # the second subtitle track, as SRT
ffmpeg -i .\Episode.mkv -map 0:s:1 .\Episode.de.srt

# an ASS track, kept as ASS
ffmpeg -i .\Episode.mkv -map 0:s:0 -c:s copy .\Episode.de.ass
                

Playing the result

Put the downloaded file next to the video with the video's name: Episode.mkv and Episode.de.intertitle.srt. Jellyfin, Plex, VLC and mpv then offer it as a subtitle track. In VLC you can also drag the file onto the playing video.

Shows/Herz über Kopf/Season 01/
  Herz über Kopf S01E03.mkv
  Herz über Kopf S01E03.de.intertitle.srt

Out of sync?

If the subtitles run early or late, set “Shift all timings” under Advanced, or press G/H in VLC while playing.