cv::VideoCapture::open(CV_CAP_ANDROID) on Samsung S5/Android 4.4.2 (Bug #4066)
Description
I am developing an image-processing program using JNI/NDK under Android. The application works fine on my Samsung Tablet (GT-N8010/4.1.2) and Samsung S2 (GT-I9100/4.1.2) but crashes on first call to OpenCV (VideoCapture::open(CV_CAP_ANDROID)) when running on a new Samsung S5 (SM-G900F/4.4.2.)
The code was originally built with OpenCV 2.4.5 so I updated to 2.4.10 but the same thing happened.
I am linking statically and have checked that all the latest libnative_camera_rn.n.n.so files are installed correctly.
I have also attempted to run the 'native_activity' sample (using the library manager). This also works on the S2 and Tablet but crashes on the S5.
I have attached a log file which I hope will be useful.
I look forward to your response.
History
Updated by Philip Sibthorp about 10 years ago
I seem not to have attached the log files - sorry.
- File Samsung_S5_4_4_2_NativeActivity_Sample_Log.txt added
- File Samsung_S5_4_4_2_MyApplication_Log.txt added
Updated by Vadim Pisarevsky almost 10 years ago
- Category set to android
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4884