Using VLC subtitles autodetection functions in LUA

This forum is about all development around libVLC.
INSA
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Oct 2010 13:50

Using VLC subtitles autodetection functions in LUA

Postby INSA » 16 Mar 2011 00:59

Dear all,

After some unsuccessful researchs on many forums, I am forced to look for answers here.

I'm developing a LUA extension and I'd like to get the subtitles autodetected by VLC to put them in a combo list for example. So my question is: how can I use VLC functions that autodetect the subtitles files or is there any tips that can solve my problem?

Don't hesitate to ask for more details.
Thanks a lot!

Emilien

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Using VLC subtitles autodetection functions in LUA

Postby Jean-Baptiste Kempf » 16 Mar 2011 12:09

You mean make the difference between auto-detected subtitles and normal subtitles?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

INSA
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Oct 2010 13:50

Re: Using VLC subtitles autodetection functions in LUA

Postby INSA » 17 Mar 2011 14:21

I assume that VLC get a list of the potential subtitles (depending on the tolerance level), so I'd like to get this list via a lua extension. Is it currently possible or are there any tips to obtain the same result?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Using VLC subtitles autodetection functions in LUA

Postby Jean-Baptiste Kempf » 17 Mar 2011 16:33

I assume that VLC get a list of the potential subtitles (depending on the tolerance level), so I'd like to get this list via a lua extension. Is it currently possible or are there any tips to obtain the same result?
No, it isn't, since it is deep in the core.

And you haven't answered my question...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 20 guests