User Tools

Site Tools


video:subtitles

controls: video subtitles

MMP: Minimalist Media Player supports subtitles: subtitles embedded in the video file and subtitles contained in external files.

By default, if at least one subtitle track is included in the video file, or if the file is accompanied by a subtitle file of the same name, subtitles will be displayed automatically.
This default behavior can be overridden by editing the mpv.conf file and adding one of the following:

Setting Effect
sub=no starts MMP with subtitles turned off.
sub=auto starts MMP with a subtitle track auto-selected and displayed. This takes into account your preference setting for subtitle language. See below.


There are two keyboard controls specifically for subtitles:

Control Action
Ctrl [S] toggle1) showing subtitles
[F7] cycle through all subtitle tracks in the media file one at a time2)

Using Ctrl [S] temporarily sets the sub= setting in MPV while MMP is running.

In mpv.conf you can set your preferred subtitle language3):

Setting Effect
slang=en will auto-select English subtitles, if they exist
slang=hu,en will set the Hungarian subtitle track, or English if there's no Hungarian track.
slang=pt-BR will try to set Brazilian Portuguese, otherwise any Portuguese subtitle track.

For a full list of available language codes see RFC 5646 Language Codes

For other options see the MPV manual at mpv.io subtitles

1)
toggle: press once to set on; press again to set off
2)
the cycle also includes a “subtitles off” step
3)
requires MMP v3.0.2 or later
video/subtitles.txt · Last modified: 2024/07/26 12:28