We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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? Sign in to your account
Jump to middle of a mkv video
loop forever with hight cpu usage
import cv2 vcap = cv2.VideoCapture(file_path) video_length = int(vcap.get(cv2.CAP_PROP_FRAME_COUNT)) - 1 vcap.set(cv2.CAP_PROP_POS_FRAMES, video_length // 2)
Ubunru 18.04 x64
python 3.8.2
Name: opencv-contrib-python-headless Version: 4.2.0.32 Summary: Wrapper package for OpenCV python bindings. Home-page: https://github.com/skvark/opencv-python Author: None Author-email: None License: MIT Location: /usr/local/lib/python3.8/dist-packages Requires: numpy Required-by:
video magnet info hash d6a0fcd196a17341a60bb30e121bf1f18499b58d
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behaviour
Jump to middle of a mkv video
Actual behaviour
loop forever with hight cpu usage
Steps to reproduce
Ubunru 18.04 x64
python 3.8.2
Name: opencv-contrib-python-headless
Version: 4.2.0.32
Summary: Wrapper package for OpenCV python bindings.
Home-page: https://github.com/skvark/opencv-python
Author: None
Author-email: None
License: MIT
Location: /usr/local/lib/python3.8/dist-packages
Requires: numpy
Required-by:
video magnet info hash d6a0fcd196a17341a60bb30e121bf1f18499b58d
The text was updated successfully, but these errors were encountered: