Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
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.
The text was updated successfully, but these errors were encountered:
This has actually been included in v0.5.1.1.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.