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

9

karpa

6 years ago

yep, up and running, thanks :)

would it be also possible to show the progress of hash calculation in the progress bar?

Report

C

exebetche

6 years ago

There you go, the progression is displayed and it should be faster too.

Report

9

karpa

6 years ago

awesome, thanks a lot

Report

C

exebetche

6 years ago

Ok, I tried a fix could you download the script again and tell me if it works? It should be slower with file bigger than 2Gb on windows though.

Report

9

karpa

6 years ago

Nope, is_win flag doesn't get set

see output of debug Messages http://pastebin.com/96wBRWuC

I made some modifications to getMovieHash() function so it prints the is_win flag, here (lines 25-31):
http://pastebin.com/DRb5FKEu

Report

C

exebetche

6 years ago

What is the format of your partition D:, FAT32 or NTFS?

Report

9

karpa

6 years ago

NTFS

Report

C

exebetche

6 years ago

Could you give me your full debug log as explained in the troubleshooting section and tell me what is your os?

Report

9

karpa

6 years ago

sure, here you go (doesn't say much except that file size is 65535 (line 3613 of the paste)

http://pastebin.com/jLb3kJjX

I'm using win7 x64

Report

samratspeaks

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!!

Report

core112

6 years ago

I have the same problem. Just got the latest installment of vlsub, I use Windows 7 and vlc is 2.08. Everyting works, except the downloading of the subttl files

This what I get when debugging:
lua warning: Error while running script C:\Users\xxxx\AppData\Roaming\vlc\lua\extensions\vlcsub.lua, function (null)(): ...s\xxxx\AppData\Roaming\vlc\lua\extensions\vlcsub.lua:1087: bad argument #1 to 'gfind' (string expected, got nil)

Please help to make it work (again). I updated (by accident) vlc to 2.13 and then changed it back to 2.08 and got the latest vlsub

Report

C

exebetche

6 years ago

> Please help to make it work (again). I updated (by accident) vlc to 2.13 and then changed it back to 2.08 and got the latest vlsub

No you're not, there's no 'gfind' function at line 1087 of the current script. The script being executed here is the one packed with Vlc 2.1 that hasn't been updated and doesn't work. You'll find it in the "all users" dir (refer to description). Remove it. Make sure you see the current version of the extension when you launch it (0.9.11).

Report

core112

6 years ago

working ;-) ty!!

Report

core112

6 years ago

I have the same problem. Just got the latest installment of vlsub, I use Windows 7 and vlc is 2.08. Everyting works, except the downloading of the subttl files

This what I get when debugging:
lua warning: Error while running script C:\Users\xxxx\AppData\Roaming\vlc\lua\extensions\vlcsub.lua, function (null)(): ...s\xxxx\AppData\Roaming\vlc\lua\extensions\vlcsub.lua:1087: bad argument #1 to 'gfind' (string expected, got nil)

Pleas help ;-)

Report

core112

6 years ago

sorry for double posting ;-(

Report

C

exebetche

6 years ago

Did you get the last version? If you do, please red the Troubleshooting section...

Report

irinaonline

6 years ago

does this version already work with the latest version of vlc or is vlc 2.0.8 still the latest working version for vlsub?

Report

C

exebetche

6 years ago

This version works with Vlc 2.2 (not released yet) on linux and mac but you have to modify one line of the script, see the github page "pull request". With windows you're stuck with Vlc 2.0.

Report

AxelRyder

6 years ago

Recently OpenSubtitles went down, and since it's back up, I am unable to download subtitles with VLSub. I can search and find them, but once I select one and click "Download selection", the progess bar "Downloading subtitle" at the bottom appears, but nothing happens.

I'm on Windows 7, VLC 2.0.8, VLSub 0.9.10

Can you help me?

Report

C

exebetche

6 years ago

I fixed the problem yesterday, please get the last version of the script.

Report

AxelRyder

6 years ago

Oh wow I'm sorry, it's odd I could have sworn I checked several times before posting.

Thank you!

Report

C

exebetche

6 years ago

Np dude, in fact I made the modifications on github but I didn't flag as updated on this page.

Report

AxelRyder

6 years ago

Awesome, thanks!

Just as a FYI: the menu under "view" still displays "0.9.10" instead of "0.9.11"

Report

9

whoodini

6 years ago

This is not working on anything above VLC 2.0.8.

Man! these guys @ VLC keep pushing "lua net module" back.

It was supposed to be fixed in 2.1.2 then pushed back to 2.1.x, now its pushed back to 2.2.x.

Dont they know how many people are depended on this?

Report

9

Tibus

6 years ago

hey zapote, VLSub is not working with Vlc 2.1.x on any platform.

It works with 2.0.8 (not available on ubuntu 14.04), and they said that it works with vlc 2.2, i installed vlc 2.2 on ubuntu 14.04 and i get this error when i search for subtitles :

ua warning: Error while running script /usr/lib/vlc/lua/extensions/VLSub.luac, function (null)(): lua/extensions/VLSub.lua:1691: attempt to call field 'gfind' (a nil value)

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
185
mediaviews 24h 0
pageviews 24h 1228
System Tags addon