With this VLC extension you can search on online search engines the words displayed in the SRT subtitles of a video. You can look up online dictionaries to get translations, meanings, and others.
Copy the "subtitle_word_search.lua" file in one of the following directories depending upon your OS and the availability you want for other users:
Mac OS X
/usr/lib/vlc/lua/playlist/ or /usr/share/vlc/lua/extensions/
- Open the extension clicking the View > Subtitle Word Search menu.
- The extension looks for all the external .srt subtitle files located in the same directory of the movie file with the same name as the video file, the same subtitles that VLC detects automatically.
- Select a subtitle file from the dropdown widget and load it clicking the Load button (when the extension is open, one subtitle file will be loaded by default).
- The subtitle track synchronization delay is taken into account. Once you change it, click the Load button to apply it.
- The split words corresponding to the current playing time of the movie are displayed in a list.
- Transform the text checking the Lower (transform to lower case) or Symbol (keep punctuation symbols) boxes and clicking the Transform button. The transformations will be performed anyway for the next subtitles.
- Navigate through the subtitles behind/ahead of the current time clicking the << and >> buttons.
- Jump to the location in the video of the subtitle you are viewing with the Go button.
- Forward the playing time, click the Refresh button and see the updated subtitles.
- Select a word, select a search engine, and click the Search button.
- The web content will be displayed in the box at the bottom. You can also open the query link in your browser clicking the generated Open in browser link.
- Sometimes, the style of some web pages is not rendered properly, you can try getting rid of the styles by removing the HTML head tag. Just check the Remove \ tag box before making a search.
Learn more at https://github.com/tcrespog/vlc-subtitle-word-search