Hi, thanks for suggestions the problem is cv2.VideoCapture is not working on android, i assume. I got this log (below) and it is revelant with cv2.VideoCapture. I thought if i got this error because I am using URL inside of cv2.VideoCapture, so i tried to play mp4 video but I got same error. Can you help me to fix it please ?
03-26 22:17:35.836 3497 3497 I AssistHolderContentView: forceFitSystemWindows pb = 0
03-26 22:17:35.886 3497 3497 I chatty : uid=1000(system) com.mi.android.globalminusscreen identical 3 lines
03-26 22:17:35.903 3497 3497 I AssistHolderContentView: forceFitSystemWindows pb = 0
03-26 22:17:35.912 780 892 D AAL : 03-26 10:17:35.846 BL=1975,ESS= 256, 03-26 10:17:35.862 BL=1973,ESS= 256, 03-26 10:17:35.879 BL=1971,ESS= 256, 03-26 10:17:35.895 BL=1969,ESS= 256, 03-26 10:17:35.912 BL=1967,ESS= 256,
03-26 22:17:35.919 3497 3497 I AssistHolderContentView: forceFitSystemWindows pb = 0
03-26 22:17:35.953 3497 3497 I chatty : uid=1000(system) com.mi.android.globalminusscreen identical 2 lines
03-26 22:17:35.970 3497 3497 I AssistHolderContentView: forceFitSystemWindows pb = 0
03-26 22:17:35.978 780 892 D AAL : 03-26 10:17:35.929 BL=1965,ESS= 256, 03-26 10:17:35.945 BL=1963,ESS= 256,
03-26 22:17:35.986 3497 3497 I AssistHolderContentView: forceFitSystemWindows pb = 0
03-26 22:17:36.103 3497 3497 I chatty : uid=1000(system) com.mi.android.globalminusscreen identical 7 lines
03-26 22:17:36.119 3497 3497 I AssistHolderContentView: forceFitSystemWindows pb = 0
03-26 22:17:36.121 507 17191 I hwcomposer: [HWCDisplay] [Display_0 (type:1)] fps:8.438753,dur:1066.51,max:329.85,min:15.62
03-26 22:17:36.122 566 566 I SurfaceFlinger: screenshot (org.abc.abc/org.kivy.android.PythonActivity#0)
03-26 22:17:36.122 566 566 I SurfaceFlinger: isIncludeStatusBarAndNavBar (1)
03-26 22:17:36.127 1533 1533 D NavBarTintController: onSampleCollected 0.0
03-26 22:17:36.136 3497 3497 I AssistHolderContentView: forceFitSystemWindows pb = 0
03-26 22:17:36.153 3497 3497 I AssistHolderContentView: forceFitSystemWindows pb = 0
03-26 22:17:36.162 7982 8028 I python : 1
03-26 22:17:36.163 7982 8028 E cv::error(): OpenCV(4.5.1) Error: Bad argument (CAP_IMAGES: can't find starting number (in the name of file):
http://192.168.1.23:81/stream) in icvExtractPattern, file /home/pc/KivyTestt/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/opencv/arm64-v8a__ndk_target_21/opencv/modules/videoio/src/cap_images.cpp, line 253
03-26 22:17:36.165 7982 8028 E OpenCV/4.5.1: [ERROR:0] global /home/pc/KivyTestt/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/opencv/arm64-v8a__ndk_target_21/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
03-26 22:17:36.165 7982 8028 E OpenCV/4.5.1:
03-26 22:17:36.165 7982 8028 E OpenCV/4.5.1: OpenCV(4.5.1) /home/pc/KivyTestt/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/opencv/arm64-v8a__ndk_target_21/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file):
http://192.168.1.23:81/stream in function 'icvExtractPattern'
03-26 22:17:36.165 7982 8028 E OpenCV/4.5.1:
03-26 22:17:36.165 7982 8028 E OpenCV/4.5.1:
03-26 22:17:36.165 7982 8028 E
NativeCodec: failed to stat file: http://192.168.1.23:81/stream (No such file or directory)03-26 22:17:36.166 7982 8028 I python : 2
03-26 22:17:36.170 3497 3497 I AssistHolderContentView: forceFitSystemWindows pb = 0
03-26 22:17:36.220 3497 3497 I chatty : uid=1000(system) com.mi.android.globalminusscreen identical 3 lines
03-26 22:17:36.236 3497 3497 I AssistHolderContentView: forceFitSystemWindows pb = 0
03-26 22:17:36.242 566 566 I SurfaceFlinger: screenshot (org.abc.abc/org.kivy.android.PythonActivity#0)
03-26 22:17:36.242 566 566 I SurfaceFlinger: isIncludeStatusBarAndNavBar (1)
03-26 22:17:36.245 1292 1453 E WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.927) failed {.code = ERROR_NOT_SUPPORTED, .description = }
03-26 22:17:36.246 1533 1533 D NavBarTintController: onSampleCollected 0.0
03-26 22:17:36.249 1292 1460 D SlaveWifiManager: getWifiSlaveConnectionInfo
03-26 22:17:36.249 1292 1452 D SlaveWifiService: Slave message handler : 155633
03-26 22:17:36.250 1292 1460 D SlaveWifiManager: getWifiSlaveConnectionInfo
03-26 22:17:36.250 1292 1452 D SlaveWifiService: Slave message handler : 155633
03-26 22:17:36.252 1533 1533 D SignalClusterView: updateMobileTypeImage 0
03-26 22:17:36.253 1533 1533 I chatty : uid=1000(system) com.android.systemui identical 1 line
03-26 22:17:36.253 1533 1533 D SignalClusterView: updateMobileTypeImage 0
27 Mart 2022 Pazar tarihinde saat 00:54:31 UTC+3 itibarıyla Robert şunları yazdı: