-
-
Notifications
You must be signed in to change notification settings - Fork 55.6k
New issue
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
Open VideoCapture from memory buffer #25584
base: 4.x
Are you sure you want to change the base?
Conversation
FFmpeg test
2bd1a39
to
023eeb5
Compare
4dace6c
to
b71844d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plugin support is necessary - it is mandatory for FFmpeg support on Windows.
|
||
@param filename File name or NULL to use camera_index or buffer instead | ||
@param camera_index Camera index (used if filename == NULL and buffer == NULL) | ||
@param buffer Memory buffer pointer (used if filename == NULL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need to handle all 3 parameters for the source in a single method of API?
As we keep the previous version of the method, then we don't need to duplicate its functionality.
Pull Request Readiness Checklist
resolves #24400
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.