Description:

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
Last changelog:

Support http chunked transfer encoding 1 year ago

Fix broken extension after opensubtitles uses a new CDN

Niwol

3 years ago

I replaced the script and I'm now rocking 9.13, but it still isn't working :(

The error is gone, but when I click download the download bar just fills up with green and doesn't actually load any subs.

http://pastebin.com/Kf2vxnWU

Report

C

exebetche

3 years ago

Could you try with this version and tell me if it works?
https://github.com/exebetche/vlsub/archive/89e2ffbd27343ac92c12aed683f37e8a9af3b9ba.zip

Report

Niwol

3 years ago

Nope. The download bar doesn't fill anymore.

http://pastebin.com/hhhjDX7g

Report

C

exebetche

3 years ago

Mmmh... there is a problem with opensubtitles, I think they have introduced a bug on their system; all the link toward subtitles files lead to a text file instead of a zip:
http://dl.opensubtitles.org/en/download/filead/src-api/vrf-c2358bd78d/1953805037.gz
Even on the website, if you click on the dowload link you go on a text file...
It still worked yesterday evening though. The dev should probably realize their mistake soon ;)
Thank you for reporting this.

Report

Niwol

3 years ago

Indeed it works again! Dumb luck that my updating coincided with the opensubtitles error :(

Anyway, thanks a lot

Report

C

exebetche

3 years ago

Shit happens...

Report

Kruz

3 years ago

I get this error in debug:

vlsub.lua:1912: bad argument #1 to 'gmatch' (string expected, got nil)

Report

Kruz

3 years ago

Sorry forgot to tell you how i got this error.

I get this error when you press on search by name/hash.

Running Windows 7 64-bit.

Thanks in advance.

Report

C

exebetche

3 years ago

Ok, I tried something, please download and install the script again and tell me if it works for you. If not please join your _full_ debug log to your response (as a pastebin).

Report

Kruz

3 years ago

Didn't quite work I get a new error now

debug log: http://pastebin.com/fxwukNKm

I've also tried something myself and I got results.
This fixes something, but I could only search for "Subtitle language: all" everything else gives no results.

(The while starts on line 1875 (http_req))
http://pastebin.com/uQbaxQxL

I hope that this will help u somehow, anyway thanks for the effort!

Report

C

exebetche

3 years ago

Whoops, and now?

Report

Kruz

3 years ago

Yes! This fixed everything.

Thank you very much :)

Report

C

exebetche

3 years ago

Cool, thank you.

Report

Neobond

3 years ago

Can confirm it's all working again, thanks!

Report

Neobond

3 years ago

