Page 1 of 1

libvlc 2.0.6 video duration

Posted: 30 Apr 2013 12:04
by ivanisimus
when I load video file file "libvlc_media_player_get_length" function and "libvlc_MediaDurationChanged" event works fine.
but when I load video from "http://" both methods ruturn 0 (video played norm)

can anyone tell me what is the best way to get video length for movies from http
thanks

Re: libvlc 2.0.6 video duration

Posted: 30 Apr 2013 16:38
by RĂ©mi Denis-Courmont
The availability and accuracy of the length depends on the file format and the web server. There is no magic way to fix it on the client side.