ohh,I'm sorry. The copy-paste spent me a joke :( . I wanted to say libvlc_media_get_duration(), not get_time() Yes, libvlc_media_player_get_time() return -1 correctly before play but I think libvlc_media_get_duration() usually should return correct value after a call to libvlc_media_new (); is it po...