All Projects → tcrespog → vlc-subtitle-word-search

tcrespog / vlc-subtitle-word-search

Licence: GPL-3.0 License
Search for words of the current video SRT subtitle files in VLC

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to vlc-subtitle-word-search

Ffsubsync
Automagically synchronize subtitles with video.
Stars: ✭ 5,167 (+18353.57%)
Mutual labels:  vlc, srt-subtitles
vlc-delete
VLC extension to remove videos from the harddisk
Stars: ✭ 40 (+42.86%)
Mutual labels:  vlc, vlc-extension
vlc-protocol
Open vlc:// links directly from your web browser.
Stars: ✭ 143 (+410.71%)
Mutual labels:  vlc
qt-youtube
No description or website provided.
Stars: ✭ 31 (+10.71%)
Mutual labels:  vlc
Black-VLC-Mac
A black theme for VLC for Mac
Stars: ✭ 26 (-7.14%)
Mutual labels:  vlc
react-native-vlc-media-player
React native media player for video streaming and playing. Supports RTSP, RTMP and other protocols supported by VLC player
Stars: ✭ 221 (+689.29%)
Mutual labels:  vlc
radiobar
macOS menubar app to listen to streaming radio
Stars: ✭ 53 (+89.29%)
Mutual labels:  vlc
sausage
Learn Foreign Languages via Movies Subtitle
Stars: ✭ 12 (-57.14%)
Mutual labels:  srt-subtitles
kasper music player
An All In One app that would allow "music.youtube.com" to work in restricted countries. This app aims to bypass all the premium models and create FFA experience
Stars: ✭ 25 (-10.71%)
Mutual labels:  vlc
subtitles
Go library and command-line tools for manipulating .srt, .vtt and .ssa subtitles
Stars: ✭ 27 (-3.57%)
Mutual labels:  srt-subtitles
VLCAndroidMultiWindow
Multi-window android mediaplayer based on vlc
Stars: ✭ 33 (+17.86%)
Mutual labels:  vlc
VLC-Scheduler
Basic automation & scheduling for VLC media player. [Currently not actively maintained].
Stars: ✭ 57 (+103.57%)
Mutual labels:  vlc
adl
🍿 anime-downloader + trackma wrapper
Stars: ✭ 91 (+225%)
Mutual labels:  vlc
Elgindy-VTT-to-SRT-Subtitle-Converter
A tool for converting Web Video Text Tracks Format (WebVTT) subtitle to srt one. As most of video players support srt subtitles and can't open vtt subtitles, We should convert vtt to srt or sub subtitles but it's not easy to do that.
Stars: ✭ 68 (+142.86%)
Mutual labels:  srt-subtitles
piptv
A very simple Python IPTV client
Stars: ✭ 67 (+139.29%)
Mutual labels:  vlc
CommenPlayer
CommenPlayer ——Video player, Support ijkPlayer, Vlc, MediaPlayer, ExoPlayer; 视频播放器,支持ijkPlayer,Vlc,MediaPlayer,ExoPlayer
Stars: ✭ 81 (+189.29%)
Mutual labels:  vlc
TwitchPotPlayer
Extensions for PotPlayer to watch Twitch streams without streamlinks or any crap.
Stars: ✭ 159 (+467.86%)
Mutual labels:  vlc
vlc-portable
🚀 VLC Media Player portable for Windows
Stars: ✭ 17 (-39.29%)
Mutual labels:  vlc
twitchpipe
Pipe your favorite Twitch streams to the media player of your choice, or a file to save them for later. Supports low-latency playback.
Stars: ✭ 28 (+0%)
Mutual labels:  vlc
awesome-vlc
👻 A curated list of awesome VLC and LibVLC resources.
Stars: ✭ 45 (+60.71%)
Mutual labels:  vlc

vlc-subtitle-word-search

Search for words in the SRT subtitle files of your videos playing in VLC.

Synopsis

With this VLC extension you can search on web search engines the words displayed in the SRT subtitles of a video. This way you can look up online dictionaries to get translations, meanings, and others.

The extension is published at addons.videolan.org.

Versions

Check releases to download a specific version.

Installation

Copy the subtitle_word_search.lua file in one of the following directories depending upon your operating system, and the availability you want for other users:

  • Windows
    • All users: Program Files\VideoLAN\VLC\lua\extensions\
    • Current user: %APPDATA%\vlc\lua\extensions\
  • Mac OS X
    • All users: /Applications/VLC.app/Contents/MacOS/share/lua/extensions/
    • Current user: /Users/%your_name%/Library/ApplicationSupport/org.videolan.vlc/lua/extensions/
  • Linux
    • All users: /usr/lib/vlc/lua/playlist/ or /usr/share/vlc/lua/extensions/
    • Current user: ~/.local/share/vlc/lua/extensions/

Help

Usage

  • 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 video file and with the same name as it. Those are 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 opened, 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 previous/next subtitles.
  • Navigate through the subtitles behind or ahead of the current time clicking the "<<" or ">>" buttons respectively.
  • Jump to the location in the video of the subtitle you are viewing with the "Go" button.
  • Change 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 by clicking the "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 <head> tag" box before making a search.

Tips

Encode subtitle files as UTF-8

VLC extensions work better with UTF-8 encoded text. To make sure most of the special symbols of the file are displayed correctly make sure the subtitle file you load is encoded as UTF-8.

Add your custom search engines

Open the subtitle_word_search.lua with a text editor and modify the variable search_engines adding new entries as in the example below.

search_engines = {
	{name = "Wikitionary", url = "http://en.wiktionary.org/wiki/%s"},
	{name = "Wikipedia", url = "https://en.wikipedia.org/wiki/%s"},
	{name = "My search engine", url = "http://www.mysearchengine.url/%s"} --New search engine!
}

Make sure the search engine URL has the %s text in place of the query text.

Keep the extension open

While watching a movie, open the extension and keep it open. Whenever you want to look up a word: pause the video, check the extension, click the refresh button and make your search.

Use it to hide subtitles

You may not be interested in seeing the subtitles to help you practice your listening skills. You can disable the subtitles and use the extension to check just those sentences that you didn't get right.

Demonstration GIFs

The following images were taken for v1.1, but the current interface is similar.

Load another subtitle file

alt text

Navigate through the subtitles

alt text

Search for a word

alt text

Refresh the current time's subtitle

alt text

Contribution

  • The extension was created using the VLC Lua guide in this specific version:
  • The VLC forum is useful to solve doubts about plugin development.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].