-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Knowledge
Events
People
Jobs
Register
Login

Sponsoring


-
- Content .- Fans  .- Knowledge Base (1) . 

Subtitler (lite)

  

VLC Extension

Score 50%
Subtitler (lite)
zoom


Forum:  Link
Downloads:  21287
Submitted:  Jul 13 2012

Description:

Subtitler (lite) is VLC extension (extension script "Subtitler (lite).lua") that displays subtitles on the screen in a playing video and/or in a dialog box. Now you can watch your film with 2 different subtitles.

To set up the Subtitler (lite), please edit global variables at the beginning of the script.
http://forum.videolan.org/viewtopic.php?f=29&t=97791#p346506

DOWNLOAD:
- click on the download button below
- when the file appears click on the menu file > save as... of your browser
INSTALLATION:
- put the file in the VLC subdir /lua/extensions, by default:
* Windows (all users): %ProgramFiles%\VideoLAN\VLC\lua\extensions\
* Windows (current user): %APPDATA%\VLC\lua\extensions\
* Linux (all users): /usr/share/vlc/lua/extensions/
* Linux (current user): ~/.local/share/vlc/lua/extensions/
* Mac OS X (all users): /Applications/VLC.app/Contents/MacOS/share/lua/extensions/
(create directories if they don't exist)
Restart the VLC.
USAGE:
Then you simply use the extension by going to the "View" menu and selecting it there.

Forum location: http://forum.videolan.org/viewtopic.php?f=29&t=97791




LicenseGPL
(Subtitler (lite).lua)
Send to a friend
Subscribe
Other  Apps  from mederi
Report inappropriate content

-

 I want to help you ..

 
 by laixix on: Jan 27 2013
 
Score 50%
laixixlaixix
taquion english project
-
laixix master 0

taquion english project
Honduras, Cortes
Last visit Feb 20 2013
0 Friends

More info
Send a message
Add as friend
Other contents
--

would like to help and I was wondering where I can find a manual for developing extensions for vlc or other programs in Lua is what I need if I may I can also help you modify the code and implement new ideas.


Reply to this

-
.

 Re: I want to help you ..

 
 by mederi on: Jan 28 2013
 
Score 50%

http://forum.videolan.org/viewtopic.php?f=29&t=98644#p330318
is a good start where I gathered available information. Then here is the manual for you:
1.) Global VLC Lua README.txt: http://www.videolan.org/developers/vlc/share/lua/README.txt
2.) Lua 5.1 Reference Manual: http://www.lua.org/manual/5.1/
3.) Lua tutorials: http://lua-users.org/wiki/TutorialDirectory
4.) non-compiled VLC Lua scripts (like in VLC1): http://www.videolan.org/developers/vlc/share/lua/
5.) http://addons.videolan.org/
6.) VideoLAN Forum - Scripting VLC in Lua: http://forum.videolan.org/viewforum.php?f=29


Reply to this

-

 Re: Re: I want to help you ..

 
 by laixix on: Jan 28 2013
 
Score 50%
laixixlaixix
taquion english project
-
laixix master 0

taquion english project
Honduras, Cortes
Last visit Feb 20 2013
0 Friends

More info
Send a message
Add as friend
Other contents
--

thanks my friend ,There are some problems in the compatibility of the extensions in linux, will try to fix them, but just one last thing, you could do a little summary about the functions implemented in this script .... I greatly appreciate it and thank you for your feedback.


Reply to this

-
.

 hi mederi

 
 by laixix on: Jan 31 2013
 
Score 50%
laixixlaixix
taquion english project
-
laixix master 0

taquion english project
Honduras, Cortes
Last visit Feb 20 2013
0 Friends

More info
Send a message
Add as friend
Other contents
--

You can check this please, I did a debug script errors, and apparently the load script but the "Function Load_subtitles ()" not doing his job as he is not initialized blank window.

xcb_xv debug: display is visible
xcb_xv debug: display is visible
main debug: auto hiding mouse cursor
qt4 debug: activating or triggering extension 'Subtitler (lite)'
lua debug: Activating extension 'Subtitler (lite)'
lua debug: Creating dialog 'Subtitler (lite)'
lua info: home/neutron/Descargas/a.srt
xcb_xv debug: display is visible
qt4 debug: Creating a new dialog: 'Subtitler (lite)'


Reply to this

-
.

 Re: hi mederi

 
 by laixix on: Jan 31 2013
 
Score 50%
laixixlaixix
taquion english project
-
laixix master 0

taquion english project
Honduras, Cortes
Last visit Feb 20 2013
0 Friends

