[vlc-devel] osd_text module issues

Olivier Aubert oaubert at bat710.univ-lyon1.fr
Fri May 16 17:24:06 CEST 2003


I am using the osd_text module to dynamically display annotations on a
video, and I am having timing issues. I want to display text annotations
between two timecodes (begin, end) relative to the start of the video. 
I thought it was enought to use

val = input_ClockGetTS (p_input, NULL, value_in_microseconds);

to get the correct value to feed to osd_text (in start-date and
end-date), but I always get incorrect values (either larger or lower
than the current time, mdate(), which osd_text uses to render the

What is the correct way to convert a time relative to the media to a VLC
time ?

Thanks for any hint.


This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list