VLSub

VLC Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/exebetche/vlsub

47
8 .6
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 4 years ago

Fix broken extension after opensubtitles uses a new CDN

sailor082

6 years ago

I don't know if I was doing right but here should be the log:
http://pastebin.com/VM8cCRkg

Report

C

exebetche

6 years ago

There's no error at all. Weird. And you said that's it worked ok with the previous version 0.9.10?

Report

sailor082

6 years ago

Noo, I was downloading and using the first update of 0.9.11 and was ok after that someone was asking to modify to get like a progress bar ( green) for searching by hash and only with this version with the progress bar remain-remain and not show any results for subtitles.Plus extension Not Responding window appear and remain blocked.
Maybe I am not doing properly the log to upload and that why is not showing any error.Sorry for that

Report

C

exebetche

6 years ago

Ok I revert all this modifications until I figure what's wrong. Reinstall the script you should be fine. At line 1557 , replace:
-- load subtitles
if add_sub(subfileURI) then

with:
-- load subtitles
if add_sub(target) then

Report

sailor082

6 years ago

Now works perfect :)
Many thanks for your prompt and fast fix.

Report

sailor082

6 years ago

Here is the message:
File reading failed
VLC could not open the file "//file:///Users/Home/Movies/FILME/Eyes%20Wide%20Shut%20%281999%29%20%5B1080p%5D/Eyes.Wide.Shut.1999.1080p.BluRay.x264.YIFY.srt" (No such file or directory).

And next one:
Your input can't be opened
VLC is unable to open the MRL 'file:////file%3A///Users/Home/Movies/FILME/Eyes%2520Wide%2520Shut%2520%25281999%2529%2520%255B1080p%255D/Eyes.Wide.Shut.1999.1080p.BluRay.x264.YIFY.srt'. Check the log for details.

Report

C

exebetche

6 years ago

Try to get the script from here:
https://raw.githubusercontent.com/exebetche/vlsub/ffa2a5e5f3c4eb231a44ac18364b4c192d0075a0/vlsub.lua

If not it doesn't work it's probably a bug of Vlc.

Report

sailor082

6 years ago

In Mac with VLC 2.2 is working but not load subtitle, give error for write/load the subtitle. After that can be loaded manually but vlsub is not doing automatically.

Report

sailor082

6 years ago

I forget to say is OS Mavericks 10.9.3 and latest nightly of VLC 2.2

Report

YvesT

6 years ago

Thanks, it works fine. And the downloading of the subtitles is ok, except an error message at the end of the downloading. But no consequence.

Report

C

exebetche

6 years ago

To fix the problem with the subtiles not loading, open the script with a text editor and replace at line 1625:
-- add_sub(target) or
add_sub(subfileURI)
with:
add_sub(target) or
-- add_sub(subfileURI)

I'm currently arguing with the Vlc team over this new dumb change of the api but for now I have no solution but to edit the script manually.

Report

sailor082

6 years ago

I have try the script what you instruct us but I get same error for loading. On top with this latest script if I search "by hash " subtitle remain blocked on search and never finalise.Search by name is working.
Now I put the old version go vlsub 0.9.11 which is working search by hash but here in the script is different line 1625

Report

sailor082

6 years ago

I have try the script what you instruct us but I get same error for loading. On top with this latest script if I search "by hash " subtitle remain blocked on search and never finalise.Search by name is working.
Now I put the old version go vlsub 0.9.11 which is working search by hash but here in the script is different line 1625

Report

C

exebetche

6 years ago

Could you please send me your debug log for the "search by hash" case and when the subtitle doesn't load. See the instructions in "troobleshooting" section. Thanks.

Report

YvesT

6 years ago

Hi
you wrote that vlsub works with vlc 2.2
Ok but the latest version is 2.14 : when can I get the 2.2 ?

Report

sailor082

6 years ago

From here: http://nightlies.videolan.org/build/macosx-intel/

Report

haythoum

6 years ago

It finds the subtitle but when I press download, it says, "Downloading subtitle" and after 20 min it is still downloading subtitle. Help!!
win 7 64 bit vlc 2.08

http://pastebin.com/s1TmBAjB

Report

C

exebetche

6 years ago

You have to reproduce the error, there's nothing in your log. But anyway make sure you have the last version of the script (0.9.11).

Report

9

havocmker

6 years ago

Just updated to the latest Vlsub version and subs are downloading perfectly. One issue is that the subtitles dont load automatically as before and I have to drag them manually to make them appear. Anyone know how to fix it. Thank you !!

Report

C

exebetche

6 years ago

Hi,

I need your os, vlc version and full debug log as explained in the troubleshooting section please.

Report

VladiX

6 years ago

I have the same problem
here is the debug
http://pastebin.com/dfPn16Ch