More info
Send a message
Add as friend
Other contents
--

for some reason the subtitle is not charging me perhaps you could explain a little more about your programming and also see if I can make some modifications.


Reply to this

-

 Re: hi mederi

 
 by mederi on: Jan 31 2013
 
Score 50%

There is no error in the messages you provided.
All is solved in the VLC forum: http://forum.videolan.org/viewtopic.php?f=29&t=97791&start=20#p365954
It really should work if you set a proper Linux path to your subtitle file in "subtitles_path" Global variable at the beginning of the script. Somethig like:Quote:
subtitles_path = "/proper Linux path to your SRT file.srt"
Can you see activated Subtitler (lite) dialog box on the screen at least? Then if you load some film in VLC player, the extension should load and parse SRT file and you will see it in the dialog box.
Or you can try automatic detection of subtitles. Then:Quote:
...
subtitles_path = nil
...
media_uri = "/"..string.gsub(media_uri, "^.-///(.*)%..-$","%1")
...

I have planned later to publish a new version of the extension with the fixed bug for Linux and some new features (controls, timing (delay +/-, fps), ...), but currently I have just lost motivation because VLC2.1 does not support callbacks in Lua.
If you can C++ programming, you could help developers to fix this Lua issue.


Reply to this

-
.

 Re: Re: hi mederi

 
 by laixix on: Jan 31 2013
 
Score 50%
laixixlaixix
taquion english project
-
laixix master 0

taquion english project
Honduras, Cortes
Last visit Feb 20 2013
0 Friends

More info
Send a message
Add as friend
Other contents
--

it appears the box but does not read the. srt, but to top the box blank is initialized, right!! there is something that you still do not understand, if subtitle == nil thenfor i, v in pairs (subtitles) doif actual_time> = v [1] and actual_time <= v [2] then, my question is, which takes the matrix values​​, and what is the value of actual_time???sorry if I make lots of questions but based on your script I make my script.


Reply to this

-

 Re: Re: Re: hi mederi

 
 by laixix on: Feb 1 2013
 
Score 50%
laixixlaixix
taquion english project
-
laixix master 0

taquion english project
Honduras, Cortes
Last visit Feb 20 2013
0 Friends

More info
Send a message
Add as friend
Other contents
--

I understand, it is regrettable that no callback function vlc.var.add functions, I'm looking for a way to program it in c + + but I need more information on this function to print data from the subtitles in vlc screen. or about the operation of the function add_callback.


Reply to this

-
.

 Re: Re: hi mederi

 
 by laixix on: Feb 1 2013
 
Score 50%
laixixlaixix
taquion english project
-
laixix master 0

taquion english project
Honduras, Cortes
Last visit Feb 20 2013
0 Friends

More info
Send a message
Add as friend
Other contents
--

I found the libraries for add_callback function call, maybe if we mix with c + + lua script will run without problems the script. 

This is the page

http://fossies.org/dox/vlc-2.0.5/vlcproc_8hpp.html


Reply to this

-

 Re: Re: hi mederi

 
 by laixix on: Feb 1 2013
 
Score 50%
laixixlaixix
taquion english project
-
laixix master 0

taquion english project
Honduras, Cortes
Last visit Feb 20 2013
0 Friends

More info
Send a message
Add as friend
Other contents
--

here the funtion var_DelCallback
http://fossies.org/dox/vlc-2.0.5/marq_8c.html#a52c6c12dc0d5a53ecb52bfee7c20e62c


Reply to this

-

 callbacks in Lua

 
 by mederi on: Feb 3 2013
 
Score 50%

I have just found this opinion/decision of developers:
http://mailman.videolan.org/pipermail/vlc-devel/2012-March/087604.html
http://mailman.videolan.org/pipermail/vlc-devel/2012-April/087652.html
You can also read previous messages that lead to these ones there.

I understand this as a GAME OVER! Extensions are evil...

If you still need something from me, then we should continue our discussion on VLC forum through private messages.


Reply to this

-
.

 tips to load subtitle in VLC with subtitler

 
 by calonix on: Mar 15 2013
 
Score 50%

Tips to load subtitle in VLC with subtitler:
- Your subtitle should get same video's name
- subtitle codification should be UTF-8 not UNICODE, UCS-2 Little Indian, etc.

thanks mederi!


Reply to this

Add commentBack




-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Participate
Add App
Public API
About addons.videolan.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Report Abuse
 

Copyright 2011-2013 addons.videolan.org Team  
All rights reserved. addons.videolan.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
VideoLAN, VLC media player and x264 are trademarks registered (or in registration process) by the VideoLAN non-profit organization