[vlc] Re: How get the total time of stream without playing it??

Sigmund Augdal sigmunau at stud.ntnu.no
Thu Jun 12 12:26:46 CEST 2003


There is no truly generic way to do this. Some streams vlc can play may even
last indeffinitly. The best thing for you is probably to have a look at the
input_OffsetToTime function.

Sigmund

On Thu, Jun 12, 2003 at 12:09:39PM +0200, Igor Andruszkiewicz wrote:
> Hi
> 
>   How can I get the total time of stream without playing it ?? (I can 
> do it by input_Tell() but stream should be open).  Has the VLC function
> like VLC_GetTotalTime(int i_object, const char * file) ???
> 
> Thanks for help:)
> 
> 
> Igor
> 
> -- 
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>
-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list