virtual kdu_long get_duration( )
Java: long Get_duration( )
[Declared in "../apps/compressed_io/kdu_video_io.h"]
If the video source provides no timing information, or the full extent of the video is not readily deduced a priori, this function may return 0. Otherwise, it returns the total duration of the video track, measured in the time scale (ticks per second) identified by the get_timescale function.