Spoke too soon, with vlc player 2.2.0 and VLSub 0.9.13 it researches fine but gets stuck on "Downloading subtitle" a lot :(

Report

C

exebetche

3 years ago

Still works for me, but slow as hell to establish connection. Would you care to send your debug log?

Report

Neobond

3 years ago

Checked the config and it was like this: C:\Users\Steve\AppData\Roaming\vlc/lua/extensions/userdata/vlsub\ simply changed the incorrect back slashes to forward ones and it seems a lot faster now lol but if it happens again how do I get the debug log?

Report

C

exebetche

3 years ago

I don't know how this happened (slash mixed with backslash), I made test on Windws XP and wasn't able to reproduce it. But in fact it doesn't matter, backslash and slash are treated the same at this level. This was just the rush hour 3 hours ago and the servers were very slow.

Report

benzaquen

3 years ago

Hi,

we have a not responding server in VLSUB 0.9.12 in this morning !!!!

Report

C

exebetche

3 years ago

It happens, usually it doesn't last for more than a few minutes though.

Report

GloX

3 years ago

It seems the download is giving a 301 status (redirect), which the plugin does not follow.

The quick fix is replacing line 1709 with:
item.ZipDownloadLink:gsub("dl.opensubtitles.net", "www.opensubtitles.org"),

Report

GloX

3 years ago

It seems the download is giving a 301 status (redirect), which the plugin does not follow.

The quick fix is replacing line 1709 with:
item.ZipDownloadLink:gsub("dl.opensubtitles.net", "www.opensubtitles.org"),

Report

benzaquen

3 years ago

Ok my friend but what file i need the change ?
Were is this line ? Because i have the save proble m , server is not responding :(

Report

C

exebetche

3 years ago

You don't' need to, the script has been updated. Just replace vlsub.lua from the zip and it should work again.

Report

GloX

3 years ago

It seems the download is giving a 301 status (redirect), which the plugin does not follow.

The quick fix is replacing line 1709 with:
item.ZipDownloadLink:gsub("dl.opensubtitles.net", "www.opensubtitles.org"),

Report

Support http chunked transfer encoding 1 year ago

Fix broken extension after opensubtitles uses a new CDN

5 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

product-maker D64134n0 Oct 20 2017

product-maker ahmedsaber333 Oct 13 2017

product-maker vinnusaurus Oct 12 2017

product-maker pardeep84 Oct 12 2017

xx

product-maker sapeletv Oct 02 2017

men this is wonderful...cant believe i didnt have this all this while. thanks much

product-maker king021 Oct 01 2017

product-maker Medo@22 Sep 05 2017

product-maker totophe Jul 21 2017

Does the job :-) Thanks for the work!

product-maker alialkhawaja Jul 20 2017

zxczcx

product-maker Abhishek May 06 2017

product-maker hamedsoltan Apr 06 2017

product-maker franksalexa Mar 08 2017

product-maker sampo2013 Feb 15 2017

product-maker rbibouh Feb 14 2017

product-maker csola48 Jan 29 2017

product-maker m0hdasif Jan 19 2017

product-maker lazarus Jan 18 2017

product-maker elmenady Jan 17 2017

product-maker john50cent Jan 10 2017

product-maker stefansundin Dec 31 2016

product-maker 6l9fN967 Dec 24 2016

product-maker dummy Dec 13 2016

product-maker j1402 Dec 13 2016

product-maker Rafracra Dec 06 2016

product-maker Yuvesh Dec 04 2016

product-maker kaotik808 Nov 29 2016

product-maker luiscarmona Nov 27 2016

product-maker akhterpalash Nov 25 2016

product-maker AleksaD Nov 12 2016

product-maker vargapirot Nov 08 2016

product-maker ruineves1994 Nov 07 2016

product-maker tmmam Nov 03 2016

product-maker Eldo Oct 28 2016

product-maker vamsi22 Oct 15 2016

product-maker khatrisingh Oct 14 2016

product-maker nhad22 Oct 03 2016

product-maker exebetche Sep 26 2016

product-maker lotfi333 Sep 23 2016

product-maker Frelle Dec 26 2015

product-maker Ragiowan Nov 09 2015

product-maker alextabs Oct 29 2015

product-maker j4eo Oct 27 2015

product-maker k0b32010 Oct 08 2015

product-maker dkarnout Jul 05 2015

product-maker Danielbreezy May 23 2015

product-maker ameirefke Apr 11 2015

product-maker marvael Mar 02 2015

product-maker ilariadorsi Dec 01 2014

product-maker karpa Oct 22 2014

product-maker techster Oct 21 2014

product-maker Niwol Sep 30 2014

product-maker Schwarzkopf Sep 17 2014

product-maker dcos77 May 24 2014

product-maker jordibabot May 19 2014

product-maker havocmker May 13 2014

product-maker Tibus May 01 2014

product-maker robysottini Apr 29 2014

product-maker lean766 Mar 07 2014

product-maker DFPOWER46 Nov 18 2013

product-maker whoodini Nov 15 2013

product-maker unnicked Nov 03 2013

product-maker Simekuk Sep 19 2013

product-maker voiturebleue Sep 19 2013

product-maker PrakashCh Sep 08 2013

product-maker dux2 Aug 30 2013

product-maker BTKL Aug 30 2013

product-maker thorin Aug 18 2013

product-maker alex9r Aug 17 2013

product-maker Meldi Aug 16 2013

product-maker mastodon Jul 31 2013

product-maker nunomazer Jun 12 2013

product-maker Azpidatziak May 24 2013

product-maker kapcom01 May 19 2013

product-maker Deathmachine May 18 2013

product-maker grzegorz451 Apr 30 2013

product-maker boldyzno Apr 30 2013

product-maker Babalui22 Apr 29 2013

product-maker hackerz222 Apr 18 2013

product-maker cipricus Mar 27 2013

product-maker zequi Feb 12 2013

product-maker hdiffly Oct 20 2012

product-maker klacs Oct 09 2012

product-maker tariquenor Sep 12 2012

product-maker Chematronix Jul 27 2012

product-maker Navid Jul 20 2012

product-maker Aglo Jul 02 2012

product-maker Cardellos Jun 22 2012

product-maker GuixLe Apr 28 2012

product-maker FracExebetche Apr 23 2012

product-maker BlueK Mar 11 2012

product-maker yapaca Feb 11 2012

product-maker 6 6

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.10.0
updated Sep 05 2017
added Feb 07 2012
downloads today
page views today