Report

C

exebetche

6 years ago

Thank you, I revert the modification I made, the subtitles should load again normally with the new script.

Report

VladiX

6 years ago

Forgot to say Win7 64 bit, and VLC 2.0.7

Report

9

karpa

6 years ago

Greetings,
I'm experiencing troubles using "Search by hash" functionality.

I've captured communication using Wireshark and compared it to communication of official openSubtitles searcher (which also uses hash searching function) and found some inconsistencies.

While the official searcher sends movie size of value "2 331 600 371" (which is correct), VLSub
sends <double>65535</double> (possible overflow?). Also the calculated hash is slightly different.
"354a0e589e5aae50" with openSubtitles searcher and
<string>354a0e581362485c</string> with VLSub.

Thanks for the otherwise great extension though :)

Report

C

exebetche

6 years ago

Ok, new fix. Is it ok now?

Report

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

12345678910
51915
product-maker monty3330 Oct 30 2020 10 the best
10 the best
product-maker masezone Sep 13 2020 10 the best
10 the best
product-maker evilsystem Jun 06 2020 10 the best
10 the best
product-maker labraq Mar 31 2020 6 okay
6 okay
product-maker 1910 Oct 19 2019 10 the best
10 the best
product-maker japaalnev Sep 28 2019 10 the best
10 the best
product-maker drsu Feb 12 2019 9 excellent
Hgu
product-maker ernhaka Oct 21 2018 3 bad
i dont like the opensubtitles subs: - they insert advertising inside the movie! - they mention their name at the end of the subtitles, BEFORE the end of the movie, come on, could they wait the credits at least ? - many times the subs found are not accurate to the file, not synced, or HI Now i get subs from subscene, they're more reliable and less annoying. Too bad because VLSub was a great idea.
product-maker mohsen2694 Oct 13 2018 9 excellent
+
product-maker eyalkt Aug 10 2018 9 excellent
+ Works Great!
product-maker omda Jul 01 2018 9 excellent
goooooooood
product-maker rvs75 Feb 27 2018 9 excellent
product-maker D64134n0 Oct 20 2017 9 excellent
product-maker ahmedsaber333 Oct 13 2017 9 excellent
product-maker vinnusaurus Oct 12 2017 9 excellent
product-maker pardeep84 Oct 12 2017 9 excellent
xx
product-maker sapeletv Oct 02 2017 9 excellent
men this is wonderful...cant believe i didnt have this all this while. thanks much
product-maker king021 Oct 01 2017 9 excellent
product-maker Medo@22 Sep 05 2017 9 excellent
product-maker totophe Jul 21 2017 9 excellent
Does the job :-) Thanks for the work!
product-maker alialkhawaja Jul 20 2017 3 bad
zxczcx
product-maker Abhishek May 06 2017 9 excellent
product-maker hamedsoltan Apr 06 2017 9 excellent
product-maker franksalexa Mar 08 2017 9 excellent
product-maker sampo2013 Feb 15 2017 9 excellent
product-maker rbibouh Feb 14 2017 9 excellent
product-maker csola48 Jan 29 2017 9 excellent
product-maker m0hdasif Jan 19 2017 9 excellent
product-maker lazarus Jan 18 2017 9 excellent
product-maker elmenady Jan 17 2017 9 excellent
product-maker matheusricarte Jan 14 2017 9 excellent
product-maker john50cent Jan 10 2017 9 excellent
product-maker stefansundin Dec 31 2016 9 excellent
product-maker 6l9fN967 Dec 24 2016 9 excellent
product-maker j1402 Dec 13 2016 9 excellent
product-maker Rafracra Dec 06 2016 9 excellent
product-maker Yuvesh Dec 04 2016 9 excellent
product-maker kaotik808 Nov 29 2016 9 excellent
product-maker luiscarmona Nov 27 2016 9 excellent
product-maker akhterpalash Nov 25 2016 9 excellent
product-maker AleksaD Nov 12 2016 9 excellent
product-maker ruineves1994 Nov 07 2016 9 excellent
product-maker tmmam Nov 03 2016 9 excellent
product-maker Eldo Oct 28 2016 9 excellent
product-maker vamsi22 Oct 15 2016 9 excellent
product-maker khatrisingh Oct 14 2016 9 excellent
product-maker nhad22 Oct 03 2016 9 excellent
product-maker lotfi333 Sep 23 2016 9 excellent
product-maker Frelle Dec 26 2015 9 excellent
product-maker Ragiowan Nov 09 2015 9 excellent
product-maker alextabs Oct 29 2015 9 excellent
product-maker j4eo Oct 27 2015 9 excellent
product-maker k0b32010 Oct 08 2015 3 bad
product-maker dkarnout Jul 05 2015 9 excellent
product-maker Danielbreezy May 23 2015 9 excellent
product-maker ameirefke Apr 11 2015 9 excellent
product-maker marvael Mar 02 2015 9 excellent
product-maker ilariadorsi Dec 01 2014 9 excellent
product-maker karpa Oct 22 2014 9 excellent
product-maker techster Oct 21 2014 9 excellent
product-maker Niwol Sep 30 2014 9 excellent
product-maker Schwarzkopf Sep 17 2014 9 excellent
product-maker dcos77 May 24 2014 9 excellent
product-maker jordibabot May 19 2014 9 excellent
product-maker havocmker May 13 2014 9 excellent
product-maker Tibus May 01 2014 9 excellent
product-maker robysottini Apr 29 2014 9 excellent
product-maker lean766 Mar 07 2014 9 excellent
product-maker DFPOWER46 Nov 18 2013 9 excellent
product-maker whoodini Nov 15 2013 9 excellent
product-maker unnicked Nov 03 2013 9 excellent
product-maker shandissanayake Oct 11 2013 9 excellent
product-maker Simekuk Sep 19 2013 9 excellent
product-maker voiturebleue Sep 19 2013 9 excellent
product-maker PrakashCh Sep 08 2013 9 excellent
product-maker dux2 Aug 30 2013 9 excellent
product-maker BTKL Aug 30 2013 9 excellent
product-maker thorin Aug 18 2013 9 excellent
product-maker alex9r Aug 17 2013 9 excellent
product-maker Meldi Aug 16 2013 9 excellent
product-maker mastodon Jul 31 2013 9 excellent
product-maker nunomazer Jun 12 2013 9 excellent
product-maker Azpidatziak May 24 2013 9 excellent
product-maker kapcom01 May 19 2013 9 excellent
product-maker Deathmachine May 18 2013 9 excellent
product-maker grzegorz451 Apr 30 2013 9 excellent
product-maker boldyzno Apr 30 2013 9 excellent
product-maker Babalui22 Apr 29 2013 3 bad
product-maker hackerz222 Apr 18 2013 9 excellent
product-maker cipricus Mar 27 2013 9 excellent
product-maker zequi Feb 12 2013 9 excellent
product-maker hdiffly Oct 20 2012 9 excellent
product-maker klacs Oct 09 2012 9 excellent
product-maker tariquenor Sep 12 2012 3 bad
product-maker Chematronix Jul 27 2012 9 excellent
product-maker Navid Jul 20 2012 9 excellent
product-maker Aglo Jul 02 2012 9 excellent
product-maker Cardellos Jun 22 2012 9 excellent
product-maker GuixLe Apr 28 2012 9 excellent
product-maker FracExebetche Apr 23 2012 9 excellent
product-maker BlueK Mar 11 2012 9 excellent
product-maker yapaca Feb 11 2012 9 excellent
Be the first to comment
evilsystem
Apr 15 2020
1910
Oct 19 2019
m2dbi4u
Jun 28 2019
forex07
Apr 21 2019
mvolak1
Feb 13 2019
drsu
Feb 12 2019
fares555
Dec 06 2018
mohsen2694
Oct 13 2018
sieg
Aug 11 2018
arnoldwaswaiga
May 19 2018
hamabkhan
Mar 24 2018
khaled1384
Mar 17 2018
Slayerino
Feb 24 2018
Raaab888
Jan 24 2016
j4eo
Oct 27 2015
9207771739
May 06 2015
ilariadorsi
Dec 01 2014
techster
Oct 21 2014
gogo57540
Sep 08 2014
surkant07
May 27 2014
dcos77
May 19 2014
Navid
May 18 2014
sailor082
May 18 2014
Tibus
May 01 2014
kastaldi
Jan 05 2014
vily
Nov 23 2013
whoodini
Nov 15 2013
Harmen
Oct 23 2013
cerienjean
Sep 17 2013
dux2
Aug 30 2013
thorin
Aug 18 2013
akosama
Jul 21 2013
Azpidatziak
May 24 2013
cruelty
May 13 2013
boldyzno
Apr 30 2013
Stincjatclava
Apr 22 2013
cipricus
Mar 19 2013
zequi
Feb 12 2013
ferghingaro
Jan 05 2013
tonysilva
Nov 27 2012
allig8or
Nov 22 2012
Chematronix
Jul 27 2012
kapcom01
Jul 25 2012
Aglo
Jul 02 2012
Cardellos
Jun 26 2012
FracExebetche
Apr 23 2012
Tarlak
Feb 25 2012
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
1 Affiliate
Details
license
version
0.10.0
updated Sep 05 2017
added Feb 07 2012
downloads 24h
150
mediaviews 24h 0
pageviews 24h 1022
System Tags addon