I'm using vidl2 to develop a video player, and I need to know the length of a video (the total number of frames), because I want to use a slider to display the progress of the video. I looked for a method named "length" (and similar) inside the files "vidl2_istream.h" and "vidl2_ffmpeg_istream.h", but I couldn't find any. Is this feature available through vidl2? I was using vidl before, and the vidl_movie class has a method called "length" that does just what I want. And in vidl2?

Thank you!

Crístian Deives dos Santos Viana [aka CD1]
Google Talk: cristiandeives@gmail.com