
VLSub
Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/exebetche/vlsub
VLSub is not working with Vlc 2.1.x, please update to 2.2.
Search and download subtitles from opensubtitles.org using the hash of the video currently playing or its title.
INSTALLATION:
- download the file from the "Files" tab above
- create a directory "extensions" at this location and put the file "vlsub.lua" inside:
* Windows (all users): %ProgramFiles%VideoLANVLCluaextensions
* Windows (current user): %APPDATA%vlcluaextensions
* Linux (all users): /usr/lib/vlc/lua/extensions/
* Linux (current user): ~/.local/share/vlc/lua/extensions/
* Mac OS X (all users): /Applications/VLC.app/Contents/MacOS/share/lua/extensions/
* Mac OS X (current user): /Users/%your_name%/Library/Application Support/org.videolan.vlc/lua/extensions/
...or use the installer below if you're on Windows 7 (32 or 64)
To start the extension click on View > VLSub or Vlc > Extensions > VLSub on Mac OS.
Limitation
* Impossible to automatically save the subtitles on Windows if the path to your video contain non ASCII (non-english) characters and the "search by hash" method will be slower.
* The "search by hash" method will fail on Windows if for video files >2Go (if VLC is compiled with lua 5.1 anyway)
/! Troubleshooting /!
If you have other issue you can ask for a solution here or on github but please get the full vlc debug log and add it as a pastebin to your post. The procedure is explained here:
https://github.com/exebetche/vlsub/wiki/Troubleshooting
Support http chunked transfer encoding 4 years ago
Fix broken extension after opensubtitles uses a new CDN
Support http chunked transfer encoding 4 years ago
Fix broken extension after opensubtitles uses a new CDN
6 years ago
2014-09-12
Fix error with http 301 redirection
2014-08-19
Fix subtitles loading on Vlc 2.2
2014-05-08
Fix a bug due to opensubtitles header modifications
lheme
4 years ago
Report
jacktheripper82
4 years ago
Win 7 64 bit
VLC 2.2.2 Weatherwax
VLSub 0.10.0
Report
jacktheripper82
4 years ago
Report
sleo
4 years ago
Text of the log where the problem seems to be:
lua debug: Clicking 'C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub.lua': 'Search by name'
core debug: net: connecting to api.opensubtitles.org port 80
core debug: connection succeeded (socket = 2748)
core debug: net: connecting to api.opensubtitles.org port 80
core debug: connection succeeded (socket = 2752)
lua warning: Error while running script C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub.lua, function (null)(): ...am Files (x86)\VideoLAN\VLC\lua\extensions\vlsub.lua:1432: attempt to concatenate field 'SubSumCD' (a nil value)
lua warning: Could not translate click
core debug: auto hiding mouse cursor
Report
raj45
4 years ago
Even trying with Hash and with Name also
Here is the log text http://pastebin.com/Bs7iy8ey
Report
anshul454
4 years ago
core debug: auto hiding mouse cursor
qt4 debug: activating or triggering extension 'VLsub 0.10.0'
lua debug: Activating extension 'VLsub 0.10.0'
lua debug: [VLsub] Welcome
lua debug: [VLSub] Working directory: C:\Users\Anshul\AppData\Roaming\vlc\lua\extensions\userdata\vlsub
lua debug: [VLSub] Loading config file: C:\Users\Anshul\AppData\Roaming\vlc\lua\extensions\userdata\vlsub\vlsub_conf.xml
lua debug: [VLSub] Video URI: file:///C:/Gotham%20Season%203/Gotham.S03E09.720p.HDTV.HEVC.x265.RMTeam.mkv
lua debug: [VLSub] file info Gotham S03E09 720p HDTV HEVC x265 RMTeam Gotham.S03E09.720p.HDTV.HEVC.x265.RMTeam.mkv C:/Gotham Season 3/ mkv true false Gotham.S03E09.720p.HDTV.HEVC.x265.RMTeam C:/Gotham Season 3/Gotham.S03E09.720p.HDTV.HEVC.x265.RMTeam.mkv file 1479221550 1479221550 0 33060 1479285032 201438417 file 0 file:///C:/Gotham%20Season%203/Gotham.S03E09.720p.HDTV.HEVC.x265.RMTeam.mkv
lua debug: [VLSub] Closing dialog
lua debug: Creating dialog 'VLsub 0.10.0'
qt4 debug: Creating a new dialog: 'VLsub 0.10.0'
core debug: auto hiding mouse cursor
lua debug: Clicking 'C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac': 'Search by name'
core debug: net: connecting to api.opensubtitles.org port 80
core debug: connection succeeded (socket = 2244)
lua warning: Error while running script C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac, function (null)(): ...les (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac:1944: bad argument #1 to 'tonumber' (string expected, got nil)
lua warning: Could not translate click
core debug: auto hiding mouse cursor
core debug: auto hiding mouse cursor
lua debug: Clicking 'C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac': 'Search by name'
core debug: net: connecting to api.opensubtitles.org port 80
core debug: connection succeeded (socket = 2256)
lua warning: Error while running script C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac, function (null)(): ...les (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac:1944: bad argument #1 to 'tonumber' (string expected, got nil)
lua warning: Could not translate click
core debug: auto hiding mouse cursor
access_mms error: error: HTTP/1.1 522 Origin Connection Time-out
core debug: no access modules matched
core error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Gotham'
core debug: using meta fetcher module "lua"
core debug: removing module "lua"
core debug: searching art for Gotham S03E09 - RMTeam, RMZ.cr
core debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Anshul\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
core debug: no art finder modules matched
core debug: art not found for Gotham S03E09 - RMTeam, RMZ.cr
lua debug: Clicking 'C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac': 'Search by name'
core debug: net: connecting to api.opensubtitles.org port 80
core debug: connection succeeded (socket = 2188)
lua warning: Error while running script C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac, function (null)(): ...les (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac:1944: bad argument #1 to 'tonumber' (string expected, got nil)
lua warning: Could not translate click
lua debug: Clicking 'C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac': 'Search by hash'
lua debug: [VLSub] Video URI: file:///C:/Gotham%20Season%203/Gotham.S03E09.720p.HDTV.HEVC.x265.RMTeam.mkv
lua debug: [VLSub] file info Gotham S03E09 720p HDTV HEVC x265 RMTeam Gotham.S03E09.720p.HDTV.HEVC.x265.RMTeam.mkv C:/Gotham Season 3/ mkv true false Gotham.S03E09.720p.HDTV.HEVC.x265.RMTeam C:/Gotham Season 3/Gotham.S03E09.720p.HDTV.HEVC.x265.RMTeam.mkv file 1479221550 1479221550 0 33060 1479285032 201438417 file 0 file:///C:/Gotham%20Season%203/Gotham.S03E09.720p.HDTV.HEVC.x265.RMTeam.mkv
lua debug: [VLSub] Read hash data from file
lua debug: [VLSub] Video hash: 104e37598b8c99ec
lua debug: [VLSub] Video bytesize: 201438417
core debug: net: connecting to api.opensubtitles.org port 80
core debug: connection succeeded (socket = 2252)
lua warning: Error while running script C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac, function (null)(): ...les (x86)\VideoLAN\VLC\lua\extensions\vlsub (2).luac:1944: bad argument #1 to 'tonumber' (string expected, got nil)
lua warning: Could not translate click
Report
ccartia3
4 years ago
Report
anshul454
4 years ago
I've been trying to get the new VLSub extension to work but no luck so far. Can someone please explain the installation of the new VLSub extension (v0.10.0) as I suspect I've committed some error while doing so. Please help me out asap. Any help will be appreciated.
Report
loki80
4 years ago
The same happens to me!Everytime I open VLsub 0.9 for downloading subtitles VLsub stops working!Any ideas?
Report
Veelac
4 years ago
Update Vlsub to 0.10.
Report
aby13793
4 years ago
VLC version: 2.2.4 Weatherwax OS:windows 8, 64-Bit
Subtitle extension doesn't respond at all and i have to kill in everytime now. please help!
Report
wiii3
4 years ago
Go to the extension's configuration and click on "VLSub working directory" and delete the file "vlsub_conf.xml".
I hope this will help...Tnaket
Report
1771ab
4 years ago
Report
1771ab
4 years ago
Report
hakamhakam
4 years ago
Report
flobie
4 years ago
Report
hakamhakam
4 years ago
Sorry about the typo
Report
S3nd41
4 years ago
I am running VLC 2.2.4 with VLSub 0.10.0 and I still can't download any subtitles. Tried searching by hash and by name, I always get a message to kill the plug-in and when I do so it force quits VLC. How can I fix this? Thanks!
Report
S3nd41
4 years ago
Report
yctn
4 years ago
what could this be?
Report
lostdaan
4 years ago
Report
exebetche
4 years ago
http://www.opensubtitles.org/
Report
lostdaan
4 years ago
Report
exebetche
4 years ago
Report
lostdaan
4 years ago
Report