As mentioned in #108, the VideoManager provides set_duration but does not provide a corresponding get_duration method.
Currently, the get() method when passed CAP_PROP_FRAME_COUNT will retrieve the total # of frames for all videos opened. This may suit user's needs in the meantime until this issue is resolved.
Finally, when resolved, it is also expected that calling set_duration will affect the # of frames that get() returns (since the VideoManager acts like an iterable container of frames).
Related: get_num_frames(...) (documentation), pure function used internally to calculate total frame count for all videos.
As mentioned in #108, the VideoManager provides
set_durationbut does not provide a correspondingget_durationmethod.Currently, the get() method when passed
CAP_PROP_FRAME_COUNTwill retrieve the total # of frames for all videos opened. This may suit user's needs in the meantime until this issue is resolved.Finally, when resolved, it is also expected that calling
set_durationwill affect the # of frames thatget()returns (since the VideoManager acts like an iterable container of frames).Related:
get_num_frames(...)(documentation), pure function used internally to calculate total frame count for all videos.