libvlc 2.0.6 video duration

This forum is about all development around libVLC.
ivanisimus
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Apr 2013 11:22

libvlc 2.0.6 video duration

Postby ivanisimus » 30 Apr 2013 12:04

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libvlc 2.0.6 video duration

Postby Rémi Denis-Courmont » 30 Apr 2013 16:38

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests