[vlc-devel] how subtitles work??
Vaclav Koldus
vaclav.koldus at avpark.cz
Mon Nov 7 14:55:25 CET 2005
Hi!
I'm writing module which renders some information on the screen and I
need to configure it differently for each played file. I suppose it
could be done similar way how subtitles are rendered. When file is
opened, subtitles are loaded and rendered.
What I don't know is how to open my configuration file with the avi file
(similar as opening .srt and loading titles, I need to open .xml and
load info). I haven't been able to find out how this works for
subtitles, nor if I can use this way too.
Another way, much more simple, would be to find out path and filename of
file which is being played in the code of video filter and simply open
and parse the file with the same name and different extension. Again I
don't know how to get fileame of now playing file.
Thanks for any advice.
Vaclav
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list