[vlc-devel] Re: how subtitles work??

Mark Moriarty mfmbusiness at earthlink.net
Tue Nov 8 01:02:32 CET 2005


I'm not sure what you are trying to render, but if it is some basic text you
might want to look at using the marquee filter.  It lets you put up an
arbitrary text string wherever you want, with some basic controls for font
color, type, transparency, and can be changed on-the-fly though the rc
interface. 

-----Original Message-----
From: vlc-devel-bounce at videolan.org [mailto:vlc-devel-bounce at videolan.org]
On Behalf Of Vaclav Koldus
Sent: Monday, November 07, 2005 8:55 AM
To: vlc-devel at videolan.org
Subject: [vlc-devel] how subtitles work??

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

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