5

On Windows, if I just drag a srt file on to a playing video, the subtitles are displayed. On Linux, the dragging doesn't work. Now, mpv is my default player, so I just double click on the video file to play it. But I can't add subtitles. And I don't want to open my terminal everytime I play a video.

1
  • And so many people claim mpv is better than vlc??
    – hopeseekr
    Oct 5, 2020 at 16:23

4 Answers 4

3

According to the MPV help page's subtitle section:

You need to put sub-auto, and likely sub-paths in your mpv.conf file (see link for examples). I'm not aware of any support for "drag and drop" subtitles addition in MPV.

1
  • 5
    In mpv version 0.23.0 (Debian) drag and dropping a .srt file seems to work.
    – cYrus
    Sep 24, 2017 at 18:31
1

In Linux, create a file mpv.conf in ~/.config/mpv and add the following lines:

--sub-auto=all

--sub-file-paths=sub:subtitles:<any_other_folder_with_subtitle_files>

you can add names of folder where subtitles are (could be a subdirectory within the folder of the movie).

1
  • 2
    Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Mar 27, 2022 at 10:37
0

I made a GUI so you can use it to make a MPV configuration file and play movies with subtitle using it (for GNU/Linux) :

MPV SUB CONF

0

I made a folder containing just the video file and the subtitle file and modified their names so that they are the same. I then played the video file on MPV and pressed v to show the subtitles. It worked!

BTW, I'm using MPV on Linux Mint 18.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .