5

I am looking for a software or media player that has subtitles automatically. For example with VLC, if I do not have the subtitle file, I can not have the subtitles.

Is there any software that allows me to translate English subtitles to Spanish automatically?

  • 1
    Media centers like Kodi can try to download subtitles; Emby server also does that; maybe there are simpler media players that can do it too but I'm not aware of any. Also the above examples need proper settings but it's easy. But if you're looking for automated translation I don't think there's one. The software I mentioned work by downloading subtitle files from known websites like opensubtitles.org. – GabrielaGarcia Feb 7 at 19:04
  • Thanks @GabrielaGarcia for the contribution. Which of the two is the one that works when downloading the files? What you mention is a player or a translator? Thank you. What I want is to be able to put subtitles, either one way or another, maybe I should not put in the question "automatically" – Mari Cruz Fernandez Feb 7 at 20:11
  • 2
    Kodi and Emby is what I use. Both require settings for it and if using the opensutitles.org service you also need to create an account. It is not a translator in any case. It merely searches the databases with the file title and/or metadata and if there are subtitles available for the chosen language it'll download and use them. If there aren't it won't, of course. Here's an example for Kodi: kodisubtitles.net – GabrielaGarcia Feb 7 at 20:21
  • 1
    Hello @GabrielaGarcia, how do you have the installation, do you have Kodi to watch the videos and EMMM use it as a server? Should you configure one with another for the subtitle download to work? Thank you – Miguel Espeso Feb 7 at 23:20
  • 1
    If there are no subtitles available in the websites that provide them then there's nothing to do. I've been saying since the beginning that what you want - an automatic translator - doesn't exist. What exists is plugins for media players that can automate the some process that otherwise you would do manually - download a subtitles file. – GabrielaGarcia Feb 8 at 8:14
3

VLSub - A VLC extension for adding subtitles to videos

VLC has an extension called VLSub which allows you to download and add subtitles to your videos.

The package is called vlc-plugin-sub which you can find either in Software Manager or install from the command line (Ctrl+Alt+t) with the command: sudo apt install vlc-plugin-sub.

Optionally, you could install it manually, either from the above VideoLan link, or from the developer's repository on GitHub:

  1. Click on the download link (located on the files tab on the VideoLan site).
  2. Save the file, extract vlsub.lua and save it in either of the two following directories:

    (all users): /usr/lib/vlc/lua/extensions/

    (current user): ~/.local/share/vlc/lua/extensions/

This plugin downloads subtitles from the site opensubtitles.org. These are user-submitted files. So, subtitles for a particular video may sometimes not be available or out of sync with the particular version of your video.

VLSub usage:

  1. Once the extension is installed, Select View-->VLSub-->Research from the VLC menu.
  2. You will be presented will a dialog box like the following:

    enter image description here

  3. Search by Name, hash or any additional details you may want to add.
  4. Select Download Selection. This will download your selection(usually an .srt file) to the same directory as the video and start using the subtitle.
3

Maybe this workaround, uploading to YouTube, is useful for someone. YouTube creates subtitles for the original language of the video and translates, but the translation is only from English to other languages, the opposite is apparently not available (step 9-10).


1. Upload your video to youtube:
enter image description here


2. In "Advanced settings" tab - "Video language" define the original (if you want to translate, the original may have to be english): enter image description here


3. Enter your channel:

enter image description here


4. Enter YouTube studio:

enter image description here


5. To the left side, click on Videos, and select your video.


6. Having your video opened (important - step 5), click on Transcriptions on the left side, and on the right side click ADD LANGUAGE blue button: enter image description here


7. to the right side click ADD, blue square with arrow: enter image description here


8. To the right side click on "Create New subtitles or CC": enter image description here


9 and 10. click up left in "Autotranslate" and then to the right "save changes" (important): enter image description here


11. click in the language of interest, translated in step 10; click in Actions, now you can choose the desired format. for ex. .srt (.srt is not available in step 9)


12. There might be significant overlap among sentences. I use Gaupol (link to install) to reduce that: (Tools menu - Adjust Durations)

enter image description here


13. Now, use MKVToolNix (has GUI) or HandBrake to add subtitles to video.

Example: (command line version)

sudo apt-get install mkvtoolnix mkvtoolnix-gui
mkvmerge -o outputfile.mkv inputfile.mp4 subtitle.srt 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.