Try playing the video using the OpenCV library with kivy and python-for-android
Here is my attempt:
import os import cv2 from kivy.app import App from kivy.clock import Clock from kivy.graphics.texture import Texture from kivy.uix.boxlayout import BoxLayout from kivy.uix.button import Button from kivy.uix.image import Image class KivyCamera(Image): def __init__(self, capture=None, fps=0, **kwargs): super(KivyCamera, self).__init__(**kwargs)
and file bulldozer.spec
# (list) Source files to include (let empty to include all the files) source.include_exts = py,png,jpg,kv,atlas,zip,mp4
I am trying to play a video using the OpenCV method cv2.VideoCapture () on a program that runs on the desktop, but when I create an APK using bulldozer and run the application on an Android phone, I just get a white screen. I am trying to play .mp4 or .mkv format, but in both cases I get a white screen. What am I doing wrong or where is my mistake?

Here is my log file:
Related questions:
This question has no answer yet.
source share