Search found 17 matches

Go to advanced search

by hector2
08 Jan 2012 23:05
Forum: Scripting VLC in lua
Topic: [Beta] Script to display a subtitle's word definition in OSD
Replies: 16
Views: 11941

Re: [Beta] Script to display a subtitle's word definition in

Hello laplasz,
Great !
I don't think you can update here.
The best could be to send me the file and I will do up the update, if you agree. Thanks again !

( contact_/!\_polyglotte__dot__tuxfamily__dot__org )
by hector2
22 Oct 2010 18:47
Forum: Scripting VLC in lua
Topic: Which feature do you miss in lua ?
Replies: 21
Views: 6685

Re: Which feature do you miss in lua ?

Hello, I am not sure that my wish is reasonable, but it would be great if it was possible to get the current subtitle (maybe as a table ? I do not know how it is treated in VLC). Currently my script reads external subtitle files, from a specific format (subrip). This feature would allow my script: *...
by hector2
01 Oct 2010 15:00
Forum: Scripting VLC in lua
Topic: [Beta] Script to display a subtitle's word definition in OSD
Replies: 16
Views: 11941

Re: [Beta] Script to display a subtitle's word definition in

I updated the script (see upon). Please tell me when the modification of osd.message is backported (worst case = vlc 1.2, isn't it ?). Thanks a lot !
by hector2
15 Aug 2010 01:50
Forum: Scripting VLC in lua
Topic: Which feature do you miss in lua ?
Replies: 21
Views: 6685

Re: Which feature do you miss in lua ?

input.item:uri() isn't suitable ?
You are absolutely right, I missed it ! Thanks.
by hector2
06 Aug 2010 16:42
Forum: Scripting VLC in lua
Topic: Which feature do you miss in lua ?
Replies: 21
Views: 6685

Re: Which feature do you miss in lua ?

Hello again ! To make easier the use of my script , I would need to get the path of the file which is currently read by VLC (maybe I missed this possibility). In order that the file subtitle can be automatically identified as long as it has the same name (except the extension) and is in the same dir...
by hector2
05 Aug 2010 20:25
Forum: Scripting VLC in lua
Topic: [Beta] Script to display a subtitle's word definition in OSD
Replies: 16
Views: 11941

Re: [Beta] Script to display a subtitle's word definition in

Hello, I just come back from holidays. Thanks a lot for your adds, I will make some tests with my script as soon as possible. Of course I would like that it is integrated in 1.1 (since it is a bit hard to read definitions during the default time) but it is up to you...
by hector2
08 Mar 2010 00:33
Forum: Coffee Corner
Topic: Automatic subtitle translation
Replies: 1
Views: 8024

Re: Automatic subtitle translation

Maybe I had an idea a bit similar. (But it is just word's translation).
viewtopic.php?f=29&t=71218
by hector2
07 Mar 2010 19:04
Forum: Scripting VLC in lua
Topic: [Beta] Script to display a subtitle's word definition in OSD
Replies: 16
Views: 11941

Re: [Beta] Script to display a subtitle's word definition in

cool. :D
The main issue is that the OSD duration is a bit too short for reading a definition.
If somebody knows how to configure it in VLC (or better how to manage it in the LUA script...)
Thanks !
by hector2
07 Mar 2010 15:07
Forum: Scripting VLC in lua
Topic: [Beta] Script to display a subtitle's word definition in OSD
Replies: 16
Views: 11941

Re: script to display a subtitle's word definition in OSD

Hello, Here is a first release : thanks to test and give some remarks... Many thanks to Ale5000, his script was very helpful for me... download : http://download.tuxfamily.org/polyglotte/scripts/traduction.lua You must put the file in the folder: - Linux: ~/.local/share/vlc/lua/extensions/ - Windows...
by hector2
19 Feb 2010 13:10
Forum: VLC media player for Linux and friends Troubleshooting
Topic: problem with external subtitles & DVD
Replies: 3
Views: 988

Re: problem with external subtitles & DVD

Thanks for your answer. Does it mean that an external subtitle will never work with a DVD or that sometimes it can not work ?
Thanks
by hector2
16 Feb 2010 20:15
Forum: Scripting VLC in lua
Topic: [Beta] Script to display a subtitle's word definition in OSD
Replies: 16
Views: 11941

Re: script to display a subtitle's word definition in OSD

I found it in intf/rc.lua :D

local input = vlc.object.input()
local t = vlc.var.get( input, 'time' )
by hector2
12 Feb 2010 02:40
Forum: General VLC media player Troubleshooting
Topic: Duration of the OSD
Replies: 0
Views: 314

Duration of the OSD

Is there a preference to modify in order to have longer OSD on the screen ? I can't see it !
I want to display some OSD in a lua script and I would even like that the OSD stays on the screen as long as the user decides.

Thanks !
by hector2
06 Feb 2010 18:20
Forum: Scripting VLC in lua
Topic: [Beta] Script to display a subtitle's word definition in OSD
Replies: 16
Views: 11941

Re: script to display a subtitle's word definition in OSD

I found a libvlc method which should make what I want : libvlc_media_player_get_time . Its signature is : libvlc_time_t libvlc_media_player_get_time ( libvlc_media_player_t * , libvlc_exception_t * ) I saw in the Lua documentation that we could use var.libvlc_command to launch this method, but I do ...
by hector2
06 Feb 2010 00:53
Forum: Scripting VLC in lua
Topic: [Script] Download subtitles on-the-fly
Replies: 69
Views: 258737

Re: [Beta] Script to download subtitles on-the-fly, need VLC 1.1

Hello, I tried your extension. seems very kind ! :D It works fine for me... (linux ubuntu 9.04 + vlc 1.1 beta) just : i don't really understand the goal of the button "+". it would maybe be clearer if we knew that no subtitle was found (in fact i was wondering if it worked or not) that'is ...
by hector2
27 Jan 2010 01:10
Forum: VLC media player for Linux and friends Troubleshooting
Topic: problem with external subtitles & DVD
Replies: 3
Views: 988

problem with external subtitles & DVD

Same problem as here.
When I drag and drop a *.srt subtitle when reading a DVD, it does not appear : (in fact it appears after 1 hour 30 elapsed in the movie... strange...)
This subtitle perfectly works with a divx. The subtitle encoding is utf8 and i precised in the VLC preferences utf8.
Thanks !
by hector2
26 Jan 2010 14:59
Forum: Scripting VLC in lua
Topic: [Beta] Script to display a subtitle's word definition in OSD
Replies: 16
Views: 11941

[Beta] Script to display a subtitle's word definition in OSD

************************************* edit : new version (october 2010) : can read *.ling dictionary files. download : http://download.tuxfamily.org/polyglotte/scripts/traduction.lua http://polyglotte.tuxfamily.org/lib/exe/fetch.php?cache=cache&media=logiciels:polyglotte:chalumeau.png **********...

Go to advanced search