Hi, all,
[First, sorry if this is off-topic, it's a general VLC development question, not specifically linked to libVLC, but I have no idea where else to post it...]
I intend to use VLC as a player in a professional video environment and, like many, I need a way to display the actual timecode embedded in the video files instead of a zero-based frame counter.
I successfully expanded the marquee functionality so that it can be given an offset that gets added to the actual video counter upon display. By getting the start TC from the video file beforehand, I can then display it in conveniently as an overlay on the picture (code available if anyone is interested).
Now the problem is that I would like to include decimals (or number of frames), but it seems the counter is only updated once per second. I would like to improve its precision but I cannot find the code that sets its value.
The counter I'm talking about is the one used by the $T marquee as follows.
int64_t i_time = var_GetTime( p_input, "time" )
Any hint or pointer would be greatly appreciated.
Best regards,
Vicne