-
Notifications
You must be signed in to change notification settings - Fork 1.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
opencv_videostab.IFrameSource needs opencv_videoio.VideoCapture #277
Comments
You could rebuild OpenCV with support for FFmpeg, but it doesn't usually work very well anyway. Anything wrong with FFmpegFrameGrabber? |
hey saudet - thanks for the reply and all the great work here. The videostab Stabilizers require an opencv_videostab.IFrameSource. The only one of these built-in - VideoFileSource - uses VideoCapture. FrameGrabber gets me the frames, but not in a way I can use with video_stab. I'm beginning to think my best approach may be to add and rebuild with a new IFrameSource which can be created from a list of existing frames. Does that seem like a reasonable approach? I can't see anyway the videostab module can be used out of the box without VideoCapture support. |
We can implement our own |
Thanks @saudet, that should open up this api for me. I had a problem compiling the latest snapshot including that change (), but could compile the 1.1 release without issue. I attempted to apply only the commit linked above and rebuild, when I ran into the following errors during the step "Compiling ..../libjniopencv_videostab.so":
Seems to be related to the above change, trying to figure out whats wrong see if I maybe need an additional commit since 1.1. |
Yes, there was a bug in JavaCPP. Be sure to get the latest changes for that module as well. |
The changes are in JavaCV 1.2. Thanks for reporting! |
Is this supported on the Android platform?
I'm trying to use VideoFileSource in opencv_videostab, but it is unable to open a file.
I've done some research and found some discussion that opencv may not have the backend required for this without FFmpeg. But I already have FFmpeg in my project. Is there any way to make this work?
The text was updated successfully, but these errors were encountered: