LibVLC: Get the length of any/all video tracks?

This forum is about all development around libVLC.
tpcarmen
New Cone
New Cone
Posts: 8
Joined: 07 Jan 2013 03:51

LibVLC: Get the length of any/all video tracks?

Postby tpcarmen » 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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: LibVLC: Get the length of any/all video tracks?

Postby Jean-Baptiste Kempf » 02 Jan 2015 17:03

You mean every title?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 18 guests