LibVLC: Get the length of any/all video tracks?
Posted: 16 Dec 2014 16:08
Does anybody know of a way to get the length of any/all the video tracks on a DVD?
libvlc_media_player_get_length(p_md) works nicely for the current track, but I'd like to be able to get the length of all the tracks without first playing each one.
Does anybody know of an API call where I can pass in a video track ID and get back it's length?
Thanks!
Terry
libvlc_media_player_get_length(p_md) works nicely for the current track, but I'd like to be able to get the length of all the tracks without first playing each one.
Does anybody know of an API call where I can pass in a video track ID and get back it's length?
Thanks!
Terry